You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Ami Fischman (JIRA)" <ax...@ws.apache.org> on 2005/11/06 06:45:21 UTC
[jira] Commented: (AXIS-2158) Error attempting to use DIME in Axis client
[ http://issues.apache.org/jira/browse/AXIS-2158?page=comments#action_12356880 ]
Ami Fischman commented on AXIS-2158:
------------------------------------
I was seeing the same problem until I changed the wsdd on both client and server to use CommonsHTTPSender instead of HTTPSender. Once I did this (and added commons-httpclient-3.0-rc3.jar) everything seems fine. I modified the EchoAttachment sample to use a chunk size of 1024 bytes and files as big as 100M work fine. Is there a repro case that still sees this behavior with CommonsHTTPSender?
> Error attempting to use DIME in Axis client
> -------------------------------------------
>
> Key: AXIS-2158
> URL: http://issues.apache.org/jira/browse/AXIS-2158
> Project: Apache Axis
> Type: Bug
> Components: SAAJ
> Versions: 1.2.1
> Environment: Axis 1.2.1client running jdk1.4.2_05 and Tomcat 5.0 for server.
> Reporter: Brian Husted
>
> Sending more than eight DIME chunks from an Axis client to Axis server results in the following error:
> Caused by: java.io.IOException: End of physical stream detected when more DIME chunks expected.
> at org.apache.axis.attachments.DimeDelimitedInputStream._read(DimeDelimitedInputStream.java:268)
> at org.apache.axis.attachments.DimeDelimitedInputStream.read(DimeDelimitedInputStream.java:201)
> at org.apache.axis.attachments.DimeDelimitedInputStream.read(DimeDelimitedInputStream.java:445)
> at org.apache.axis.attachments.ManagedMemoryDataSource.<init>(ManagedMemoryDataSource.java:146)
> at org.apache.axis.attachments.MultiPartDimeInputStream.readTillFound(MultiPartDimeInputStream.java:163)
> ... 46 more
> at org.apache.axis.encoding.DeserializationContext.getObjectByRef(DeserializationContext.java:619)
> at org.apache.axis.encoding.ser.JAFDataHandlerDeserializer.startElement(JAFDataHandlerDeserializer.java:70)
> at org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1048)
> at org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:165)
> at org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:1141)
> at org.apache.axis.message.RPCElement.deserialize(RPCElement.java:236)
> at org.apache.axis.message.RPCElement.getParams(RPCElement.java:384)
> at org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:148)
> at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:323)
> ... 33 more
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira