Return-Path: Delivered-To: apmail-ws-axis-user-archive@www.apache.org Received: (qmail 85681 invoked from network); 16 Dec 2009 10:48:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 16 Dec 2009 10:48:17 -0000 Received: (qmail 46918 invoked by uid 500); 16 Dec 2009 10:48:14 -0000 Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 46824 invoked by uid 500); 16 Dec 2009 10:48:14 -0000 Mailing-List: contact axis-user-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-user@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-user@ws.apache.org Received: (qmail 46815 invoked by uid 99); 16 Dec 2009 10:48:14 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Dec 2009 10:48:14 +0000 X-ASF-Spam-Status: No, hits=-1.2 required=5.0 tests=BAYES_00,HTML_MESSAGE,MIME_QP_LONG_LINE X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [87.248.110.140] (HELO n23.bullet.mail.ukl.yahoo.com) (87.248.110.140) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 16 Dec 2009 10:48:12 +0000 Received: from [217.12.4.215] by n23.bullet.mail.ukl.yahoo.com with NNFMP; 16 Dec 2009 10:47:50 -0000 Received: from [87.248.110.200] by t2.bullet.ukl.yahoo.com with NNFMP; 16 Dec 2009 10:47:50 -0000 Received: from [127.0.0.1] by omp230.mail.ukl.yahoo.com with NNFMP; 16 Dec 2009 10:47:50 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 257753.44195.bm@omp230.mail.ukl.yahoo.com Received: (qmail 12394 invoked by uid 60001); 16 Dec 2009 10:47:50 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.it; s=s1024; t=1260960470; bh=2Mq76plLe2M8TTDAf5Z07fE+Jxx3yMMvc0qpi6ofdJA=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=Ddnkmo0ojbWuOw9ul74TJLIX7ATMHEgP78JCGfNJUNVnExK7W4fq3JoKWpxpJA0ndCX+W7x3XaCbxMPCTqBseqMq/vC9SG/xvdOd9+/ucx0+bxtBkX8KyAvPqIzMIrOREptu9N2l1ga7BW2BPtELrToC2lhgiNGuvpSnRbhASzk= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.it; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=iSc++zvfYTzv9m7ex/VJrGwTn0WySZ8QvPz+4FLzsFofqiQl/hDxqpudzDXVXlWf1R1bYeBYbWg0JD/HxExfy79MvsQnYZaKTeNKqWLbQ03Y+oHnYhbIZK5KFms2AsPT/35/oQ/H5u2FkNuFLRjr+hK48wtq5CL8NR9/NIqWnl8=; Message-ID: <4967.12356.qm@web24910.mail.ird.yahoo.com> X-YMail-OSG: t7cWcncVM1nc9kRqEcildn5Ic2SWOTtZ9tXiELo4AxcS.UuUOR1D4GNlZgAzyOF6yLNJ0WexkVdBQQqP.G3p.051icI.tcjeflI7Awxj72Ooa_rNF2DLyTr_nUeY14GZ_d2LzXkaFQ6LgJYnd3LtLuymXP7b4phfXs4hNhSWcDC9yvwsr2aBC7eSO57F3ljpVVJhB3rJJ31zX17qhEvEzvW63ifI3bKwhVbiazw91_bLIsNtZcX75cA0Fim96y2tJ0xLfMxWde9nPTRlJB3IvO3TFE2IGfOqCavOrIjzx_ytZ4axyctiwydnYyS1UreOniOF Received: from [88.54.108.46] by web24910.mail.ird.yahoo.com via HTTP; Wed, 16 Dec 2009 02:47:49 PST X-Mailer: YahooMailClassic/9.0.19 YahooMailWebService/0.8.100.260964 Date: Wed, 16 Dec 2009 02:47:49 -0800 (PST) From: indrit Lavoro Subject: [Axis 1.4] Probable classloading problem? To: axis-user@ws.apache.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-244861633-1260960469=:12356" --0-244861633-1260960469=:12356 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Environment: Java 1.5 Axis 1.4 based client generated via WSDL2Java Websphere Application Server 6.1 I have the following "strange" problem, some times (too often) on a server = restart all calls to the web service fail with the stack trace reported in = the bottom of this e-mail. Currently, I need to restart n-times my server until the problem is resolve= d, for this reason I started to think that it was related with potential cl= ass loading problem but I have already checked all dependencies and everyth= ing seems right at this moment.=20 Apparently the problem is related to the xml parsing but I have already che= cked that the xml returned by the server is correctly formatted.=20 Any of you has a similar problem? Advices? Thank you very much in advance. Indrit [12/15/09 18:07:33:389 CET] 00000030 =0ASystemOut=A0=A0=A0=A0 O WARN=A0 Att= achmentsImpl - Exception:=0AAxisFault=0A=A0faultCode: =0A{http://schemas.xm= lsoap.org/soap/envelope/}Server.userException=0A=A0faultSubcode: =0A=A0faul= tString: =0Ajava.lang.NullPointerException=0A=A0faultActor: =0A=A0faultNode= : =0A=A0faultDetail: =0A=A0=A0=A0=A0=A0=A0=A0 =0A{http://xml.apache.org/axi= s/}stackTrace:java.lang.NullPointerException=0A=A0=A0=A0=A0=A0=A0=A0 at =0A= org.apache.axis.encoding.SerializationContext.startElement(SerializationCon= text.java:1150)=0A=A0=A0=A0=A0=A0=A0=A0 at =0Aorg.apache.axis.encoding.ser.= BeanSerializer.serialize(BeanSerializer.java:121)=0A=A0=A0=A0=A0=A0=A0=A0 a= t =0Aorg.apache.axis.encoding.SerializationContext.serializeActual(Serializ= ationContext.java:1504)=0A=A0=A0=A0=A0=A0=A0=A0 at =0Aorg.apache.axis.encod= ing.SerializationContext.serialize(SerializationContext.java:980)=0A=A0=A0= =A0=A0=A0=A0=A0 at =0Aorg.apache.axis.encoding.SerializationContext.seriali= ze(SerializationContext.java:680)=0A=A0=A0=A0=A0=A0=A0=A0 at =0Aorg.apache.= axis.message.MessageElement.outputImpl(MessageElement.java:1247)=0A=A0=A0= =A0=A0=A0=A0=A0 at =0Aorg.apache.axis.message.SOAPHeaderElement.outputImpl(= SOAPHeaderElement.java:250)=0A=A0=A0=A0=A0=A0=A0=A0 at =0Aorg.apache.axis.m= essage.MessageElement.output(MessageElement.java:1208)=0A=A0=A0=A0=A0=A0=A0= =A0 at =0Aorg.apache.axis.message.SOAPHeader.outputImpl(SOAPHeader.java:328= )=0A=A0=A0=A0=A0=A0=A0=A0 at =0Aorg.apache.axis.message.SOAPEnvelope.output= Impl(SOAPEnvelope.java:476)=0A=A0=A0=A0=A0=A0=A0=A0 at =0Aorg.apache.axis.m= essage.MessageElement.output(MessageElement.java:1208)=0A=A0=A0=A0=A0=A0=A0= =A0 at =0Aorg.apache.axis.SOAPPart.writeTo(SOAPPart.java:315)=0A=A0=A0=A0= =A0=A0=A0=A0 at =0Aorg.apache.axis.SOAPPart.writeTo(SOAPPart.java:269)=0A= =A0=A0=A0=A0=A0=A0=A0 at =0Aorg.apache.axis.SOAPPart.saveChanges(SOAPPart.j= ava:530)=0A=A0=A0=A0=A0=A0=A0=A0 at =0Aorg.apache.axis.attachments.Attachme= ntsImpl.getAttachmentCount(AttachmentsImpl.java:554)=0A=A0=A0=A0=A0=A0=A0= =A0 at =0Aorg.apache.axis.Message.getContentType(Message.java:486)=0A=A0=A0= =A0=A0=A0=A0=A0 at =0Aorg.apache.axis.transport.http.CommonsHTTPSender.addC= ontextInfo(CommonsHTTPSender.java:502)=0A=A0=A0=A0=A0=A0=A0=A0 at =0Aorg.ap= ache.axis.transport.http.CommonsHTTPSender.invoke(CommonsHTTPSender.java:15= 9)=0A=A0=A0=A0=A0=A0=A0=A0 at =0Aorg.apache.axis.strategies.InvocationStrat= egy.visit(InvocationStrategy.java:32)=0A=A0=A0=A0=A0=A0=A0=A0 at =0Aorg.apa= che.axis.SimpleChain.doVisiting(SimpleChain.java:118)=0A=A0=A0=A0=A0=A0=A0= =A0 at =0Aorg.apache.axis.SimpleChain.invoke(SimpleChain.java:83)=0A=A0=A0= =A0=A0=A0=A0=A0 at =0Aorg.apache.axis.client.AxisClient.invoke(AxisClient.j= ava:165)=0A=A0=A0=A0=A0=A0=A0=A0 at =0Aorg.apache.axis.client.Call.invokeEn= gine(Call.java:2784)=0A=A0=A0=A0=A0=A0=A0=A0 at =0Aorg.apache.axis.client.C= all.invoke(Call.java:2767)=0A=A0=A0=A0=A0=A0=A0=A0 at =0Aorg.apache.axis.cl= ient.Call.invoke(Call.java:2443)=0A=A0=A0=A0=A0=A0=A0=A0 at =0Aorg.apache.a= xis.client.Call.invoke(Call.java:2366)=0A=A0=A0=A0=A0=A0=A0=A0 at =0Aorg.ap= ache.axis.client.Call.invoke(Call.java:1812) ..... java.lang.NullPointerException=0A=A0=A0=A0=A0=A0=A0=A0 at =0Aorg.apache.axi= s.AxisFault.makeFault(AxisFault.java:101)=0A=A0=A0=A0=A0=A0=A0=A0 at =0Aorg= ..apache.axis.SOAPPart.writeTo(SOAPPart.java:317)=0A=A0=A0=A0=A0=A0=A0=A0 at= =0Aorg.apache.axis.SOAPPart.writeTo(SOAPPart.java:269)=0A=A0=A0=A0=A0=A0= =A0=A0 at =0Aorg.apache.axis.SOAPPart.saveChanges(SOAPPart.java:530)=0A=A0= =A0=A0=A0=A0=A0=A0 at =0Aorg.apache.axis.attachments.AttachmentsImpl.getAtt= achmentCount(AttachmentsImpl.java:554)=0A=A0=A0=A0=A0=A0=A0=A0 at =0Aorg.ap= ache.axis.Message.getContentType(Message.java:486)=0A=A0=A0=A0=A0=A0=A0=A0 = at =0Aorg.apache.axis.transport.http.CommonsHTTPSender.addContextInfo(Commo= nsHTTPSender.java:502)=0A=A0=A0=A0=A0=A0=A0=A0 at =0Aorg.apache.axis.transp= ort.http.CommonsHTTPSender.invoke(CommonsHTTPSender.java:159)=0A=A0=A0=A0= =A0=A0=A0=A0 at =0Aorg.apache.axis.strategies.InvocationStrategy.visit(Invo= cationStrategy.java:32)=0A=A0=A0=A0=A0=A0=A0=A0 at =0Aorg.apache.axis.Simpl= eChain.doVisiting(SimpleChain.java:118)=0A=A0=A0=A0=A0=A0=A0=A0 at =0Aorg.a= pache.axis.SimpleChain.invoke(SimpleChain.java:83)=0A=A0=A0=A0=A0=A0=A0=A0 = at =0Aorg.apache.axis.client.AxisClient.invoke(AxisClient.java:165) =0A=0A=0A --0-244861633-1260960469=:12356 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable
Environment:
Java 1.5
Axis 1.4 based cl= ient generated via WSDL2Java
Websphere Application Server 6.1

