axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ryan Dollard" <Ryan.Doll...@SigmaDynamics.com>
Subject DIME Attachement IOException using weblogic IIS Plug-in / OK without Plug-in
Date Thu, 20 Apr 2006 16:55:50 GMT
Hi,

 

I have a deployed axis servlet (1.2.1) running on a weblogic server
(8.1.5) which accepts a DIME attachment. The client sends the attachment
via axis rpc call.invoke() methods. If I send the attachment via a
weblogic IIS proxy plug-in URL, I get IOExceptions (shown below with IIS
plugin debug output). I'm able to send the attachement successfully,
however, if I bypass the proxy and use the host URL of the weblogic
server. The IIS plugin works for all other types of soap calls.

 

I've tried changing the wsdd http transport on the client and server to
use the axis CommonsHTTPSender without any luck, see:
<http://wiki.apache.org/ws/FrontPage/Axis/AttachmentProblems>. I've also
tried using commons-httpclient-3.0.jar without success. I've added
saaj.jar to the head the weblogic server CLASSPATH in order to avoid
confusion with weblogic's webservices.jar. 

I hope someone may have an idea what the problem is using the IIS proxy.
Thanks.

 

Setup:

------

Clustered Servers: Axis Servlet, WebLogic 8.1 SP5, jrocket jdk

Client: Axis 1.2.1

Proxy: WebLogic IIS Plug-in

 

IOException (truncated):

------------

AxisFault

