Author |
Message
|
Shikha Gupta |
Posted: Wed May 20, 2009 3:10 am Post subject: How to run WatchQ application |
|
|
Apprentice
Joined: 18 May 2009 Posts: 27
|
I have installes the MQ client
But when i run ms0h.exe for WatchQ
it says...
Problem with Mqconnect(2058): minimum startup watchq qmgr queue[queue2..queue5]
am I missing some steps in creating environment for running WatchQ? |
|
Back to top |
|
 |
Vitor |
Posted: Wed May 20, 2009 3:15 am Post subject: Re: How to run WatchQ application |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
Shikha Gupta wrote: |
am I missing some steps in creating environment for running WatchQ? |
Well, yes, maybe!
You were told here that you needed a working WMQ Client.
Check your client configuration (you did configure the client didn't you? Not just install the software?) with one of the samples. When that works, try this again. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
Shikha Gupta |
Posted: Wed May 20, 2009 3:18 am Post subject: |
|
|
Apprentice
Joined: 18 May 2009 Posts: 27
|
How do I check my client configuration? |
|
Back to top |
|
 |
Vitor |
Posted: Wed May 20, 2009 3:20 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
Shikha Gupta wrote: |
How do I check my client configuration? |
Vitor wrote: |
Check your client configuration .... with one of the samples |
Or a support pac. Or anything that makes a client connection. This is basic, basic stuff.
 _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
sumit |
Posted: Wed May 20, 2009 6:56 am Post subject: |
|
|
Partisan
Joined: 19 Jan 2006 Posts: 398
|
Shikha Gupta wrote: |
How do I check my client configuration? |
you can use rfhutilc, amqsputc or some other client APIs. _________________ Regards
Sumit |
|
Back to top |
|
 |
Shikha Gupta |
Posted: Wed May 20, 2009 9:44 pm Post subject: Problems while running WatchQ application |
|
|
Apprentice
Joined: 18 May 2009 Posts: 27
|
I have created the client server environment on windows XP as:
create queue manager CQM1 with listener running at 1010
create a server connection channel CLIENT.CQM1.
created an environment variable
MQSERVER=CLIENT.CQM1/TCP/localhost(1010)
while runing the WatchQ application I am getting these errors in system event log
Faulting application ms0h.exe, version 1.0.0.1, faulting module imqb23vn.dll, version 6.0.0.5138, fault address 0x0000bfe0.
Error on receive from host localhost (127.0.0.1).
An error occurred receiving data from localhost (127.0.0.1) over TCP/IP. This may be due to a communications failure.
Can somebody tell me where am I going wrong? |
|
Back to top |
|
 |
Vitor |
Posted: Wed May 20, 2009 11:49 pm Post subject: Re: Problems while running WatchQ application |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
Shikha Gupta wrote: |
Can somebody tell me where am I going wrong? |
For one thing, there's no need to shout.
Secondly, does the client connection work with one of the other tools mentioned, i.e. is it a problem with this application or a problem with the connection? (this is part of a technique I like to call "analyising the problem")
Thirdly, does the connection work if you use the default port? How did you select 1010 as a port number? What, in your view following your research and decision process, led you to use it? What's good about it in your situation? How does it meet your requirements? (More analyising there). _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
Shikha Gupta |
Posted: Wed May 20, 2009 11:58 pm Post subject: |
|
|
Apprentice
Joined: 18 May 2009 Posts: 27
|
I didnt intend to shout..sorry if it seemed so.
The default port no 1414 was being used by other queue manager so i selected 1010, the listener is working on this.
But I am not able to start the server connecion channel after creating both server and client channel definition(using MQSERVER variable). |
|
Back to top |
|
 |
sumit |
Posted: Wed May 20, 2009 11:59 pm Post subject: Re: Problems while running WatchQ application |
|
|
Partisan
Joined: 19 Jan 2006 Posts: 398
|
Shikha Gupta wrote: |
create queue manager CQM1 with listener running at 1010 |
You could be flirting with some other configuration while using 1010. _________________ Regards
Sumit |
|
Back to top |
|
 |
Vitor |
Posted: Thu May 21, 2009 12:01 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
Shikha Gupta wrote: |
The default port no 1414 was being used by other queue manager so i selected 1010, the listener is working on this. |
Valid point, but my question was how you selected 1010 rather than 1415 or 2414 or 3030.
Shikha Gupta wrote: |
I am not able to start the server connecion channel after creating both server and client channel definition(using MQSERVER variable). |
Meaning the START command fails? If so, why did you feel running the application would succeed?
And again I ask if you've tested with other client applications. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
Shikha Gupta |
Posted: Thu May 21, 2009 12:02 am Post subject: |
|
|
Apprentice
Joined: 18 May 2009 Posts: 27
|
|
Back to top |
|
 |
Vitor |
Posted: Thu May 21, 2009 12:09 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
Shikha Gupta wrote: |
sorry didn't get u! |
What I, and I suspect the other poster, are driving at is how you arrived at 1010 as a port number for a queue manager. It's an odd choice, more so as IP ports below 1023 are "well known". _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
Shikha Gupta |
Posted: Thu May 21, 2009 1:16 am Post subject: |
|
|
Apprentice
Joined: 18 May 2009 Posts: 27
|
How does it make difference...which ever be the port no of the listener? |
|
Back to top |
|
 |
Shikha Gupta |
Posted: Thu May 21, 2009 1:31 am Post subject: After creating the client environment , unable to run WatchQ |
|
|
Apprentice
Joined: 18 May 2009 Posts: 27
|
I am able to put mesages on the server queue manager and also retrieve them using amqsputc and amqsgetc command respectively.
That implies my client server environment is set up correctly.
But still while running the WatchQ application I get the errors as reported in the previous post.
Error on receive from host localhost (127.0.0.1).
An error occurred receiving data from localhost (127.0.0.1) over TCP/IP. This may be due to a communications failure.
Faulting application ms0h.exe, version 1.0.0.1, faulting module imqb23vn.dll, version 6.0.0.5138, fault address 0x0000bfe0. |
|
Back to top |
|
 |
Vitor |
Posted: Thu May 21, 2009 1:35 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
Shikha Gupta wrote: |
How does it make difference...which ever be the port no of the listener? |
If the listener's using a port which is reserved for, or in use by, another service it makes a difference.
The question here was how you determined that port 1010 was available at your site, and would remain so. If you're satisfied it's a valid choice, and your network people have no objections, then fine. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
|