I am invoking an Axis1 service from within another (separate machine) Axis2 
service.

The Axis1 service is returning documents as attachments using swa.

It all goes basically fine up to a point when the client (Axis2 service calling through Axis1-generated stubs) hangs.

The Axis1 server logs indicate it completed the call. Tcpmon seems to indicate that the response is coming across. (Tcpmon tends to blow up though, dealing with the attachments - even giving it 1G of memory, so I don't run through it typically.)

From jconsole, the client thread seems to be blocked in socketWrite0 (native code.) Below is the jconsole stack trace.

Several calls to the service complete before the client hangs.

I have occasionally seen the client hang briefly on earlier calls, but it always hangs up on the 7th call. Possibly of note is that the returned attachment for that 7th call is 855448 bytes, considerably larger than the previous ones.

Any ideas?


Thanks,
Linus


The server is running Axis 1.2.1 in Tomcat 5.5.23 on Solaris 5.9.
The client is running in Axis2 1.3 in Tomcat 5.5.25 on MacOSX 10.5

The thread stack dump looks like:

Name: Thread-41
State: RUNNABLE
Total blocked: 1  Total waited: 6

Stack trace:
java.net.SocketOutputStream.socketWrite0(Native Method)
java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
java.net.SocketOutputStream.write(SocketOutputStream.java:136)
java.io.BufferedOutputStream.write(BufferedOutputStream.java:105)
org.apache.axis.utils.TeeOutputStream.write(TeeOutputStream.java:47)
javax.activation.DataHandler.writeTo(DataHandler.java:308)
javax.mail.internet.MimeBodyPart.writeTo(MimeBodyPart.java:1350)
javax.mail.internet.MimeBodyPart.writeTo(MimeBodyPart.java:845)
javax.mail.internet.MimeMultipart.writeTo(MimeMultipart.java:361)
com.sun.mail.handlers.multipart_mixed.writeTo(multipart_mixed.java:85)
javax.activation.ObjectDataContentHandler.writeTo(DataHandler.java:883)
javax.activation.DataHandler.writeTo(DataHandler.java:316)
javax.mail.internet.MimeBodyPart.writeTo(MimeBodyPart.java:1350)
javax.mail.internet.MimeMessage.writeTo(MimeMessage.java:1683)
org.apache.axis.attachments.MimeUtils.writeToMultiPartStream(MimeUtils.java:202)
org.apache.axis.attachments.AttachmentsImpl.writeContentToStream(AttachmentsImpl.java:461)
org.apache.axis.Message.writeTo(Message.java:534)
org.apache.axis.transport.http.HTTPSender.writeToSocket(HTTPSender.java:511)
org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:138)
org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
org.apache.axis.client.Call.invokeEngine(Call.java:2765)
org.apache.axis.client.Call.invoke(Call.java:2748)
org.apache.axis.client.Call.invoke(Call.java:2424)
org.apache.axis.client.Call.invoke(Call.java:2347)
org.apache.axis.client.Call.invoke(Call.java:1804)
edu.iris.dmc.spade.query.SPADE_QueryServiceSoapBindingStub.getProduct(SPADE_QueryServiceSoapBindingStub.java:775)
edu.iris.ws.esdp.impl.SPADEBridge.packageItem(SPADEBridge.java:446)
edu.iris.ws.esdp.impl.SPADEBridge.packageItem(SPADEBridge.java:438)
edu.iris.ws.esdp.impl.DataProductServer.packageItem(DataProductServer.java:48)
edu.iris.ws.esdp.impl.DownloadPackager.run(DownloadPackager.java:134)
java.lang.Thread.run(Thread.java:613)


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to