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 » failed to create MQQueueManager on AIX

Post new topic  Reply to topic
 failed to create MQQueueManager on AIX « View previous topic :: View next topic » 
Author Message
error_lee
PostPosted: Tue Sep 14, 2004 12:48 am    Post subject: failed to create MQQueueManager on AIX Reply with quote

Newbie

Joined: 14 Sep 2004
Posts: 3

Has anyone ever encounter this problem? When WAS 4.0 startup, a exception thrown out:
javax.jms.JMSException: MQJMS2005: failed to create MQQueueManager for 'jms.queue.manager'
at com.ibm.mq.jms.services.ConfigEnvironment.newException(ConfigEnvironm
ent.java:546)
at com.ibm.mq.jms.MQConnection.createQM(MQConnection.java:1137)
at com.ibm.mq.jms.MQConnection.createQMNonXA(MQConnection.java:799)
at com.ibm.mq.jms.MQQueueConnection.<init>(MQQueueConnection.java:255)
at com.ibm.mq.jms.MQQueueConnection.<init>(MQQueueConnection.java:7
at com.ibm.mq.jms.MQQueueConnectionFactory.createQueueConnection(MQQueue
ConnectionFactory.java:142)
at jms.sample.JMSReceiverThread.init(JMSReceiverThread.java:72)
at jms.sample.JMSReceiverThread.run(JMSReceiverThread.java:117)
at java.lang.Thread.run(Thread.java:498)

I'm sure that this QManager jms.queue.manager has been created correctly, and this problem does not occoured on Win 2k and Linux platforms.

Is there any idea?

Thanks

error_lee@tom.com
Back to top
View user's profile Send private message Send e-mail
Manikandan
PostPosted: Tue Sep 14, 2004 3:18 am    Post subject: Reply with quote

Voyager

Joined: 07 Jul 2004
Posts: 78

Not sure how your setup is!!

Can u please let us know?.
Back to top
View user's profile Send private message
bower5932
PostPosted: Tue Sep 14, 2004 4:54 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 je ) {
         System.out.println("JMS Exception: " + je);
         // check for a linked exception
         Exception le = je.getLinkedException();
         if (le != null) {
            System.out.println("Linked exception: " + le);
         }

      }

I imagine that it will give you a 2059. I'd suggest that if you are running in client mode that you make sure your listener is running and that your connection factory is set correctly.
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
jefflowrey
PostPosted: Tue Sep 14, 2004 4:54 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

What userid is WAS running as?

Does it have the necessary permissions to create a queue manager?
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
JT
PostPosted: Tue Sep 14, 2004 5:37 am    Post subject: Reply with quote

Padawan

Joined: 27 Mar 2003
Posts: 1564
Location: Hartford, CT.

Similar problem previously reported, check it out:
http://www-1.ibm.com/support/docview.wss?uid=swg21109610
Back to top
View user's profile Send private message
error_lee
PostPosted: Wed Sep 15, 2004 1:43 am    Post subject: Reply with quote

Newbie

Joined: 14 Sep 2004
Posts: 3

-------------------------------------------------------------------------
Use this script to create QCF and Q
-------------------------------------------------------------------------
def qcf(jms_sample_QCF) qmanager(jms.queue.manager)

# Define a WAS-specific QueueConnectionFactory for two-phase commit support to MQ
def wsqcf(jms_sample_XAQCF) qmanager(jms.queue.manager)

# Define Queues
def q(jms_sample_Q1) Qu(Q1)
def q(jms_sample_Q2) Qu(Q2)

# Display the current context
dis ctx

end

--------------------------------------------------
Use file system context
--------------------------------------------------
InitCtx> InitCtx>
InitCtx> InitCtx> InitCtx>
InitCtx> InitCtx> InitCtx>
InitCtx>
InitCtx> InitCtx> InitCtx>
Contents of InitCtx

.bindings java.io.File
a jms_sample_Q1 com.ibm.mq.jms.MQQueue
a jms_sample_XAQCF com.ibm.ejs.jms.mq.JMSWrapXAQueueConnectionFactory
a jms_sample_Q2 com.ibm.mq.jms.MQQueue
a jms_sample_QCF com.ibm.mq.jms.MQQueueConnectionFactory

5 Object(s)
0 Context(s)
5 Binding(s), 4 Administered

InitCtx> InitCtx>
Stopping Websphere MQ classes for Java(tm) Message Service Administration

-------------------------
It's so strange that this problems only happened on AIX platform !!
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » failed to create MQQueueManager on AIX
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.