Created On: 03 March 2011
Problem:
Product: AppServer 6.7
Component: JMS
The following exceptions are seen in both Tibco & Partition log. What is the root cause and how to resolve it?
The following exceptions are seen in both Tibco & Partition log. What is the root cause and how to resolve it?
Tibco error log:
2011-02-24 22:50:26 ERROR: Unable to create consumer, invalid destination.
Partition log:
INFO - MDB [C:\\BES6.7Tibco\\var\\domains\\base\\configurations\\ \\mos\\standard\\ejb_jars\\EJB-Modul1.jar#JMSTest] gave up trying to connect to JMS server after 5 tries
INFO - Exception in thread "MDB Auto-Redeploy Thread" java.lang.RuntimeException: MDB [C:\\BES6.7Tibco\\var\\domains\\base\\configurations\\\\mos\\standard\\ejb_jars\\EJB-Modul1.jar#JMSTest] gave up trying to connect to JMS server after 5 tries
INFO - at com.inprise.ejb.MDBListener$AutoRedeploy.run(MDBListener.java:758)
INFO - at java.lang.Thread.run(Thread.java:595)
Resolution:
The JMS destination is not specified in the JNDI definition file. The red square in the picture below shows the issue occurs if the address field is empty. The issue is resolved when the JMS destination is specified. In this example, the destination is q.
This is an excerpt of the jndi-definition.xml. The issue is resolved when the destination is specified as highlighted in bold
jms/q
com.tibco.tibjms.TibjmsQueue
address
String
q
Old KB# 33579
#Security
#VisiBroker