Hi,

sorry if this issue has been discussed before. 

I am using Axis 1.1 running under JBoss 3.2 to develop a webservice
which accepts a SOAP attachment as parameter. The underlying webservice
is in fact a session bean, and the java parameter holding the attachment
is a standard javax.activation.DataHandler object.

I have a very weird behavior when I run a test calling this webservice.
It seems that the socket connection is reset by some Axis object when I
try to write the DataHandler object to an in-memory buffer.
The result is a brutal shutdown of my JBoss server (!) and a failure on
my test client (that I would have expect) since a get an AxisFault from
my service call.

I must say I have a strong suspicion that the actual problem is an Axis
class (org.apache.axis.attachments.ManagedMemoryDataSource$Instream)
which somehow causes the socket connection to reset.
Unfortunately, I haven't been able to debug it efficiently because the
line numbers in the Axis source code and the binary doesn't match.
Anyway, I have attached some logs from the server and from the unittest.

So my question is : Does anyone has encouter such situation already ?
And if so, what is the tricky work-around ?

I must say that I have successfuly built and tested other webservices
with attachments, so this is more than surprising to me.

I will appreciate any help.


Thanks,

Gregory

Attachment: server.log
Description: Binary data

Attachment: unittest.log
Description: Binary data

begin:vcard
n:CHAZALON;Gregory
fn:Gregory CHAZALON
tel;work:(+33) 1 61 44 88 05
org:Steria;SEP
adr:;;46, rue Camille Desmoulins;Issy Les Moulineaux;;92130;France
version:2.1
email;internet:[EMAIL PROTECTED]
end:vcard

Reply via email to