Author |
Message
|
Sanjeev |
Posted: Thu Oct 13, 2005 5:45 am Post subject: Problems in Running the Windows Service |
|
|
Novice
Joined: 27 Sep 2005 Posts: 15
|
Hi All,
I created a Windows Service for accessing the MQSeries QueueManager (for example MYL1) and itz working fine in our development systems...But when trying to deploy at the clients place getting the Error Message logged as
"MQRC_Q_MGR_NAME_ERROR"
Means the Queue Manager is not recognised for access...
Please reveals that what might be the problems that can be taken care????
thanks in advance... |
|
Back to top |
|
 |
jefflowrey |
Posted: Thu Oct 13, 2005 5:47 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Are you sure that it is the right queue manager name for the connection you are trying to establish?
You should change your code to log more information.
Also, you are aware that running a program as a service changes what userid is running that program, which *will* change the security setup that is needed. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
Sanjeev |
Posted: Fri Oct 14, 2005 1:02 am Post subject: Problems in Running the Windows Service |
|
|
Novice
Joined: 27 Sep 2005 Posts: 15
|
Yes the QueueManager Name is correct...
I have one more doubt regarding the Properties of the Window Service...
The adjustments that i have made are as follows:
Properties --> LogOn --> Local System account --> Checked the Allow Serivce to interact with Desktop....
Please advice for any more settings needed...
Thanks
Sanjeev |
|
Back to top |
|
 |
wschutz |
Posted: Fri Oct 14, 2005 2:07 am Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
Is this an MQ client application (that is, are you using the MQ client) or a server application (qmgr on the same machine)??
If a client, how are you setting the environment? MQSERVER, MQCHTAB etc variables? _________________ -wayne |
|
Back to top |
|
 |
Sanjeev |
Posted: Fri Oct 14, 2005 2:49 am Post subject: |
|
|
Novice
Joined: 27 Sep 2005 Posts: 15
|
Yes itz an MQClient application(Yes i am using the MQClient, QMGR is on the remote machine)....
I am setting the environment variables as follows:
MQCHLLIB : C:\Program Files\IBM\WebSphere MQ\Exits
MQCHLTAB : chltab.bin
i am getting the problem when the client is trying to start the windows Service and the event viewer is logged with message as the Exit DLL is not found...but the preliminary settings are done as like in the development system where it is working fine...
Please advice.... |
|
Back to top |
|
 |
wschutz |
Posted: Fri Oct 14, 2005 3:00 am Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
Are you setting those variables as SYSTEM or USER variables? (and did you re-boot after setting them?)
EDIT:
I just saw this, are you seeing an error in the qindos event viewer?
Quote: |
and the event viewer is logged with message as the Exit DLL is not found. |
_________________ -wayne |
|
Back to top |
|
 |
Sanjeev |
Posted: Fri Oct 14, 2005 3:07 am Post subject: |
|
|
Novice
Joined: 27 Sep 2005 Posts: 15
|
Yes i am setting those variables as User variables and also reboot....
Yes the client says that he is seeing the error message in the Event Viewer.... |
|
Back to top |
|
 |
jefflowrey |
Posted: Fri Oct 14, 2005 3:11 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Sanjeev wrote: |
Yes i am setting those variables as User variables and also reboot.... |
Set them as SYSTEM variables and try again. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
Sanjeev |
Posted: Fri Oct 14, 2005 3:32 am Post subject: |
|
|
Novice
Joined: 27 Sep 2005 Posts: 15
|
Yes our client has changed the environment variables from User to System and still getting the same error message...
hey he is also getting some error messages in the following path:
C:\Program Files\IBM\WebSphere MQ\Errors\AMQERR01.LOG file that it is not able to detect the Exit DLL.... |
|
Back to top |
|
 |
wschutz |
Posted: Fri Oct 14, 2005 5:45 am Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
Quote: |
hey he is also getting some error messages in the following path:
C:\Program Files\IBM\WebSphere MQ\Errors\AMQERR01.LOG file that it is not able to detect the Exit DLL.... |
I think you need to post the entire relevant error message from amqerr01.log. _________________ -wayne |
|
Back to top |
|
 |
kevinf2349 |
Posted: Fri Oct 14, 2005 5:45 am Post subject: |
|
|
 Grand Master
Joined: 28 Feb 2003 Posts: 1311 Location: USA
|
Quote: |
MQCHLTAB : chltab.bin
|
Shouldn't that be
MQCHLTAB : AMQCLCHL.TAB (unless you intentionally renamed it I guess)
?
Is the channel to your queue manager defined in the table correctly? |
|
Back to top |
|
 |
|