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 » To print the output

Post new topic  Reply to topic
 To print the output « View previous topic :: View next topic » 
Author Message
arun57
PostPosted: Tue Mar 04, 2008 10:26 pm    Post subject: To print the output Reply with quote

Novice

Joined: 14 Jan 2008
Posts: 21

Hi,

I was trying to print the output on the console using System.out.println().
But Iam not able to see the same on the console.Is there any other way to get it.
Back to top
View user's profile Send private message
BrianR
PostPosted: Tue Mar 04, 2008 10:59 pm    Post subject: Reply with quote

Novice

Joined: 04 Nov 2005
Posts: 12
Location: London

I assume you are trying to use System.out.println from a java compute node.

On windows you need to tick the "Allow service to interact with desktop" check box on the logon tab of the broker service (Control panel, Administrative Tools, Services). Not sure what you would have to do on other platforms.

log4j would be a better solution than System.out.println

Brian
Back to top
View user's profile Send private message
arun57
PostPosted: Wed Mar 05, 2008 9:56 pm    Post subject: Reply with quote

Novice

Joined: 14 Jan 2008
Posts: 21

Now Iam using log4j to print in the console.But Iam not sure about where to put log4j.properties file.
Back to top
View user's profile Send private message
BrianR
PostPosted: Wed Mar 05, 2008 11:08 pm    Post subject: Reply with quote

Novice

Joined: 04 Nov 2005
Posts: 12
Location: London

Anywhere in the classpath or if you want to explicitly load the properties file have a look at the following post

http://www.mqseries.net/phpBB2/viewtopic.php?t=30663

Brian
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 » To print the output
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.