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 » occur MQJMS2005 error when using XAQCF to access MQ.

Post new topic  Reply to topic
 occur MQJMS2005 error when using XAQCF to access MQ. « View previous topic :: View next topic » 
Author Message
cswu
PostPosted: Thu Dec 04, 2003 10:22 pm    Post subject: occur MQJMS2005 error when using XAQCF to access MQ. Reply with quote

Newbie

Joined: 06 Aug 2002
Posts: 2

I encounter MQJMS2005 error when using XAQCF to access MQ.

Platform : solairs 9
MQ server : 5.2
Application server : weblogic 8.1

Code:
InitCtx> dis xaqcf(mqXAQCF)

    QMANAGER(generic.queue.manager)
    USECONNPOOLING(YES)
    TEMPMODEL(SYSTEM.DEFAULT.MODEL.QUEUE)
    MSGBATCHSZ(10)
    TRANSPORT(BIND)
    SYNCPOINTALLGETS(YES)
    MSGRETENTION(YES)
    POLLINGINT(5000)
    VERSION(2)

javax.jms.JMSException: MQJMS2005: failed to create MQQueueManager for 'generic.queue.manager'
        at com.ibm.mq.jms.services.ConfigEnvironment.newException(ConfigEnvironment.java:434)
        at com.ibm.mq.jms.MQConnection.createQM(MQConnection.java:998)
        at com.ibm.mq.jms.MQConnection.createQMXA(MQConnection.java:677)
        at com.ibm.mq.jms.MQQueueConnection.<init>(MQQueueConnection.java:194)
        at com.ibm.mq.jms.MQQueueConnection.<init>(MQQueueConnection.java:76)
        at com.ibm.mq.jms.MQXAQueueConnection.<init>(MQXAQueueConnection.java:47)
        at com.ibm.mq.jms.MQXAQueueConnectionFactory.createXAQueueConnection(MQXAQueueConnectionFactory.java:54)
        at weblogic.jms.foreign.mqseries.WrapMQXAQueueConnectionFactory.createXAQueueConnection(WrapMQXAQueueConnectionFactory.java:29)
        at MQSeriesHelperImpl$JMSObject.<init>(MQSeriesHelperImpl.java:233)
        at MQSeriesHelperImpl.bridgeWLS2MQS(MQSeriesHelperImpl.java:122)
        at MQSeriesHelperImpl_WLSkel.invoke(Unknown Source)
        at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:466)
        at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:409)
        at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:353)
        at weblogic.security.service.SecurityManager.contact admin(SecurityManager.java:144)
        at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:404)
        at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
        at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
        at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)

Thanks in advance!
Charles
Back to top
View user's profile Send private message
bower5932
PostPosted: Fri Dec 05, 2003 6:21 am    Post subject: Reply with quote

Jedi Knight

Joined: 27 Aug 2001
Posts: 3023
Location: Dallas, TX, USA

Can you get the linked exception:
Code:

     } catch ( JMSException je2) {
        System.out.println("JMS exception: " + je2);
        Exception le2 = je2.getLinkedException();
        if (le2 != null) {
           System.out.println("Linked exception: " + le2);
        }
     }

Does this work with a non-XA qcf?
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
cswu
PostPosted: Sun Dec 07, 2003 6:45 pm    Post subject: Reply with quote

Newbie

Joined: 06 Aug 2002
Posts: 2

I have solved the error , it is something about authorization.

thank you very much!
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 » occur MQJMS2005 error when using XAQCF to access MQ.
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.