I have the following "strange" problem, some times (too often) on a server= restart all calls to the web service fail with the stack trace reported in= the bottom of this e-mail.
Currently, I need to restart n-times my serv= er until the problem is resolved, for this reason I started to think that i= t was related with potential class loading problem but I have already check= ed all dependencies and everything seems right at this moment.
Apparent= ly the problem is related to the xml parsing but I have already checked tha= t the xml returned by the server is correctly formatted.

Any of you= has a similar problem? Advices?

Thank you very much in advance.
=
Indrit

[12/15/09 18:07:33:389 CET] 00000030 =0ASystemOut     O WARN&nbs= p; AttachmentsImpl - Exception:

=0A

AxisFault

=0A

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

=0A

 faultSubcode:

=0A=

 faultString: =0Ajava.lang= ..NullPointerException

=0A

 faultActor:

=0A

 faultNode:

=0A

 faultDetail: =

=0A

    =     =0A{http://xml.apache.org/axis/}stackTrace:java.lang.Nul= lPointerException

=0A

        at =0Aorg.apache.axis= ..encoding.SerializationContext.startElement(SerializationContext.java:1150)=

=0A

 =        at =0Aorg.apache.axis.encoding.ser.Bea= nSerializer.serialize(BeanSerializer.java:121)

=0A

      = ;  at =0Aorg.apache.axis.encoding.SerializationContext.serializeActual= (SerializationContext.java:1504)

=0A

        at =0A= org.apache.axis.encoding.SerializationContext.serialize(SerializationContex= t.java:980)

=0A

        at =0Aorg.apache.axis.encod= ing.SerializationContext.serialize(SerializationContext.java:680)

=0A

  &nbs= p;     at =0Aorg.apache.axis.message.MessageElement.out= putImpl(MessageElement.java:1247)

=0A

        at = =0Aorg.apache.axis.message.SOAPHeaderElement.outputImpl(SOAPHeaderElement.j= ava:250)

=0A

        at =0Aorg.apache.axis.message.= MessageElement.output(MessageElement.java:1208)

=0A

     &nbs= p;  at =0Aorg.apache.axis.message.SOAPHeader.outputImpl(SOAPHeader.jav= a:328)

=0A

=         at =0Aorg.apache.axis.message.SO= APEnvelope.outputImpl(SOAPEnvelope.java:476)

=0A

      &= nbsp; at =0Aorg.apache.axis.message.MessageElement.output(MessageElement.ja= va:1208)

=0A

        at =0Aorg.apache.axis.SOAPPart= ..writeTo(SOAPPart.java:315)

=0A

=         at =0Aorg.a= pache.axis.SOAPPart.writeTo(SOAPPart.java:269)

=0A

      = ;  at =0Aorg.apache.axis.SOAPPart.saveChanges(SOAPPart.java:530)<= /o:p>

=0A

  =       at =0Aorg.apache.axis.attachments.Attachment= sImpl.getAttachmentCount(AttachmentsImpl.java:554)

=0A=

     &= nbsp;  at =0Aorg.apache.axis.Message.getContentType(Message.java:486)<= o:p>

=0A

 &= nbsp;      at =0Aorg.apache.axis.transport.http.Co= mmonsHTTPSender.addContextInfo(CommonsHTTPSender.java:502)

=0A

    = ;    at =0Aorg.apache.axis.transport.http.CommonsHTTPSender.= invoke(CommonsHTTPSender.java:159)

=0A

        at = =0Aorg.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.j= ava:32)

