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 starting AMI client as a service

Post new topic  Reply to topic
 Problems starting AMI client as a service « View previous topic :: View next topic » 
Author Message
Djeyli
PostPosted: Tue May 14, 2002 5:14 am    Post subject: Problems starting AMI client as a service Reply with quote

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.

Does anyone have any suggestions ?
Back to top
View user's profile Send private message Send e-mail AIM Address Yahoo Messenger MSN Messenger
muralidhar
PostPosted: Wed May 15, 2002 3:32 pm    Post subject: Reply with quote

Acolyte

Joined: 28 Feb 2002
Posts: 50

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.
Back to top
View user's profile Send private message Send e-mail
Djeyli
PostPosted: Wed May 15, 2002 11:08 pm    Post subject: Problem solved Reply with quote

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.
Back to top
View user's profile Send private message Send e-mail AIM Address Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ API Support » Problems starting AMI client as a 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.