Posted: Tue May 14, 2002 5:14 am Post subject: Problems starting AMI client as a service
Apprentice
Joined: 03 Apr 2002 Posts: 28 Location: New Zealand
We are using the AMI 1.2.1 and MQ Series 5.2.1 on a Windows NT box.
When starting our client as an application it works properly.
When starting the client as a service, we receive a Reason Code 2018. We have looked at some security issues, but cant see anything wrong there !
We are running a multi-threaded client with multiple threads sending and receiving messages. Each thread has its own connection.
Do you mean U created windows NT service or service using MMC(MQSeries Services GUI) ? When run your application as Win NT Service, make sure it is running under user id that has enough rights to connect to QManager and for other MQI Calls. I remember we had problem that Win NT Service was not picking up MQServer environment variable.
Posted: Wed May 15, 2002 11:08 pm Post subject: Problem solved
Apprentice
Joined: 03 Apr 2002 Posts: 28 Location: New Zealand
Hi there
Initially we had the problem with user rights, but solving that one didn't help. We discovered that the problem lay in the queues being loaded too soon ! It would appear that it is imperative that the ORDER of loading is done correctly as well. After changing a few things around, it now works fine.
Thanks to those who posted / emailed me their suggestions.
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