=0A

        at =0Aorg.apache.axis.SimpleCha= in.doVisiting(SimpleChain.java:118)

=0A

        at = =0Aorg.apache.axis.SimpleChain.invoke(SimpleChain.java:83)

=0A

    = ;    at =0Aorg.apache.axis.client.AxisClient.invoke(AxisClie= nt.java:165)

=0A

        at =0Aorg.apache.axis.clie= nt.Call.invokeEngine(Call.java:2784)

=0A

        at= =0Aorg.apache.axis.client.Call.invoke(Call.java:2767)=0A

    &nb= sp;   at =0Aorg.apache.axis.client.Call.invoke(Call.java:2443)

=0A

 &nb= sp;      at =0Aorg.apache.axis.client.Call.invoke(= Call.java:2366)

=0A

        at =0Aorg.apache.axis= ..client.Call.invoke(Call.java:1812)


....


=

java.lang.NullPointerExcept= ion

=0A

&nb= sp;       at =0Aorg.apache.axis.AxisFault.mak= eFault(AxisFault.java:101)

=0A

<= span lang=3D"EN-US">        at =0Aorg.ap= ache.axis.SOAPPart.writeTo(SOAPPart.java:317)

=0A

      =   at =0Aorg.apache.axis.SOAPPart.writeTo(SOAPPart.java:269)=

