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 Java / JMS » To start a trigger monitor as a MQ service.

Post new topic  Reply to topic
 To start a trigger monitor as a MQ service. « View previous topic :: View next topic » 
Author Message
Frnd
PostPosted: Tue Nov 27, 2007 4:10 am    Post subject: To start a trigger monitor as a MQ service. Reply with quote

Apprentice

Joined: 04 Jun 2007
Posts: 33

Hi

I am trying to automate the process of starting the trigger monitor by adding it as a MQ service.

I created a service with the below command
DEFINE SERVICE ('INIT') +
DESCR(' ') +
STARTCMD('/usr/mqm/bin/runmqtrm') +
STARTARG('-m +myqmgr+ -q INITQ') +
STOPCMD('/usr/mqm/bin/amqsstop') +
STOPARG('-m +myqmgr+ -p +2563142+') +
STDOUT(home/tm_out') +
STDERR('/home/tm_err') +
CONTROL(QMGR) +
SERVTYPE(SERVER) +
REPLACE

But when I started and stopped the queuemanager , it didn't get started. Is there anything I'm missing out .

I'm using AIX and MQV 6.0
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue Nov 27, 2007 4:15 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

Does it start if a START SERVICE command is issued manually?

Are there any log entries regarding the service indicating why it doesn't start?

Does an equivalent trigger monitor start if run from a command prompt or as a demon process?
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Tue Nov 27, 2007 6:02 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

This looks like a UNIX process.
in your start arg at the end add ' &' to put service process in the background like you would normally do from the command prompt.

Enjoy
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Frnd
PostPosted: Tue Nov 27, 2007 7:15 am    Post subject: Reply with quote

Apprentice

Joined: 04 Jun 2007
Posts: 33

PFB the responses.

Does it start if a START SERVICE command is issued manually?

Yes

Are there any log entries regarding the service indicating why it doesn't start?

No

Does an equivalent trigger monitor start if run from a command prompt or as a demon process?

Yes.
Is there something else I need to check.
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue Nov 27, 2007 7:21 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

Then I'd try the & suggested by my most worthy associate.

Then I'd try applying maintenance if by v6 you mean v6.0.0.0 - you should be on v6.0.2 at least.

After that it's PMR time.
_________________
Honesty is the best policy.
Insanity is the best defence.
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 Java / JMS » To start a trigger monitor as a MQ 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.