Amit Saluja [http://community.jboss.org/people/a_sal] created the discussion
"Unable to reconnect to jms queue" To view the discussion, visit: http://community.jboss.org/message/580882#580882 -------------------------------------------------------------- hi, I am getting following error running MDB on jboss 5.0.1, my test program runs fine to connect and push messages to this queue. I believe mdb is able to connect to this queue for first time but not for the second time onwards, any idea what could be wrong. 2011-01-14 15:35:24,944 ERROR [org.jboss.resource.adapter.jms.inflow.JmsActivation] (WorkManager(2)-6) Unable to reconnect org.jboss.resource.adapter.jms.inflow.JmsActivationSpec@1845871(ra=org.jboss.resource.adapter.jms.JmsResourceAdapter@8bb0b0 destination=jms/queue/InternalEvent destinationType=javax.jms.Queue selector=MessageType Is Not Null And MessageSuperType Is Null tx=true durable=true reconnect=10 provider=DefaultJMSProvider user=omsInternalListener pass=<not shown> maxMessages=1 minSession=1 maxSession=15 keepAlive=30000 useDLQ=true DLQHandler=org.jboss.resource.adapter.jms.inflow.dlq.GenericDLQHandler DLQJndiName=queue/DLQ DLQUser=null DLQMaxResent=10) java.lang.NullPointerException at org.jboss.jms.client.container.ConnectionAspect.getConnectionState(ConnectionAspect.java:252) at org.jboss.jms.client.container.ConnectionAspect.handleSetExceptionListener(ConnectionAspect.java:117) at sun.reflect.GeneratedMethodAccessor371.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.jboss.aop.advice.PerInstanceAdvice.invoke(PerInstanceAdvice.java:122) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) at org.jboss.jms.client.container.ClosedInterceptor.invoke(ClosedInterceptor.java:170) at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:86) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) at org.jboss.jms.client.delegate.ClientConnectionDelegate.setExceptionListener(ClientConnectionDelegate.java) at org.jboss.jms.client.JBossConnection.setExceptionListener(JBossConnection.java:116) at org.jboss.resource.adapter.jms.inflow.dlq.AbstractDLQHandler.setupDLQConnection(AbstractDLQHandler.java:142) at org.jboss.resource.adapter.jms.inflow.dlq.AbstractDLQHandler.setup(AbstractDLQHandler.java:83) at org.jboss.resource.adapter.jms.inflow.dlq.JBossMQDLQHandler.setup(JBossMQDLQHandler.java:48) at org.jboss.resource.adapter.jms.inflow.JmsActivation.setupDLQ(JmsActivation.java:413) at org.jboss.resource.adapter.jms.inflow.JmsActivation.setup(JmsActivation.java:351) at org.jboss.resource.adapter.jms.inflow.JmsActivation.handleFailure(JmsActivation.java:292) at org.jboss.resource.adapter.jms.inflow.JmsActivation$SetupActivation.run(JmsActivation.java:733) at org.jboss.resource.work.WorkWrapper.execute(WorkWrapper.java:205) at org.jboss.util.threadpool.BasicTaskWrapper.run(BasicTaskWrapper.java:260) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) many thanks for help. asal -------------------------------------------------------------- Reply to this message by going to Community [http://community.jboss.org/message/580882#580882] Start a new discussion in JBoss Messaging at Community [http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2042]
_______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
