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 API Support » Help!

Post new topic  Reply to topic
 Help! « View previous topic :: View next topic » 
Author Message
magesh_chandren
PostPosted: Tue Feb 17, 2004 12:20 am    Post subject: Help! Reply with quote

Novice

Joined: 16 Feb 2004
Posts: 12

Hi,
I have a MQ server ( say MQS1) running on an NT machine in clients place. This MQServer inturn communicates with another MQServer (say MQS2) running on an IBM machine(which is again in the clients local network). Now Iam trying to write a code in java (from infy network) to create a Queue Manager in MQS1 which will send a MQmessage to MQS2. But before doing this I must first logon to the network of the client or my request to the client machine should be authenticated. For this purpose I also have a User ID and password.

Now how do I logon with these credentials and create a Queue manager using Java code from my machine ? If anyone had already comeacross such situations kindly share the code that you had used or provide me some inputs on your prior experiences.

FYI , Iam using MQSeried v5.3 Java api i.e., I have the two jar files namely com.ibm.mq.jar and com.ibm.mqbind.jar files included in my java application.

Thanks
Magesh
Back to top
View user's profile Send private message
JasonE
PostPosted: Tue Feb 17, 2004 2:05 am    Post subject: Reply with quote

Grand Master

Joined: 03 Nov 2003
Posts: 1220
Location: Hursley

There is no way in Windows I know of (bar worms, viruses etc ) of remotely executing code on another windows box without them first enabling some feature such as terminal services, telnet, etc.

You could look into dcom, but that would require them to install something on their site, and not be in Java. Getting some mechanism like ssh would be your best bet as you can then have secure communications.

Once on, get your java pgm to crtmqm, and if you need a listener or trigger monitor, amqmdain crtlsr / crttrm. Finally start the qmgr with amqmdain start, otherwise when your program logs off the qmgr will be killed.
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 API Support » Help!
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.