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 Installation/Configuration Support » Getting Error While Sending Msg From Unix to Windows 2000

Post new topic  This topic is locked: you cannot edit posts or make replies. Goto page Previous  1, 2
 Getting Error While Sending Msg From Unix to Windows 2000 « View previous topic :: View next topic » 
Author Message
Vitor
PostPosted: Wed Dec 03, 2008 1:37 am    Post subject: Re: Getting Error While Sending Msg From Unix to Windows 200 Reply with quote

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
View user's profile Send private message
zulkernain.kanjariwala
PostPosted: Wed Dec 03, 2008 1:56 am    Post subject: Reply with quote

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
View user's profile Send private message
Vitor
PostPosted: Wed Dec 03, 2008 2:01 am    Post subject: Reply with quote

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
View user's profile Send private message
Vitor
PostPosted: Wed Dec 03, 2008 2:01 am    Post subject: Reply with quote

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
View user's profile Send private message
mqjeff
PostPosted: Wed Dec 03, 2008 2:01 am    Post subject: Reply with quote

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
View user's profile Send private message
zulkernain.kanjariwala
PostPosted: Wed Dec 03, 2008 2:09 am    Post subject: Reply with quote

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
View user's profile Send private message
zulkernain.kanjariwala
PostPosted: Wed Dec 03, 2008 2:12 am    Post subject: Reply with quote

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
View user's profile Send private message
zulkernain.kanjariwala
PostPosted: Wed Dec 03, 2008 2:22 am    Post subject: Reply with quote

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
View user's profile Send private message
Vitor
PostPosted: Wed Dec 03, 2008 2:23 am    Post subject: Reply with quote

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
View user's profile Send private message
Vitor
PostPosted: Wed Dec 03, 2008 2:24 am    Post subject: Reply with quote

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
View user's profile Send private message
Vitor
PostPosted: Wed Dec 03, 2008 2:25 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic  This topic is locked: you cannot edit posts or make replies. Goto page Previous  1, 2 Page 2 of 2

MQSeries.net Forum Index » IBM MQ Installation/Configuration Support » Getting Error While Sending Msg From Unix to Windows 2000
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.