|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Specifying APPLICID on process for Windows |
« View previous topic :: View next topic » |
Author |
Message
|
gpklos |
Posted: Tue Feb 06, 2007 3:09 pm Post subject: Specifying APPLICID on process for Windows |
|
|
Centurion
Joined: 24 May 2002 Posts: 108
|
I have a question related to specifying the APPLICATION ID in the
process definition for a windows websphere mq queue manager. I have a
MSCS cluster set up with a queue manager. I have a trigger that kicks
off a process, which in turn runs a batch file. I'm getting inconsistent
results depending on how I specify the file to execute. If I put the
batch file on the C: drive and specify Windows NT as the application
type, and specify
C:\Program Files\IBM\WebSphere MQ\retrigger.bat
for the APPLICID, everything works. ie. I don't use any quotes around
the path or anything. Now if I put the batch file on the shared D: drive
(in the MSCS cluster) with an APPLICID of
D:\WebSphere MQ\mqadmin_scripts\retrigger\retrigger.bat,
when the trigger fires the error that shows up in the log is
"'D:\WebSphere' is not recognized as an internal or external command,
operable program or batch file". So apparently it doesn't like the
spaces in the command line. So I changed the APPLICID to the following,
D:\Websph~1\mqadmi~1\retrig~1\retrigger.bat.
Now it triggers and finds the batch file. So why does MQ find the batch
file on the C drive with spaces in the command, but doesn't find it on
the D drive with spaces? I need to use the old "DOS" directory names for
it it work.
Also two other things, I did try enclosing the whole line in double
quotes (ie. "D:\websphere mq\mqadmin_scripts..."), and even tried the
double quotes on the "C:\program files\ibm\..." and that doesn't work.
So I guess my questions are why can't MQ find the batch file on the D
drive while using long directory names with spaces, but it can on the C
drive?
And, why don't using double quotes around commands lines work either?
Thanks,
Gary |
|
Back to top |
|
 |
tleichen |
Posted: Thu Feb 08, 2007 8:00 am Post subject: |
|
|
Yatiri
Joined: 11 Apr 2005 Posts: 663 Location: Center of the USA
|
Hmmm.... very interesting. Might we know what version of Windows and what version of Websphere MQ you are using?  _________________ IBM Certified MQSeries Specialist
IBM Certified MQSeries Developer |
|
Back to top |
|
 |
zpat |
Posted: Thu Feb 08, 2007 9:28 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
Are the file systems the same type on C and D? |
|
Back to top |
|
 |
gpklos |
Posted: Fri Feb 09, 2007 4:38 am Post subject: Specifying APPLICID on process for Windows |
|
|
Centurion
Joined: 24 May 2002 Posts: 108
|
The operating system is Windows 2003 server addition and WMQ 6.0. Ibm said that traditionally windows only recognizes the drive where windows was installed. What they said is put the D:\ drive in the environment variables for the path. I did that and now MQ recognizes any path (whether it has spaces or not). So I guess by just putting D:\ in the path, now windows thinks of it like it does the C:\ drive. Anyways that was the answer, and it works, so I guess I should be happy.
I believe the C and D file systems are the same. At least that is what I was told.
Thanks,
Gary |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|