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 » Can not connect to Remote MQSeries from WAS 5

Post new topic  Reply to topic
 Can not connect to Remote MQSeries from WAS 5 « View previous topic :: View next topic » 
Author Message
berguss22
PostPosted: Sun Oct 10, 2004 3:07 am    Post subject: Can not connect to Remote MQSeries from WAS 5 Reply with quote

Apprentice

Joined: 10 Mar 2004
Posts: 31

I am trying to connect to a Remote MQSeries from WebSphere 5. and try to access the QueueConnectionFactory and the Queue from a simple JMS program I keep getting the error:

createManagedConnctionWithMCWrapper caught an exception during creation of the ManagedConnection for resource QCF.EGOV, throwing ResourceAllocationException. Original exception: javax.resource.spi.ResourceAdapterInternalException: createQueueConnection failed
at com.ibm.ejs.jms.JMSCMUtils.mapToResourceException(JMSCMUtils.java:125)
at com.ibm.ejs.jms.JMSManagedQueueConnection.createConnection(JMSManagedQueueConnection.java:119)
at com.ibm.ejs.jms.JMSManagedConnection.<init>(JMSManagedConnection.java:160)
at com.ibm.ejs.jms.JMSManagedQueueConnection.<init>(JMSManagedQueueConnection.java:64)
at com.ibm.ejs.jms.WSJMSManagedQueueConnectionFactory.createManagedConnection(WSJMSManagedQueueConnectionFactory.java:84)
at com.ibm.ejs.jms.JMSManagedConnectionFactory.createManagedConnection(JMSManagedConnectionFactory.java:477)
at com.ibm.ejs.j2c.poolmanager.FreePool.createManagedConnectionWithMCWrapper(FreePool.java:1280)
at com.ibm.ejs.j2c.poolmanager.FreePool.createOrWaitForConnection(FreePool.java:1064)
at com.ibm.ejs.j2c.poolmanager.PoolManager.reserve(PoolManager.java:1571)
at com.ibm.ejs.j2c.ConnectionManager.allocateMCWrapper(ConnectionManager.java:622)
at com.ibm.ejs.j2c.ConnectionManager.allocateConnection(ConnectionManager.java:424)
at com.ibm.ejs.jms.JMSQueueConnectionFactoryHandle.createQueueConnection(JMSQueueConnectionFactoryHandle.java:80)
at MQTestServlet.doGet(MQTestServlet.java:54)

I am using Client Binding and can successfully connect to Queues running on local MQSeries but not remotely....any ideas?
Back to top
View user's profile Send private message Send e-mail MSN Messenger
fjb_saper
PostPosted: Sun Oct 10, 2004 8:06 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

is the JAAS alias correct ? Does it have authorizations on the qmgr ?
Does the case match ?
Is the qmgr running ?
is the listener running ?
is the port correct ?
is the channel running ?
is the hostname correct ?
Do all jndi references and links have the correct case / spelling ?

Do you have all that you need in the classpath ?
Back to top
View user's profile Send private message Send e-mail
vennela
PostPosted: Sun Oct 10, 2004 7:12 pm    Post subject: Reply with quote

Jedi Knight

Joined: 11 Aug 2002
Posts: 4055
Location: Hyderabad, India

Also make sure you are setting the TRANSPORT property to CLIENT and not BINDINGS.

Also catch the linked exception of the error you are getting.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » Can not connect to Remote MQSeries from WAS 5
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.