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 Installation/Configuration Support » java trigger application started via a bat file

Post new topic  Reply to topic
 java trigger application started via a bat file « View previous topic :: View next topic » 
Author Message
dboeckli
PostPosted: Thu Jun 03, 2004 7:24 am    Post subject: java trigger application started via a bat file Reply with quote

Newbie

Joined: 03 Jun 2004
Posts: 9

i'm refering to the following posting: http://www.mqseries.net/phpBB2/viewtopic.php?t=11888&highlight=triggered+application+work

what is about the TMC structure when my application was started via the trigger monitor which launched the .bat file. Is it still there?
It seems not:

my java program takes this path after activation:
public static void main (String args[]) throws IOException {
if (args.length < 1) --> error !

many for thanks for your help
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Thu Jun 03, 2004 8:26 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

It's still there if you configure the batch file to pass it through.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
JasonE
PostPosted: Fri Jun 04, 2004 12:51 am    Post subject: Reply with quote

Grand Master

Joined: 03 Nov 2003
Posts: 1220
Location: Hursley

Use something like %* in the batch program:
java myclass %*

Dont guarantee it works, but it might...
Back to top
View user's profile Send private message
dboeckli
PostPosted: Fri Jun 04, 2004 7:14 am    Post subject: solved Reply with quote

Newbie

Joined: 03 Jun 2004
Posts: 9

many thanks for your quick help...it works !

have a nice weekend
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 Installation/Configuration Support » java trigger application started via a bat file
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.