Author |
Message
|
Vitor |
Posted: Wed Dec 03, 2008 1:37 am Post subject: Re: Getting Error While Sending Msg From Unix to Windows 200 |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
manicminer wrote: |
As I said before, and looking at your stack trace I will say it again. You stack says (as quoted above) "MQBindingsManagedConnectionFactory". This means you are creating a connection to LOCAL queue manager.
|
Still sure about that connection?  _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
zulkernain.kanjariwala |
Posted: Wed Dec 03, 2008 1:56 am Post subject: |
|
|
Novice
Joined: 28 Nov 2008 Posts: 24
|
See Vitor I Will Explain wht i have done.....
MQ Server Installed on Windows 200 Advance Server.
Created 3 Queue Manager
1. IBKLBRQM
2. IBKLCBS ( This is having one SVRCONN named JAVA.CHANNEL)
3. IBKLGWQM
These Three is Having Same No of Channels and Queues which is talking to each other.
I am Trying to put the messsage in Remote Queue of CBS Queue Manager and It will Routed Through BR to GW. So I am getting the Message in Local Queue of IBKLGWQM Queue Manager.
Its Happens when i am sending message from same machine.
Then i have Installed Client on Windows Xp Professional. Here both the server and the client is having the same Version i.e. 5.3
Now You Tell me How to Send the Message From The Client To server.
I have done the following steps.
1. Set MQSERVER
2. Started All three Queue Managers
3. Put amqsputc S.I IBKLCBS
S.I - Remote Queue of IBKLCBS Queue Manager
Now Please Guide Me On this. |
|
Back to top |
|
 |
Vitor |
Posted: Wed Dec 03, 2008 2:01 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
zulkernain.kanjariwala wrote: |
I have done the following steps.
1. Set MQSERVER
2. Started All three Queue Managers
3. Put amqsputc S.I IBKLCBS
S.I - Remote Queue of IBKLCBS Queue Manager
Now Please Guide Me On this. |
This is a completely different thing to what you originally posted. I'm no Java expert, but I'm confident you don't get a Java stack dump out of amqsputc!
Which problem do you want help with? Why your Java doesn't work? Or how to send messages to remote queues?
These are 2 different questions. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
Vitor |
Posted: Wed Dec 03, 2008 2:01 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
zulkernain.kanjariwala wrote: |
I have done the following steps.
1. Set MQSERVER
2. Started All three Queue Managers
3. Put amqsputc S.I IBKLCBS
S.I - Remote Queue of IBKLCBS Queue Manager
Now Please Guide Me On this. |
This is a completely different thing to what you originally posted. I'm no Java expert, but I'm confident you don't get a Java stack dump out of amqsputc!
Which problem do you want help with? Why your Java doesn't work? Or how to send messages to remote queues?
These are 2 different questions. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
mqjeff |
Posted: Wed Dec 03, 2008 2:01 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
The exact, specific problem with your actual Java code is that you have specified the wrong information when you create the MQQueueManager object.
You do not specify a queue manager name, you must only specify a host, channel and port.
Also, MQSERVER is not used by Java code. |
|
Back to top |
|
 |
zulkernain.kanjariwala |
Posted: Wed Dec 03, 2008 2:09 am Post subject: |
|
|
Novice
Joined: 28 Nov 2008 Posts: 24
|
See Vitor... I know both problem is entirely different ..
First i was trying through java program. then i found that to test the client server connection we have to follow the same procedure which i had post in my last reply..
So you vitor try to solve the second problem..  |
|
Back to top |
|
 |
zulkernain.kanjariwala |
Posted: Wed Dec 03, 2008 2:12 am Post subject: |
|
|
Novice
Joined: 28 Nov 2008 Posts: 24
|
Hi jeff..
I dont think so thts we should not define the queue manager name.
because where i have to put the message in which queue. So for that i have to define queue manager name... as well as the Queue name where i want to put the message.... |
|
Back to top |
|
 |
zulkernain.kanjariwala |
Posted: Wed Dec 03, 2008 2:22 am Post subject: |
|
|
Novice
Joined: 28 Nov 2008 Posts: 24
|
Hi Vitor !
You Just Help Me With " how to send messages to remote queues? From Client Machine"  |
|
Back to top |
|
 |
Vitor |
Posted: Wed Dec 03, 2008 2:23 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
zulkernain.kanjariwala wrote: |
See Vitor... I know both problem is entirely different .. |
Then you should have started a new thread.
zulkernain.kanjariwala wrote: |
So you vitor try to solve the second problem..  |
How? You've not said what happens when you use amqsputc. Just that your Java code is incorrectly written and blows up.
Looking at your set up, I think you need to review your queue manager set up. You don't have enough objects set up (or mentioned. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
Vitor |
Posted: Wed Dec 03, 2008 2:24 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
zulkernain.kanjariwala wrote: |
Hi Vitor !
You Just Help Me With " how to send messages to remote queues? From Client Machine"  |
You just read the documentation. Fully, correctly and completely.
If you've got a question, we'll answer it. If you want to be spoon fed, we won't _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
Vitor |
Posted: Wed Dec 03, 2008 2:25 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
zulkernain.kanjariwala wrote: |
So for that i have to define queue manager name... as well as the Queue name where i want to put the message.... |
No you don't. RTFM!  _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
|