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 » General IBM MQ Support » Command service object won't run on Windows

Post new topic  Reply to topic
 Command service object won't run on Windows « View previous topic :: View next topic » 
Author Message
slonkoski
PostPosted: Mon Oct 06, 2008 12:00 pm    Post subject: Command service object won't run on Windows Reply with quote

Acolyte

Joined: 18 Mar 2005
Posts: 52

Hi,
I setup a command service to fire off a shell script on a Linux server, works like a champ (no surprise!) Trying to do the same on Windows has me pulling my nose hairs!

I tried putting the bat file in MQ's bin directory, I checked security, bunch of other silly stuff. When I run the script locally it works fine, just not when called by the command service I built. Anyone have any suggestions?

This setup fails to execute:

DEFINE SERVICE('TEST') +
SERVTYPE(COMMAND) +
CONTROL(QMGR) +
STARTCMD('M:\programs\test_start.bat') +
STOPCMD('M:\programs\test_stop.bat') +
REPLACE

This works fine:

DEFINE SERVICE('TEST') +
SERVTYPE(COMMAND) +
CONTROL(QMGR) +
STARTCMD('/export/home/scott/test_start.sh') +
STOPCMD('/export/home/scott/test_stop.sh') +
REPLACE
Back to top
View user's profile Send private message
mqjeff
PostPosted: Mon Oct 06, 2008 12:09 pm    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Is the M drive mapped in the login environment of the MUSR_MQADMIN when the qmgr starts up?
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 » General IBM MQ Support » Command service object won't run on Windows
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.