[jboss-user] [Messaging, JMS & JBossMQ] - Exception in JMSCI message listener

nicdo77 do-not-reply at jboss.com
Tue Sep 11 07:54:20 EDT 2007


Hi there,
I'm having a big problem with JMS queues.
OK here is the context.
Until this morning, i had an application running perfectly on JBoss3.2.3, under Java 4, with no webservices and JMS queue.
I updated it on my production environment, adding a WebService feature to connect onto a distant WebService. 
I added the following librairies: 
- axis-1.4.jar
- axis-jaxrpc-1.4.ar
- axis-saaj-1.4.jar
- axis-wsdl4j-1.5.1.jar
- commons-discovery-0.2.jar

When i restarted my JBoss server, the new feature was working perfectly and doing what i was expecting (connecting and sending datas over the network to a distant server). BUT, on the other side, everytime a message was being sent to or from my JMS queues, i was having this error message:

12:44:10,810 ERROR [JMSContainerInvoker] Exception in JMSCI message listener
  | javax.ejb.EJBException: RuntimeException; CausedByException is:
  | 	null
  | 	at org.jboss.ejb.plugins.LogInterceptor.handleException(LogInterceptor.java:357)
  | 	at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:195)
  | 	at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)
  | 	at org.jboss.ejb.MessageDrivenContainer.internalInvoke(MessageDrivenContainer.java:374)
  | 	at org.jboss.ejb.Container.invoke(Container.java:700)
  | 	at org.jboss.ejb.plugins.jms.JMSContainerInvoker.invoke(JMSContainerInvoker.java:824)
  | 	at org.jboss.ejb.plugins.jms.JMSContainerInvoker$MessageListenerImpl.onMessage(JMSContainerInvoker.java:1114)
  | 	at org.jboss.jms.asf.StdServerSession.onMessage(StdServerSession.java:256)
  | 	at org.jboss.mq.SpyMessageConsumer.sessionConsumerProcessMessage(SpyMessageConsumer.java:633)
  | 	at org.jboss.mq.SpyMessageConsumer.addMessage(SpyMessageConsumer.java:433)
  | 	at org.jboss.mq.SpySession.run(SpySession.java:298)
  | 	at org.jboss.jms.asf.StdServerSession.run(StdServerSession.java:180)
  | 	at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:727)
  | 	at java.lang.Thread.run(Thread.java:534)
  | java.lang.NullPointerException
  | 	at com.thalys.localys.frontal.MessageTrainCreator.marshall(Unknown Source)
  | 	at com.thalys.localys.frontal.MessageTrain.sendToLocalysQueue(Unknown Source)
  | 	at com.thalys.localys.bordmsg.receiving.BordMsgReceiverBean.onMessage(Unknown Source)
  | 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | 	at java.lang.reflect.Method.invoke(Method.java:324)
  | 	at org.jboss.ejb.MessageDrivenContainer$ContainerInterceptor.invoke(MessageDrivenContainer.java:460)
  | 	at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:185)
  | 	at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:84)
  | 	at org.jboss.ejb.plugins.AbstractTxInterceptorBMT.invokeNext(AbstractTxInterceptorBMT.java:144)
  | 	at org.jboss.ejb.plugins.MessageDrivenTxInterceptorBMT.invoke(MessageDrivenTxInterceptorBMT.java:32)
  | 	at org.jboss.ejb.plugins.MessageDrivenInstanceInterceptor.invoke(MessageDrivenInstanceInterceptor.java:62)
  | 	at org.jboss.ejb.plugins.RunAsSecurityInterceptor.invoke(RunAsSecurityInterceptor.java:90)
  | 	at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191)
  | 	at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)
  | 	at org.jboss.ejb.MessageDrivenContainer.internalInvoke(MessageDrivenContainer.java:374)
  | 	at org.jboss.ejb.Container.invoke(Container.java:700)
  | 	at org.jboss.ejb.plugins.jms.JMSContainerInvoker.invoke(JMSContainerInvoker.java:824)
  | 	at org.jboss.ejb.plugins.jms.JMSContainerInvoker$MessageListenerImpl.onMessage(JMSContainerInvoker.java:1114)
  | 	at org.jboss.jms.asf.StdServerSession.onMessage(StdServerSession.java:256)
  | 	at org.jboss.mq.SpyMessageConsumer.sessionConsumerProcessMessage(SpyMessageConsumer.java:633)
  | 	at org.jboss.mq.SpyMessageConsumer.addMessage(SpyMessageConsumer.java:433)
  | 	at org.jboss.mq.SpySession.run(SpySession.java:298)
  | 	at org.jboss.jms.asf.StdServerSession.run(StdServerSession.java:180)
  | 	at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:727)
  | 	at java.lang.Thread.run(Thread.java:534)

I'm really worried about this cause i really need to make it work. And if the JMs queues does not work anymore, i lose all the interest of my app.

Hope you will be able to help me.



View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082969#4082969

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082969



More information about the jboss-user mailing list