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 » Problems in Running the Windows Service

Post new topic  Reply to topic
 Problems in Running the Windows Service « View previous topic :: View next topic » 
Author Message
Sanjeev
PostPosted: Thu Oct 13, 2005 5:45 am    Post subject: Problems in Running the Windows Service Reply with quote

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
View user's profile Send private message
jefflowrey
PostPosted: Thu Oct 13, 2005 5:47 am    Post subject: Reply with quote

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
View user's profile Send private message
Sanjeev
PostPosted: Fri Oct 14, 2005 1:02 am    Post subject: Problems in Running the Windows Service Reply with quote

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
View user's profile Send private message
wschutz
PostPosted: Fri Oct 14, 2005 2:07 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail AIM Address
Sanjeev
PostPosted: Fri Oct 14, 2005 2:49 am    Post subject: Reply with quote

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
View user's profile Send private message
wschutz
PostPosted: Fri Oct 14, 2005 3:00 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail AIM Address
Sanjeev
PostPosted: Fri Oct 14, 2005 3:07 am    Post subject: Reply with quote

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
View user's profile Send private message
jefflowrey
PostPosted: Fri Oct 14, 2005 3:11 am    Post subject: Reply with quote

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
View user's profile Send private message
Sanjeev
PostPosted: Fri Oct 14, 2005 3:32 am    Post subject: Reply with quote

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
View user's profile Send private message
wschutz
PostPosted: Fri Oct 14, 2005 5:45 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail AIM Address
kevinf2349
PostPosted: Fri Oct 14, 2005 5:45 am    Post subject: Reply with quote

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
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 » Problems in Running the Windows Service
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.