I'm seeing the same thing, also using the same combo of ServiceMix 3.1.2 and
Ode 1.1.1. I'm trying to route a JMS endpoint to ODE. I've been able to
intermittently get my BPEL output to come back across JMS, but most of the
time I get this error. 

Any ideas?

Thanks,
Josh





Simone Maletta wrote:
> 
> Hi guys,
>      I'm using Servicemix to deploy my master thesis and I'm trying to
> expose BPEL web services in a async manner on a jms queue to hang my
> constraints;
> While I can exposing a BPEL service in a sync manner on jms I can't do
> this async.
> My testing file is deployed but I got a NullPointerException executing the
> system.
> I can't find the error, please may you help me or may you tell me about a
> guide or an example storage?
> I'm using servicemix 3.1.2 and Ode 1.1.1.
> Here is my own deploy file for servicemix-jms:
> 
> 
> <?xml version="1.0" encoding="UTF-8"?>
> 
> <beans xmlns:jms="http://servicemix.apache.org/jms/1.0";
>        xmlns:lb="urn:/echo.wsdl">
> 
>     <jms:endpoint service="lb:provider"
>                 endpoint="echoInPort"
>                 targetService="lb:provider"
>                 defaultOperation="lb:echoIn" 
>                 role="consumer"
>                 connectionFactory="#jmsFactory"
>                 destinationStyle="queue"
>   soap="true"
>                 jmsProviderDestinationName="providerQueue"
>                 defaultMep="http://www.w3.org/2004/08/wsdl/in-only"; />
> 
>   <jms:endpoint service="lb:consumer"
>               endpoint="echoOutPort"
>               role="provider"  
>               connectionFactory="#jmsFactory"
>               destinationStyle="queue"
>        soap="true"
>               jmsProviderDestinationName="consumerQueue" />
> 
> 
> 
> 
>   <bean id="jmsFactory"
> class="org.apache.activemq.pool.PooledConnectionFactory">
>     <property name="connectionFactory">
>       <bean class="org.apache.activemq.ActiveMQConnectionFactory">
>         <property name="brokerURL" value="tcp://localhost:61616" />
>       </bean>
>     </property>
>   </bean>
> 
> </beans>
> 
> 
> 
> And here is the error stack:
> 
> ERROR - MultiplexingConsumerProcessor  - Error while handling jms message
> java.lang.NullPointerException
>         at
> org.apache.servicemix.jms.multiplexing.MultiplexingConsumerProcessor$1.run(MultiplexingConsumerProcessor.java:92)
>         at
> edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665)
>         at
> edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690)
>         at java.lang.Thread.run(Thread.java:619)
> 
> Please help me!
> regards
>  Simone
> 
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Async-JMS-Request-tp15693719s12049p16020208.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to