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 » Broker Java classes trace com.ibm.broker.trace

Post new topic  Reply to topic
 Broker Java classes trace com.ibm.broker.trace « View previous topic :: View next topic » 
Author Message
marcin.kasinski
PostPosted: Tue Dec 16, 2014 2:23 am    Post subject: Broker Java classes trace com.ibm.broker.trace Reply with quote

Sentinel

Joined: 21 Dec 2004
Posts: 850
Location: Poland / Warsaw

Environment: WMB 8.0.0.3

I have problem with LDAPSecurityProvider.

I would like to trace LDAP communication to investigate source of my problem.

I know that LDAPSecurityProvider uses com.ibm.broker.trace.Trace class.

I tought that this is JAVA interface for standard broker service trace.

How I test it (turn service trace on):

Code:
mqsichangetrace MBBROKER -t -b -l normal
 
Here I test my flow

mqsichangetrace MBBROKER -t -b -l none
     
mqsireadlog MBBROKER -t -b agent -f -o flowtrace.xml
mqsiformatlog -i flowtrace.xml -o userflowtrace.txt


Problem is that using service trace I can not see LDAP communication information in my service trace.

Can you tell me how to enable this trace (com.ibm.broker.trace.Trace) to see my LDAP communication trace and where this trace file is placed ?
_________________
Marcin
Back to top
View user's profile Send private message Visit poster's website
mqjeff
PostPosted: Tue Dec 16, 2014 5:44 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

...

Are you using built-in LDAP Security Provider, or are you using java code you've written and you're trying to use the Trace class to add information to the service trace?

If you're doing the later, it's possible that your trace messages are getting written to the standard out, rather than the service trace. There's an eg specific stdout file (on windows it's a console.out file that contains both stdout and stderr).
Back to top
View user's profile Send private message
marcin.kasinski
PostPosted: Tue Dec 16, 2014 7:09 am    Post subject: Reply with quote

Sentinel

Joined: 21 Dec 2004
Posts: 850
Location: Poland / Warsaw

mqjeff wrote:
...

Are you using built-in LDAP Security Provider, or are you using java code you've written and you're trying to use the Trace class to add information to the service trace?

If you're doing the later, it's possible that your trace messages are getting written to the standard out, rather than the service trace. There's an eg specific stdout file (on windows it's a console.out file that contains both stdout and stderr).



I'm using built-in LDAP Security Provider.

I know that it uses com.ibm.broker.securityProviders.MbLDAPSecurityProvider class from built-in ldapSecurityProvider.jar

I know that this class uses Trace class.


My question is:


How can I set this trace and where can I read this trace info.
_________________
Marcin
Back to top
View user's profile Send private message Visit poster's website
mqjeff
PostPosted: Tue Dec 16, 2014 7:25 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

You'll probably need to open a PMR.
Back to top
View user's profile Send private message
stoney
PostPosted: Tue Dec 16, 2014 11:34 am    Post subject: Re: Broker Java classes trace com.ibm.broker.trace Reply with quote

Centurion

Joined: 03 Apr 2013
Posts: 140

marcin.kasinski wrote:
Environment: WMB 8.0.0.3
Code:
mqsichangetrace MBBROKER -t -b -l normal
 
Here I test my flow

mqsichangetrace MBBROKER -t -b -l none
     
mqsireadlog MBBROKER -t -b agent -f -o flowtrace.xml
mqsiformatlog -i flowtrace.xml -o userflowtrace.txt



These commands are tracing the broker, rather than the execution group and any deployed message flows. Have you tried tracing the execution group?
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 » Broker Java classes trace com.ibm.broker.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.