What is your JMS provider ? Do you use ActiveMQ ?

On Thu, Mar 13, 2008 at 8:12 AM, Simone Maletta <[EMAIL PROTECTED]> wrote:
> Hi Josh,
>     I observe a behaviour as your own.
>  If you deploy your artifact with the server up the system works fine one
>  time every 4 or 5.
>  If you make your deploy and restart the server  it works fine every time.
>  I do not make any search on the settings trying to understand why this
>  happen, I take it as a data and I do not send other mails because I thought
>  there was an error in my own code and because I'm in a hurry with my work
>  too.
>
>  Regards
>
>  Simone
>
>
>
>  ----- Original Message -----
>  From: "JoshBlomberg" <[EMAIL PROTECTED]>
>  To: <[email protected]>
>  Sent: Thursday, March 13, 2008 4:32 AM
>  Subject: Re: Async JMS Request
>
>
>  >
>  >
>  > I take that back. I put the multicast config back in to confirm that it
>  > would break, but now it works consistently... oh well. not sure.
>  >
>  >
>  >
>  > JoshBlomberg wrote:
>  >>
>  >> Well, I might've figured something out...
>  >>
>  >> Seems that disabling multicast discovery in the ActiveMQ.xml conf file
>  >> seems to do the trick. I've just ran my test case about 20 times in a row
>  >> and it worked every time, where as before it might've worked 1 out of 5.
>  >>
>  >> Josh
>  >>
>  >>
>  >>
>  >>
>  >> JoshBlomberg wrote:
>  >>>
>  >>> 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-tp15693719s12049p16020540.html
>  > Sent from the ServiceMix - User mailing list archive at Nabble.com.
>  >
>
>



-- 
Cheers,
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/

Reply via email to