[Users] EIP "routing-slip" pattern problem

seb.wytt sebastien.trivella at veoliaeau.fr
Wed Mar 16 10:40:40 CET 2011


Hi,

I'm new to Petals so this question may appears obvious to many of you but I keep getting stucked on this for some time...

I'm trying to deploy a simple EIP "routing-slip" that call just 1 SU-SOAP provide (with a Soap-UI mocked web service behind).

I started by testing my SU-SOAP provide with a SU-SOAP consume that directly consumes it. It works so I assume the SU-SOAP provide is correct.
Then I tried to set up my EIP routing-slip to call the SU-SOAP provide, and to put an SU-SOAP consume in front of it to test it. And here it fails.

I get the following stack trace:


Code:
[Petals.Container.Components.petals-bc-soap]-FINE 2010-03-08 17:13:54,820 Receiving a message from Axis2 engine
[Petals.Container.Components.petals-bc-soap]-FINE 2010-03-08 17:13:54,821 Processing the incoming SOAP message
[Petals.Container.Components.petals-bc-soap]-FINEST 2010-03-08 17:13:54,821 soapAction found in the incoming message : http://veolia.ban.com/esb/gestion/organisation/wsdl/v01/GestionSites/getSite
[Petals.Container.Components.petals-bc-soap]-FINEST 2010-03-08 17:13:54,821 jbiOperation retrieved : {http://veolia.ban.com/esb/gestion/organisation/eip/v01}getSite
[Petals.Container.Components.petals-bc-soap]-FINEST 2010-03-08 17:13:54,822 Message in with Id 'petals:uid:FB16B15F74CC2FEE2112680648348213530008' to send
[Petals.Container.Components.petals-bc-soap]-FINEST 2010-03-08 17:13:54,822 Message property 'javax.jbi.messaging.protocol.headers' : {}
[Petals.Container.Components.petals-bc-soap]-FINEST 2010-03-08 17:13:54,823 Message Content : <?xml version="1.0" encoding="UTF-8"?><v01:SITE xmlns:v01="http://myents.com/esb/gestion/organisation/obj/v01" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
         <v01:code_site>?</v01:code_site>
         <v01:desc_site>?</v01:desc_site>
         <v01:code_cust>?</v01:code_cust>
         <v01:local>?</v01:local>
         <v01:pecf>?</v01:pecf>
         <v01:adresse>?</v01:adresse>
         <v01:codepostal>?</v01:codepostal>
         <v01:ville>?</v01:ville>
         <v01:agence>?</v01:agence>
         <v01:siteid>?</v01:siteid>
         <v01:orgid>?</v01:orgid>
      </v01:SITE>
[Petals.Container.Components.petals-se-eip]-FINE 2010-03-08 17:13:54,825 Accepting a JBI message with Id : petals:uid:FB16B15F74CC2FEE2112680648348213530008
[Petals.Container.Components.petals-se-eip]-FINEST 2010-03-08 17:13:54,826 Process an exchange as PROVIDER with id : petals:uid:FB16B15F74CC2FEE2112680648348213530008
[Petals.Container.Components.petals-se-eip]-FINE 2010-03-08 17:13:54,826 Intercepting message processing on ACCEPT
[Petals.Container.Components.petals-se-eip]-FINE 2010-03-08 17:13:54,826 Routing-Slip: processing the pattern
[Petals.Container.Components.petals-se-eip]-SEVERE 2010-03-08 17:13:54,826 null
java.lang.NullPointerException
	at org.ow2.petals.se.eip.patterns.AbstractPattern.logSend(AbstractPattern.java:116)
	at org.ow2.petals.se.eip.patterns.RoutingSlip.process(RoutingSlip.java:77)
	at org.ow2.petals.se.eip.patterns.AbstractPattern.processPattern(AbstractPattern.java:64)
	at org.ow2.petals.se.eip.listener.JBIListener.process(JBIListener.java:138)
	at org.ow2.petals.se.eip.listener.JBIListener.onJBIMessage(JBIListener.java:105)
	at org.ow2.petals.component.framework.process.MessageExchangeProcessor.processInOptionalOutAsProvider(MessageExchangeProcessor.java:518)
	at org.ow2.petals.component.framework.process.MessageExchangeProcessor.processAsProvider(MessageExchangeProcessor.java:381)
	at org.ow2.petals.component.framework.process.MessageExchangeProcessor.process(MessageExchangeProcessor.java:242)
	at org.ow2.petals.component.framework.process.MessageExchangeProcessor.run(MessageExchangeProcessor.java:176)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:651)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:676)
	at java.lang.Thread.run(Thread.java:595)
[Petals.Container.Components.petals-se-eip]-FINEST 2010-03-08 17:13:54,827 Message acknowledgement ERROR with Id 'petals:uid:FB16B15F74CC2FEE2112680648348213530008' to send
[Petals.Container.Components.petals-se-eip]-FINEST 2010-03-08 17:13:54,827 Message Error : null
[Petals.Container.Components.petals-bc-soap]-FINE 2010-03-08 17:13:54,827 Receive an Error status message
[Root]-SEVERE 2010-03-08 17:13:54,828 Server
org.apache.axis2.AxisFault: Server
	at org.ow2.petals.binding.soap.listener.incoming.RequestProcessor.processJBIResponse(RequestProcessor.java:148)
	at org.ow2.petals.binding.soap.listener.incoming.SOAPProcessor.process(SOAPProcessor.java:133)
	at org.ow2.petals.binding.soap.listener.incoming.PetalsReceiver.process(PetalsReceiver.java:167)
	at org.ow2.petals.binding.soap.listener.incoming.PetalsReceiver.invokeBusinessLogic(PetalsReceiver.java:120)
	at org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:100)
	at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:176)
	at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:275)
	at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:133)
	at org.ow2.petals.binding.soap.listener.incoming.servlet.SoapServlet.doPost(SoapServlet.java:194)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
	at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
	at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:362)
	at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
	at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:726)
	at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:206)
	at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
	at org.mortbay.jetty.Server.handle(Server.java:324)
	at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505)
	at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:842)
	at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:648)
	at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
	at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
	at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395)
	at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:450)
Caused by: java.lang.Exception
	at org.ow2.petals.component.framework.process.MessageExchangeProcessor.run(MessageExchangeProcessor.java:189)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:651)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:676)
	at java.lang.Thread.run(Thread.java:595)



Does anyone of you have any clue on this?

Thanks,
regards,
Seb!




-------------------- m2f --------------------

Subscribe/Unsubscribe emails notifications.

Response to this email will be posted on the Petals forum.
Please delete the existing text before responding :)

Read the topic online:
http://forum.petalslink.com/viewtopic.php?p=30537#30537

-------------------- m2f --------------------


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://forum-list.petalslink.org/pipermail/users/attachments/20110316/ff377b6b/attachment.htm>


More information about the Users mailing list