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 » How can I debug the user-define Java Node in the WSAD ?

Post new topic  Reply to topic
 How can I debug the user-define Java Node in the WSAD ? « View previous topic :: View next topic » 
Author Message
frankies
PostPosted: Wed Mar 09, 2005 3:25 am    Post subject: How can I debug the user-define Java Node in the WSAD ? Reply with quote

Newbie

Joined: 07 Mar 2005
Posts: 6

Hi , Guys!
I am trying to make a user-define java node plugin . Now I have
complete the develp the node job and it can be pluged in the workbench
.However , it works failure in the message flow , I don't know how to debug the user-define node in my java source code . Please tell me how to do next , thank you in advance.

Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed Mar 09, 2005 4:45 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Well, of course, you can't use WSAD - you have to use Broker Toolkit...

But you're probably already doing that..

Here's a start.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
mcfennek
PostPosted: Wed Mar 09, 2005 8:04 am    Post subject: Reply with quote

Newbie

Joined: 31 Oct 2004
Posts: 8

As far as I know you have to start the JVM of the execution group (in which your plugin node is running) in debug mode.

To do this, use the following command (assuming the broker is already running):

mqsichangeproperties <BrokerName> -e <ExecutionGroup> -o ComIbmJVMManager -n jvmDebugPort -v <DebugPort>

you can use "netstat -a | more" to find an unused port (for example 10007)

After the broker/execution group is running in debug mode you have to set up the toolkit.
Under Settings -> Flow Debug select "Enable Java source debugging". You might uncheck "Enable ESQL source debugging", because strange things might happen if you select both options (at least for CSD4).

Now just attach the debugger to your message flow (including the plugin node) and set a breakpoint in your custom plugin....

hope this helps,

Michael
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 » How can I debug the user-define Java Node in the WSAD ?
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.