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 » MQ Java API - Setup on Server side

Post new topic  Reply to topic
 MQ Java API - Setup on Server side « View previous topic :: View next topic » 
Author Message
imef2k
PostPosted: Wed Nov 15, 2006 5:09 pm    Post subject: MQ Java API - Setup on Server side Reply with quote

Newbie

Joined: 15 Nov 2006
Posts: 3
Location: UK

I have an MQ JMS Client which runs on my weblogic server, and creates entries for the MQXAQueueConnectionFactory and MQQueue objects in Weblogic jndi, (using a weblogic startup class). The objects have been set with the values specified by my MQ server administrator (shown below)

My MQ Server Administrator has supplied me with the following:
- QueueManager
- Port
- Channel
- HostName (Ip address)


I am using client mode to connect (JMSC.MQJMS_TP_CLIENT_MQ_TCPIP ) as the qmanager is on a different host.

Does the administrator need to perform any other "JMS type" configuration activities on the MQ server side?

I ask this question because I am currently getting the error:

MQJMS2005: failed to create MQQueueManager for 'xxx.yyy.zzz.cc:ff.cc.vvvvv'

Linked Exception to follow.....
TIA
Back to top
View user's profile Send private message
imef2k
PostPosted: Thu Nov 16, 2006 7:17 am    Post subject: Re: MQ Java API - Setup on Server side Reply with quote

Newbie

Joined: 15 Nov 2006
Posts: 3
Location: UK

imef2k wrote:
I have an MQ JMS Client which runs on my weblogic server, and creates entries for the MQXAQueueConnectionFactory and MQQueue objects in Weblogic jndi, (using a weblogic startup class). The objects have been set with the values specified by my MQ server administrator (shown below)

My MQ Server Administrator has supplied me with the following:
- QueueManager
- Port
- Channel
- HostName (Ip address)


I am using client mode to connect (JMSC.MQJMS_TP_CLIENT_MQ_TCPIP ) as the qmanager is on a different host.

Does the administrator need to perform any other "JMS type" configuration activities on the MQ server side?

I ask this question because I am currently getting the error:

MQJMS2005: failed to create MQQueueManager for 'xxx.yyy.zzz.cc:ff.cc.vvvvv'

Linked Exception to follow.....
TIA


The linked Exception I am getting is:

Linked Exception caught :com.ibm.mq.MQException: MQJE001: An MQException occurred: Completion Code 2, Reason 2059
MQJE011: Socket connection attempt refused


Any ideas?
TIA
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Nov 16, 2006 7:30 am    Post subject: Re: MQ Java API - Setup on Server side Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

imef2k wrote:
Linked Exception caught :com.ibm.mq.MQException: MQJE001: An MQException occurred: Completion Code 2, Reason 2059
MQJE011: Socket connection attempt refused


Have you gone through the usual list of problems/solutions for a 2059?

And is there any security in place (like SSL)? The "attempt refused" is indicative...

(but only indicative)
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
imef2k
PostPosted: Fri Nov 17, 2006 1:39 am    Post subject: Re: MQ Java API - Setup on Server side Reply with quote

Newbie

Joined: 15 Nov 2006
Posts: 3
Location: UK

Vitor wrote:
imef2k wrote:
Linked Exception caught :com.ibm.mq.MQException: MQJE001: An MQException occurred: Completion Code 2, Reason 2059
MQJE011: Socket connection attempt refused


Have you gone through the usual list of problems/solutions for a 2059?

And is there any security in place (like SSL)? The "attempt refused" is indicative...

(but only indicative)


Problem now solved. I was given the port number of a Web Server rather than the MQ port.
Thanks.
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 » MQ Java API - Setup on Server side
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.