ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » General IBM MQ Support » MQJMS2008 and MQJMS1004

Post new topic  Reply to topic
 MQJMS2008 and MQJMS1004 « View previous topic :: View next topic » 
Author Message
Hanuman
PostPosted: Tue Feb 20, 2007 4:00 am    Post subject: MQJMS2008 and MQJMS1004 Reply with quote

Voyager

Joined: 28 Aug 2006
Posts: 89

hi ,
i have deployed an application on jboss and a binding file is been to connect to the MQ server...

While starting up of application i am getting this error....
Quote:
"org.jboss.deployment.DeploymentException: Error during queue setup; - nested throwable: (javax.jms.JMSException: MQJMS2008: failed to open MQ queue)"


and

Quote:
6:24:05,654 ERROR [JMSContainerInvoker] Could not set ExceptionListener to null
javax.jms.IllegalStateException: MQJMS1004: connection closed


can some one please help in to resolve this,.......
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Tue Feb 20, 2007 4:30 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

Post the linked exceptions...
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Hanuman
PostPosted: Tue Feb 20, 2007 4:38 am    Post subject: Reply with quote

Voyager

Joined: 28 Aug 2006
Posts: 89

b]16:23:58,920 INFO [ProxyFactory] Bound EJB Home 'TSQueryDataCatchUpTask' to jndi 'TSQueryDataCatchUpTask'
16:24:04,186 WARN [StdServerSessionPool] Using a non-XA QueueConnection. It will not be able to participate in a Global UOW
16:24:05,654 WARN [JMSContainerInvoker] JMS provider failure detected:
org.jboss.deployment.DeploymentException: Error during queue setup; - nested throwable: (javax.jms.JMSException: MQJMS2008: failed to open MQ queue)
at org.jboss.deployment.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:39)
at org.jboss.ejb.plugins.jms.JMSContainerInvoker.innerStartDelivery(JMSContainerInvoker.java:906)
at org.jboss.ejb.plugins.jms.JMSContainerInvoker.startService(JMSContainerInvoker.java:932)[/b]



at com.ibm.mq.jms.MQQueueConnection.createConnectionConsumer(MQQueueConnection.java:587)
at org.jboss.ejb.plugins.jms.JMSContainerInvoker.innerStartDelivery(JMSContainerInvoker.java:890)
... 155 more
16:24:05,654 ERROR [JMSContainerInvoker] Could not set ExceptionListener to null
javax.jms.IllegalStateException: MQJMS1004: connection closed
at com.ibm.mq.jms.MQConnection.checkConnectionOpen(MQConnection.java:2363)
at com.ibm.mq.jms.MQConnection.setExceptionListener(MQConnection.java:1381)
at org.jboss.ejb.plugins.jms.JMSContainerInvoker.innerStopDelivery(JMSContainerInvoker.java:973)
at org.jboss.ejb.plugins.jms.JMSContainerInvoker$ExceptionListenerImpl.run(JMSContainerInvoker.java:1447)
at java.lang.Thread.run(Thread.java:534)
16:24:05,654 ERROR [JMSContainerInvoker] Could not stop JMS connection
javax.jms.IllegalStateException: MQJMS1004: connection closed
at com.ibm.mq.jms.MQConnection.stop(MQConnection.java:1186)
at org.jboss.ejb.plugins.jms.JMSContainerInvoker.innerStopDelivery(JMSContainerInvoker.java:987)
at org.jboss.ejb.plugins.jms.JMSContainerInvoker$ExceptionListenerImpl.run(JMSContainerInvoker.java:1447)
at java.lang.Thread.run(Thread.java:534)
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Tue Feb 20, 2007 4:50 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Those aren't the LinkedExceptions.

Also look for errors in the MQ error logs.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
SAFraser
PostPosted: Tue Feb 20, 2007 2:09 pm    Post subject: Reply with quote

Shaman

Joined: 22 Oct 2003
Posts: 742
Location: Austin, Texas, USA

http://www-304.ibm.com/jct09002c/isv/tech/faq/individual.jsp?oid=1:23452

Your developer must add code so that linked exceptions are generated; this will produce an MQ reason code which is essential to trouble shooting.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » MQJMS2008 and MQJMS1004
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.