Yogaraj,

You have to set this environment variable in the terminal/command window right before you start ServiceMix itself. After the variable has been set, you start servicemix using bin\servicemix.bat as usual.

In the logging, you should see something like
servicemix: Enabling Java debug options: -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005
Listening for transport dt_socket at address: 5005
Do you see this in your logging?

After ServiceMix has started, you can start a remote debugging session in Eclipse as mentioned on the web page I previously referred you to. Be sure to add the bean SU to the debug configuration. As soon as you started the remote debug session, you should see the list of ServiceMix threads in Eclipse's Debug view -- this means the debugger is communicating with the ServiceMix instance. If you set a breakpoint in the bean code, your Eclipse debugger should get control as soon as the breakpoint is hit.

Hope this helps,

Gert

[EMAIL PROTECTED] wrote:
can anyone send me step of step project remote debugging configuration in
eclipse
i did all the steps in docs but is not working do i have to write SET SERVICEMIX_DEBUG=TRUE premanently in servicemix.bat to make servicemix start in debug mode in eclipse? and
where exactly do i write?
Is the port 5005 rihgt for listening?
Regards,
Yogaraj

Reply via email to