faultCode:
{http://schemas.xmlsoap.org/soap/envelope/}Server.userException

faultSubcode:

faultString: java.lang.RuntimeException: java.io.IOException: End of
physical stream detected when 33924 more bytes expected.AxisFault

faultCode:
{http://schemas.xmlsoap.org/soap/envelope/}Server.userException

faultSubcode:

faultString: java.io.IOException: End of physical stream detected when
33924 more bytes expected.

faultActor:

faultNode:

faultDetail:

{http://xml.apache.org/axis/}stackTrace:java.io.IOException: End of
physical stream detected when 33924 more bytes expected.

at
org.apache.axis.attachments.DimeDelimitedInputStream._read([BII)I(DimeDe
limitedInputStream.java:273)

at
org.apache.axis.attachments.DimeDelimitedInputStream.read([BII)I(DimeDel
imitedInputStream.java:201)

at
org.apache.axis.attachments.DimeDelimitedInputStream.read([B)I(DimeDelim
itedInputStream.java:445)

at
org.apache.axis.attachments.ManagedMemoryDataSource.&amp;lt;init&amp;gt;
(Ljava/io/InputStream;ILjava/lang/String;Z)V(ManagedMemoryDataSource.jav
a:146)

at
org.apache.axis.attachments.MultiPartDimeInputStream.readTillFound([Ljav
a/lang/String;)Lorg/apache/axis/Part;(MultiPartDimeInputStream.java:163)

at
org.apache.axis.attachments.MultiPartDimeInputStream.readAll()V(MultiPar
tDimeInputStream.java:100)

at
org.apache.axis.attachments.MultiPartDimeInputStream.getAttachments()Lja
va/util/Collection;(MultiPartDimeInputStream.java:108)

at
org.apache.axis.attachments.AttachmentsImpl.mergeinAttachments()V(Attach
mentsImpl.java:156)

at
org.apache.axis.attachments.AttachmentsImpl.getAttachmentByReference(Lja
va/lang/String;)Lorg/apache/axis/Part;(AttachmentsImpl.java:315)

at
org.apache.axis.encoding.DeserializationContext.getObjectByRef(Ljava/lan
g/String;)Ljava/lang/Object;(DeserializationContext.java:617)

at
org.apache.axis.encoding.ser.JAFDataHandlerDeserializer.startElement(Lja
va/lang/String;Ljava/lang/String;Ljava/lang/String;Lorg/xml/sax/Attribut
es;Lorg/apache/axis/encoding/DeserializationContext;)V(JAFDataHandlerDes
erializer.java:70)

at
org.apache.axis.encoding.DeserializationContext.startElement(Ljava/lang/
String;Ljava/lang/String;Ljava/lang/String;Lorg/xml/sax/Attributes;)V(De
serializationContext.java:1048)

at
org.apache.axis.message.SAX2EventRecorder.replay(IILorg/xml/sax/ContentH
andler;)V(SAX2EventRecorder.java:165)

at
org.apache.axis.message.MessageElement.publishToHandler(Lorg/xml/sax/Con
tentHandler;)V(MessageElement.java:1141)

at
org.apache.axis.message.RPCElement.deserialize()V(RPCElement.java:236)

at
org.apache.axis.message.RPCElement.getParams()Ljava/util/Vector;(RPCElem
ent.java:384)

at
org.apache.axis.providers.java.RPCProvider.processMessage(Lorg/apache/ax
is/MessageContext;Lorg/apache/axis/message/SOAPEnvelope;Lorg/apache/axis
/message/SOAPEnvelope;Ljava/lang/Object;)V(RPCProvider.java:148)

at
org.apache.axis.providers.java.JavaProvider.invoke(Lorg/apache/axis/Mess
ageContext;)V(JavaProvider.java:323)

at
org.apache.axis.strategies.InvocationStrategy.visit(Lorg/apache/axis/Han
dler;Lorg/apache/axis/MessageContext;)V(InvocationStrategy.java:32)

at
org.apache.axis.SimpleChain.doVisiting(Lorg/apache/axis/MessageContext;L
org/apache/axis/HandlerIterationStrategy;)V(SimpleChain.java:118)

at
org.apache.axis.SimpleChain.invoke(Lorg/apache/axis/MessageContext;)V(Si
mpleChain.java:83)

at
org.apache.axis.handlers.soap.SOAPService.invoke(Lorg/apache/axis/Messag
eContext;)V(SOAPService.java:453)

at
org.apache.axis.server.AxisServer.invoke(Lorg/apache/axis/MessageContext
;)V(AxisServer.java:281)

at
org.apache.axis.transport.http.AxisServlet.doPost(Ljavax/servlet/http/Ht
tpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V(AxisServlet.
java:699)

at
com.sigmadynamics.services.SDServiceDeployerServlet.doPost(Ljavax/servle
t/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V(SDS
erviceDeployerServlet.java:95)

...

 

 

IIS Plugin Debug Output

-----------------------

================New Request: [/soap/services/WorkbenchServer.wlforward]
=================

Wed Apr 19 10:28:12 2006 SSL is not being used

Wed Apr 19 10:28:12 2006 resolveRequest: wlforward:
/soap/services/WorkbenchServer

Wed Apr 19 10:28:12 2006 URI is /soap/services/WorkbenchServer, len=30

Wed Apr 19 10:28:12 2006 Request URI = [/soap/services/WorkbenchServer]

Wed Apr 19 10:28:12 2006 found 'Transfer-Encoding: chunked' header

Wed Apr 19 10:28:12 2006 Going to save the post data in file

Wed Apr 19 10:28:12 2006 Temp Post File name =
[c:\TEMP\_wl_proxy\_post_4832_0]

Wed Apr 19 10:28:12 2006 sysMkdirs() on 'c:\TEMP\_wl_proxy':

Wed Apr 19 10:28:12 2006 sysMkdirs() on 'c:\TEMP\_wl_proxy' OK...

Wed Apr 19 10:28:12 2006 Going to readClient [0] bytes

Wed Apr 19 10:28:12 2006 ReadPostToFile(): Read the file completely
49152 bytes

Wed Apr 19 10:28:12 2006 attempt #0 out of a max of 10

Wed Apr 19 10:28:12 2006 Trying a pooled connection for
'10.111.222.76/7002/0'

Wed Apr 19 10:28:12 2006 getPooledConn: No more connections in the pool
for Host[10.111.222.76] Port[7002] SecurePort[0]

Wed Apr 19 10:28:12 2006 general list: trying connect to
'10.111.222.76'/7002/0 at line 1265 for '/soap/services/WorkbenchServer'

Wed Apr 19 10:28:12 2006 INFO: New NON-SSL URL

Wed Apr 19 10:28:12 2006 Connect returns -1, and error no set to 10035,
msg 'Unknown error'

Wed Apr 19 10:28:12 2006 EINPROGRESS in connect() - selecting

Wed Apr 19 10:28:12 2006 Local Port of the socket is 3848

Wed Apr 19 10:28:12 2006 Remote Host 10.111.222.76 Remote Port 7002

Wed Apr 19 10:28:12 2006 general list: created a new connection to
'10.111.222.76'/7002 for '/soap/services/WorkbenchServer', Local port:
3848

Wed Apr 19 10:28:12 2006 WLS info in sendRequest:  10.111.222.76:7002
recycled? 0

Wed Apr 19 10:28:12 2006 URL::parseHeaders: StatusLine set to [500
Internal Server Error]

Wed Apr 19 10:28:12 2006 parsed all headers OK

Wed Apr 19 10:28:12 2006 sendResponse() : uref->getStatus() = '500'

Wed Apr 19 10:28:12 2006 Going to send headers to the client. Status
:500 Internal Server Error

Wed Apr 19 10:28:12 2006 Content Length Unknown

Wed Apr 19 10:28:12 2006 canRecycle: conn=1 status=500 isKA=0 clen=-1
isCTE=1

Wed Apr 19 10:28:12 2006 closeConn: URL.canRecycle() returns false,
deleting URL '10.111.222.76/7002'

Wed Apr 19 10:28:12 2006 request [/soap/services/WorkbenchServer]
processed successfully ..................

 

 

 

 

 


Mime
View raw message