Posted: Thu Oct 20, 2005 9:39 pm Post subject: JMSException: MQJMS1006: invalid value for tempQPrefix
Centurion
Joined: 27 Apr 2003 Posts: 124
Hi Gurus,
I face the following error while trying to put a message via JMS.
Exception:
org.apache.wsif.WSIFException: org.apache.wsif.providers.jms.WSIFOperation_Jms@628ac9cc : Could not invoke 'putTestMessage'; nested exception is:
org.apache.wsif.WSIFException: WSIFJMSFinderForJndi caught NamingException. The ConnectionFactory jms/TestServiceQCF in JNDI was not defined to be a connection factory. Port=TestServiceJMSPort com.ibm.websphere.naming.CannotInstantiateObjectException: Exception occurred while the JNDI NamingManager was processing a javax.naming.Reference object. [Root exception is javax.jms.JMSException: MQJMS1006: invalid value for tempQPrefix: ]
org.apache.wsif.WSIFException: WSIFJMSFinderForJndi caught NamingException. The ConnectionFactory jms/TestServiceQCF in JNDI was not defined to be a connection factory. Port=TestServiceJMSPort com.ibm.websphere.naming.CannotInstantiateObjectException: Exception occurred while the JNDI NamingManager was processing a javax.naming.Reference object. [Root exception is javax.jms.JMSException: MQJMS1006: invalid value for tempQPrefix: ]
at org.apache.wsif.util.jms.WSIFJMSFinderForJndi.<init>(WSIFJMSFinderForJndi.java:199)
at org.apache.wsif.util.jms.WSIFJMSFinder.newFinder(WSIFJMSFinder.java:117)
at org.apache.wsif.providers.jms.WSIFPort_Jms.getJmsDestination(WSIFPort_Jms.java:292)
at org.apache.wsif.providers.jms.WSIFOperation_Jms.sendJmsMessage(WSIFOperation_Jms.java:450)
at org.apache.wsif.providers.jms.WSIFOperation_Jms.executeRequestResponseOperation(WSIFOperation_Jms.java:256)
at sample.test.proxy.TestServiceProxy.execute(TestServiceProxy.java:186)
at sample.test.proxy.TestServiceProxy.putTestMessage(TestServiceProxy.java:74)
at sample.test.proxy.TestServiceClient.main(TestServiceClient.java:22)
From IBM site I found the solution for the above problem;
Quote:
Message MQJMS1006: invalid value for tempQPrefix is issued when trying to use a V5.1 client with a V5 Default Messaging queue connection factory on a V6 application server
When trying to use a V5.1 application client to connect to a queue connection factory defined as a "V5 Default Messaging" resource on a V6 application server. the following message appears:
com.ibm.websphere.naming.CannotInstantiateObjectException: Exception occurred while the JNDI NamingManager was processing a javax.naming.Reference object.
Root exception is com.ibm.websphere.naming.CannotInstantiateObjectException: Exception occurred while the JNDI NamingManager was processing a javax.naming.Reference object.
Root exception is javax.jms.JMSException: MQJMS1006: invalid value for tempQPrefix:
Cause: The application client is using WebSphere MQ JMS client CSD 04 JAR files. WebSphere Application Server Version 6 sets tempQprefix to blank, which cannot be handled by the CSD 04 release of the method setTempqPrefix.
Solution If the application client uses WebSphere embedded messaging JAR files, then apply the WebSphere Embedded Messaging interim fixes for WebSphere Application Server V5.1. If the client uses external WebSphere MQ JMS client JAR files, than apply CSD05.
Where can I download the "WebSphere MQ JMS client CSD05 JAR" file. How to find the CSD level of a JMS jar file?
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