|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
How can I debug the user-define Java Node in the WSAD ? |
« View previous topic :: View next topic » |
Author |
Message
|
frankies |
Posted: Wed Mar 09, 2005 3:25 am Post subject: How can I debug the user-define Java Node in the WSAD ? |
|
|
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 |
|
 |
jefflowrey |
Posted: Wed Mar 09, 2005 4:45 am Post subject: |
|
|
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 |
|
 |
mcfennek |
Posted: Wed Mar 09, 2005 8:04 am Post subject: |
|
|
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 |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|