Your axis2.xml  looks fine, what I was referring to is the default axis2.xml
shipped with the synapse distribution, you could try that.

Ruwan

On Sat, Aug 28, 2010 at 4:07 AM, Abid Khan-EXT <[email protected]>wrote:

> Hello Ruwan,
>
> Could you please send me your axis2.xml, I would like to compare that with
> mine.
>
> Thanks & Regards,
> Abid
>
> -----Original Message-----
> From: Ruwan Linton [mailto:[email protected]]
> Sent: Thursday, August 26, 2010 10:54 PM
> To: [email protected]
> Subject: Re: NullPointerException occurs when synapse is deployed on JBOSS
>
> This should be fixed on the trunk, I cannot re-produce this, can you please
> check on the latest trunk to see whether this is fixed.
>
> Ruwan
>
> On Thu, Aug 26, 2010 at 11:02 PM, Abid Khan-EXT <[email protected]
> >wrote:
>
> > Amy update on this please?
> >
> > Thanks & Regards,
> > Abid
> >
> > -----Original Message-----
> > From: Abid Khan-EXT
> > Sent: Monday, August 23, 2010 9:21 AM
> > To: [email protected]
> > Subject: RE: NullPointerException occurs when synapse is deployed on
> JBOSS
> >
> > This error is very much reproducible, I am getting this exception 100%
> > times I am executing it.
> >
> > The way to reproduce it is,
> >
> >        1) create a dummy servlet that echo-back whatever you send it.
> >        2) Deploy this servlet to any container say tomcat.
> >        3) Deploy synapse with proxy created as I have created in the
> > synapse.xml (attached earlier), in an instance of JBoss.
> >        4) In the proxy created in step (3) use the endpoint created in
> > steps (1) and (2).
> >        5) send some XML document to jboss instance using the URL that
> send
> > message to the proxy.
> >
> > The above 5 steps produce that exception every time, and the big problem
> is
> > that most of the time response is not delivered back the sender.
> >
> > Thanks & Regards,
> > Abid
> >
> > -----Original Message-----
> > From: Ruwan Linton [mailto:[email protected]]
> > Sent: Saturday, August 21, 2010 7:58 AM
> > To: [email protected]
> > Subject: Re: NullPointerException occurs when synapse is deployed on
> JBOSS
> >
> > Hi Abid,
> >
> > This is strange, it just has the non blocking http transport. I wonder
> how
> > you get this exception in that case. Is this error re-producible, if so
> > please give us the steps so that we can try to re-produce this and fix
> it.
> >
> > Thanks,
> > Ruwan
> >
> > On Fri, Aug 20, 2010 at 8:20 PM, Abid Khan-EXT <[email protected]
> > >wrote:
> >
> > > I think I am using blocking transports, I am using synapse 1.2, please
> > see
> > > attached files, and suggest/recommend changes.
> > >
> > > Thanks & Regards,
> > > Abid
> > >
> > > -----Original Message-----
> > > From: Ruwan Linton [mailto:[email protected]]
> > > Sent: Thursday, August 19, 2010 10:41 PM
> > > To: [email protected]
> > > Subject: Re: NullPointerException occurs when synapse is deployed on
> > JBOSS
> > >
> > > The problem here is that you are using both the servlet and non
> blocking
> > > http transports, in your axis2.xml, and a response for a message
> received
> > > from the nhttp transport has been directed to the servlet transport.
> > >
> > > If you do not have the servlet transport in the axis2.xml, please
> attach
> > > both the axis2.xml and the synapse.xml files. I am assuming that you
> are
> > > using the synapse 1.2, right?
> > >
> > > Thanks,
> > > Ruwan
> > >
> > > On Fri, Aug 20, 2010 at 6:27 AM, Abid Khan-EXT <[email protected]
> > > >wrote:
> > >
> > > > Hello all,
> > > >
> > > > I am seeing this exception very frequently and was wondering if it
> has
> > > been
> > > > fixed. This exception occurs every time, the problem is that some
> time
> > > the
> > > > response is not ever received.
> > > >
> > > > 00:41:58,000 ERROR [STDERR] java.lang.NullPointerException
> > > > 00:41:58,001 ERROR [STDERR]     at
> > > >
> > >
> >
> org.apache.coyote.http11.InternalOutputBuffer.realWriteBytes(InternalOutputBuffer.java:724)
> > > > 00:41:58,001 ERROR [STDERR]     at
> > > > org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:449)
> > > > 00:41:58,001 ERROR [STDERR]     at
> > > >
> > >
> >
> org.apache.coyote.http11.InternalOutputBuffer.flush(InternalOutputBuffer.java:299)
> > > > 00:41:58,001 ERROR [STDERR]     at
> > > >
> > org.apache.coyote.http11.Http11Processor.action(Http11Processor.java:950)
> > > > 00:41:58,001 ERROR [STDERR]     at
> > > > org.apache.coyote.Response.action(Response.java:186)
> > > > 00:41:58,001 ERROR [STDERR]     at
> > > >
> > org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:343)
> > > > 00:41:58,001 ERROR [STDERR]     at
> > > >
> org.apache.catalina.connector.OutputBuffer.flush(OutputBuffer.java:314)
> > > > 00:41:58,001 ERROR [STDERR]     at
> > > >
> > >
> >
> org.apache.catalina.connector.CoyoteOutputStream.flush(CoyoteOutputStream.java:98)
> > > > 00:41:58,001 ERROR [STDERR]     at
> > > > java.io.BufferedOutputStream.flush(BufferedOutputStream.java:124)
> > > > 00:41:58,001 ERROR [STDERR]     at
> > > > com.ctc.wstx.io.UTF8Writer.flush(UTF8Writer.java:99)
> > > > 00:41:58,002 ERROR [STDERR]     at
> > > > com.ctc.wstx.sw.BufferingXmlWriter.flush(BufferingXmlWriter.java:214)
> > > > 00:41:58,002 ERROR [STDERR]     at
> > > > com.ctc.wstx.sw.BaseStreamWriter.flush(BaseStreamWriter.java:311)
> > > > 00:41:58,002 ERROR [STDERR]     at
> > > >
> > >
> >
> org.apache.axiom.om.impl.MTOMXMLStreamWriter.flush(MTOMXMLStreamWriter.java:146)
> > > > 00:41:58,002 ERROR [STDERR]     at
> > > >
> > >
> >
> org.apache.axiom.om.impl.llom.OMNodeImpl.serializeAndConsume(OMNodeImpl.java:472)
> > > > 00:41:58,002 ERROR [STDERR]     at
> > > >
> > >
> >
> org.apache.axis2.transport.http.ApplicationXMLFormatter.writeTo(ApplicationXMLFormatter.java:143)
> > > > 00:41:58,002 ERROR [STDERR]     at
> > > >
> > >
> >
> org.apache.synapse.transport.nhttp.HttpCoreNIOSender.sendUsingOutputStream(HttpCoreNIOSender.java:449)
> > > > 00:41:58,002 ERROR [STDERR]     at
> > > >
> > >
> >
> org.apache.synapse.transport.nhttp.HttpCoreNIOSender.invoke(HttpCoreNIOSender.java:266)
> > > > 00:41:58,002 ERROR [STDERR]     at
> > > > org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:448)
> > > > 00:41:58,002 ERROR [STDERR]     at
> > > >
> > org.apache.synapse.core.axis2.Axis2Sender.sendBack(Axis2Sender.java:138)
> > > > 00:41:58,002 ERROR [STDERR]     at
> > > >
> > >
> >
> org.apache.synapse.core.axis2.Axis2SynapseEnvironment.injectMessage(Axis2SynapseEnvironment.java:169)
> > > > 00:41:58,002 ERROR [STDERR]     at
> > > >
> > >
> >
> org.apache.synapse.core.axis2.SynapseCallbackReceiver.handleMessage(SynapseCallbackReceiver.java:301)
> > > > 00:41:58,003 ERROR [STDERR]     at
> > > >
> > >
> >
> org.apache.synapse.core.axis2.SynapseCallbackReceiver.receive(SynapseCallbackReceiver.java:131)
> > > > 00:41:58,003 ERROR [STDERR]     at
> > > > org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:176)
> > > > 00:41:58,003 ERROR [STDERR]     at
> > > >
> > >
> >
> org.apache.synapse.transport.nhttp.ClientWorker.run(ClientWorker.java:200)
> > > > 00:41:58,003 ERROR [STDERR]     at
> > > >
> > >
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> > > > 00:41:58,003 ERROR [STDERR]     at
> > > >
> > >
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> > > > 00:41:58,003 ERROR [STDERR]     at
> > java.lang.Thread.run(Thread.java:619)
> > > >
> > > > Thanks & Regards,
> > > >
> > > > Abid Khan
> > > > Java Consultant
> > > > Jeppesen (Software Product Development)
> > > > Desk: 303.328.6554 | Cell: 720.480.3523
> > > > <Promotor of simple solutions, even rocket science can be
> simplified.>
> > > >
> > > >
> > > >
> > >
> > >
> > > --
> > > Ruwan Linton
> > > Software Architect & Product Manager, WSO2 ESB; http://wso2.org/esb
> > > WSO2 <http://wso2.org/esb%0AWSO2> Inc.; http://wso2.org
> > >
> > > Lean . Enterprise . Middleware
> > >
> > > phone: +1 408 754 7388 ext 51789
> > > email: [email protected]; cell: +94 77 341 3097
> > > blog: http://blog.ruwan.org
> > > linkedin: http://www.linkedin.com/in/ruwanlinton
> > > google: http://www.google.com/profiles/ruwan.linton
> > > tweet: http://twitter.com/ruwanlinton
> > >
> >
> >
> >
> > --
> > Ruwan Linton
> > Software Architect & Product Manager, WSO2 ESB; http://wso2.org/esb
> > WSO2 <http://wso2.org/esb%0AWSO2> Inc.; http://wso2.org
> >
> > Lean . Enterprise . Middleware
> >
> > phone: +1 408 754 7388 ext 51789
> > email: [email protected]; cell: +94 77 341 3097
> > blog: http://blog.ruwan.org
> > linkedin: http://www.linkedin.com/in/ruwanlinton
> > google: http://www.google.com/profiles/ruwan.linton
> > tweet: http://twitter.com/ruwanlinton
> >
>
>
>
> --
> Ruwan Linton
> Software Architect & Product Manager, WSO2 ESB; http://wso2.org/esb
> WSO2 <http://wso2.org/esb%0AWSO2> Inc.; http://wso2.org
>
> Lean . Enterprise . Middleware
>
> phone: +1 408 754 7388 ext 51789
> email: [email protected]; cell: +94 77 341 3097
> blog: http://blog.ruwan.org
> linkedin: http://www.linkedin.com/in/ruwanlinton
> google: http://www.google.com/profiles/ruwan.linton
> tweet: http://twitter.com/ruwanlinton
>



-- 
Ruwan Linton
Software Architect & Product Manager, WSO2 ESB; http://wso2.org/esb
WSO2 Inc.; http://wso2.org

Lean . Enterprise . Middleware

phone: +1 408 754 7388 ext 51789
email: [email protected]; cell: +94 77 341 3097
blog: http://blog.ruwan.org
linkedin: http://www.linkedin.com/in/ruwanlinton
google: http://www.google.com/profiles/ruwan.linton
tweet: http://twitter.com/ruwanlinton

Reply via email to