=0A

   = ;     at =0Aorg.apache.axis.SOAPPart.saveChanges(SOAPPa= rt.java:530)

=0A

        at =0Aorg.apache.axis.atta= chments.AttachmentsImpl.getAttachmentCount(AttachmentsImpl.java:554)

=0A

  &= nbsp;     at =0Aorg.apache.axis.Message.getContentType(= Message.java:486)

=0A

        at =0Aorg.apache.axis= ..transport.http.CommonsHTTPSender.addContextInfo(CommonsHTTPSender.java:502= )

=0A

 = ;       at =0Aorg.apache.axis.transport.http.= CommonsHTTPSender.invoke(CommonsHTTPSender.java:159)

= =0A

    &nbs= p;   at =0Aorg.apache.axis.strategies.InvocationStrategy.visit(In= vocationStrategy.java:32)

=0A

        at =0Aorg.apa= che.axis.SimpleChain.doVisiting(SimpleChain.java:118)

= =0A

    &nbs= p;   at =0Aorg.apache.axis.SimpleChain.invoke(SimpleChain.java:83= )

=0A

 = ;       at =0Aorg.apache.axis.client.AxisClie= nt.invoke(AxisClient.java:165)

=



= =0A=0A=0A=0A --0-244861633-1260960469=:12356--