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 » IBM MQ Java / JMS » JMSException: MQJMS1006: invalid value for tempQPrefix

Post new topic  Reply to topic
 JMSException: MQJMS1006: invalid value for tempQPrefix « View previous topic :: View next topic » 
Author Message
kspranava
PostPosted: Thu Oct 20, 2005 9:39 pm    Post subject: JMSException: MQJMS1006: invalid value for tempQPrefix Reply with quote

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?

Thanks in advance,
kspranava.
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 » IBM MQ Java / JMS » JMSException: MQJMS1006: invalid value for tempQPrefix
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.