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 » WebSphere Message Broker (ACE) Support » executing mqsicreatebar from ANT with -trace but no trace

Post new topic  Reply to topic
 executing mqsicreatebar from ANT with -trace but no trace « View previous topic :: View next topic » 
Author Message
inMo
PostPosted: Fri Mar 18, 2022 5:08 am    Post subject: executing mqsicreatebar from ANT with -trace but no trace Reply with quote

Master

Joined: 27 Jun 2009
Posts: 216
Location: NY

Friends - when executing mqsicreatebar with -trace option from command line everything works as expected and valuable trace information provided. When executing from within ANT task, trace seems to be suppressed. Even using -trace -v build.log does not route data to log file. Has anyone dealt with this before?
Back to top
View user's profile Send private message
inMo
PostPosted: Fri Mar 18, 2022 5:38 am    Post subject: Reply with quote

Master

Joined: 27 Jun 2009
Posts: 216
Location: NY

Found a clue in this post: http://www.mqseries.net/phpBB/viewtopic.php?t=48671&sid=d11422db73b0bf0afbb7a7de844db53c

A reply highlighted vmlauncher="false" as a property on an existing exec task for mqsicreatebar.

vmlauncher: Run command using the JVM's execution facilities where available. If set to false the underlying OS's shell, either directly or through the antRun scripts, will be used. Under some operating systems, this gives access to facilities not normally available through JVM including, under Windows, being able to execute scripts, rather than their associated interpreter.

Running on windows, looks like explicitly setting vmlauncher=false causes the desired output.

If anyone has any thoughts on best practices I'm all ears. Thanks you!
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 » WebSphere Message Broker (ACE) Support » executing mqsicreatebar from ANT with -trace but no trace
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.