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 » problem in putting messages in MQServer in another network

Post new topic  Reply to topic
 problem in putting messages in MQServer in another network « View previous topic :: View next topic » 
Author Message
shivram
PostPosted: Fri Mar 14, 2003 4:50 pm    Post subject: problem in putting messages in MQServer in another network Reply with quote

Newbie

Joined: 12 Mar 2003
Posts: 4

I have a java program that puts and gets messages from the MQServer. The server is in a different machine from where the java application is run. This works perfectly fine when the MQServer is in the same network but when I try to connect to the server at the client's location, it fails. I have changed the 'MQEnvironment' settings to reflect the new IP address, queue name ,etc. But still it fails. Do we need to do any additional settings for across network access?
Please let me know.
Back to top
View user's profile Send private message Send e-mail
mqonnet
PostPosted: Fri Mar 14, 2003 6:31 pm    Post subject: Reply with quote

Grand Master

Joined: 18 Feb 2002
Posts: 1114
Location: Boston, Ma, Usa.

The information is not enough to know what your actual problem is. To understand your problem better, furnish the following.

1) Whats the actual error that you are getting. Include the reason code.
2) I assume that you are connecting as a client. If so, did you define a svrconn channel on your clients site.
3) Is the listener running out there.
4) Did you specify the listener port number appropriately in your mqserver env variable.
5) Is your QM on client side running???


Cheers
Kumar
_________________
IBM Certified WebSphere MQ V5.3 Developer
IBM Certified WebSphere MQ V5.3 Solution Designer
IBM Certified WebSphere MQ V5.3 System Administrator
Back to top
View user's profile Send private message Send e-mail Visit poster's website
shivram
PostPosted: Fri Mar 21, 2003 5:53 pm    Post subject: problem in putting messages in MQServer in another network Reply with quote

Newbie

Joined: 12 Mar 2003
Posts: 4

The error I'm getting is ::
MQJE036: Queue manager rejected connection attempt
MQJE001: Completion Code 2, Reason 2058
______________________________________________
I don't have a MQClient as such. I'm just using the JMS classes in my java program. Do I still have to set the SVRCONN variable?

I have specified the server config parameters correctly.
please let me know what could be the problem.
Back to top
View user's profile Send private message Send e-mail
avigosa
PostPosted: Mon Mar 24, 2003 1:59 am    Post subject: Reply with quote

Newbie

Joined: 20 Mar 2003
Posts: 9
Location: Singapore

Have you set the following in the env. variables...

Quote:


SET MQSERVER=SYSTEM.DEF.SVRCONN/TCP/server ip no(port number)

_________________
contact admin
HCL Perot Systems Pte. Ltd.
Back to top
View user's profile Send private message MSN Messenger
bower5932
PostPosted: Tue Mar 25, 2003 11:06 am    Post subject: Reply with quote

Jedi Knight

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

You don't specify an MQSERVER environment variable when dealing with java. However, you can double-check that a normal client runs:

set MQSERVER=SYSTEM.DEF.SVRCONN/TCP/hostname
amqsputc SYSTEM.DEFAULT.LOCAL.QUEUE qmgr-name

You can try running this on the actual box where the qmgr resides and on the box where your java program is running. If this doesn't work, the java program won't work. If running on the qmgr works and the java machine doesn't, it would point towards a network problem. Do your network people have things setup so that only specific ip addresses can get through routers?
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
Ratan
PostPosted: Tue Mar 25, 2003 11:31 am    Post subject: Reply with quote

Grand Master

Joined: 18 Jul 2002
Posts: 1245

Are you setting the SVRCONN channel to be used to connect to the QM?
-Laze
Back to top
View user's profile Send private message Send e-mail
bower5932
PostPosted: Wed Mar 26, 2003 12:45 pm    Post subject: Reply with quote

Jedi Knight

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

I just realized that you are getting a 2058 error and not a 2059. My experience with 2058's has been that you found a queue manager, but it doesn't have the name you specified. Double-check that your java program is using the correct queue manager name (watch the case).
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » problem in putting messages in MQServer in another network
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.