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 » User Node and WMB Trace, don't working

Post new topic  Reply to topic
 User Node and WMB Trace, don't working « View previous topic :: View next topic » 
Author Message
ovasquez
PostPosted: Thu Feb 11, 2010 3:06 pm    Post subject: User Node and WMB Trace, don't working Reply with quote

Centurion

Joined: 09 Dec 2005
Posts: 141
Location: Lima, Peru

I develoment a User node, i use Java, this work fine, but i like integration with WMB User Trace, but don't work...my node never catch Trace ON, for example when i start WMB trace
(mqsichangetrace Broker -u -e default -f My_Flow -l debug )
Code:

public void evaluate(MbMessageAssembly assembly, MbInputTerminal inTerm) throws MbException
   {
      . . .
      System.out.println(">>>>>>>>>>>>>>>>>>>>>>"+com.ibm.broker.trace.Trace.isOn);
 ...

Print: False ....ever.

What is the problem¿?, is posibled User Node catch User Trace from WMB¿?
_________________
Oscar Vásquez Flores
Back to top
View user's profile Send private message Send e-mail
kimbert
PostPosted: Thu Feb 11, 2010 3:17 pm    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

The problem is that you are trying to write to the user trace using System.out.println. What made you think that this was possible?
Back to top
View user's profile Send private message
ovasquez
PostPosted: Thu Feb 11, 2010 3:21 pm    Post subject: Reply with quote

Centurion

Joined: 09 Dec 2005
Posts: 141
Location: Lima, Peru

kimbert wrote:
The problem is that you are trying to write to the user trace using System.out.println. What made you think that this was possible?

Not...is only test, i like catch Trace status...my complete code:

Quote:

if(Trace.isOn) Trace.logNamedTrace(this,"method", "text");


BUT Trace.isOn is False...every...
_________________
Oscar Vásquez Flores
Back to top
View user's profile Send private message Send e-mail
kimbert
PostPosted: Thu Feb 11, 2010 3:31 pm    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

Ah!

This might help...
http://publib.boulder.ibm.com/infocenter/wmbhelp/v6r1m0/topic/com.ibm.etools.mft.doc/as04520_.htm
Back to top
View user's profile Send private message
ovasquez
PostPosted: Thu Feb 11, 2010 3:40 pm    Post subject: Reply with quote

Centurion

Joined: 09 Dec 2005
Posts: 141
Location: Lima, Peru

kimbert wrote:
Ah!

This might help...
http://publib.boulder.ibm.com/infocenter/wmbhelp/v6r1m0/topic/com.ibm.etools.mft.doc/as04520_.htm



...this help is about class ..MbService, for Log message.in system log..for example syslog or eventviewer in windows...i need information about WMB User Trace...
_________________
Oscar Vásquez Flores
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » User Node and WMB Trace, don't working
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.