Hi, all.

Anyone on this list manage to use JDEbug on JRun servlets?  If so, I'd
love to know about it.

Details below if you know anything about this.


Thanks in advance,

 - Mike



================================================================

I'm running JRun 2.3.3 on Windows 2000 with Sun's jdk1.3 and want to
debug a servlet using a debugger (Paul Kinnucan's JDE-2.1.8) that will
attach to the JRun servlet jvm.

I can debug a (non-servlet) HelloWorld program just fine.  I set up the
debugger to listen (on port 8004) and invoke the program outside the
debugger: 

java -Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,address=8004,server=n,suspend=y 
HelloWorld

The JVM starts up, contacts the debugger on port 8004 and debugging /
execution proceeds as expected.

BUT WITH MY SERVLET...  I prepare the debugger, add the following to
c:/JRun/jsm-default/properties/jsm.properties:

java.args=-Xdebug -Xnoagent 
-Xrunjdwp:transport=dt_socket,address=8004,server=n,suspend=y

and Restart JRun (service mode).  The JVM contacts the debugger, I set
a breakpoint and continue.  

But when I invoke the servlet from a browser I don't seem to hit the
breakpoint -- the servlet just executes normally.

Might I be connecting to the wrong process?  Something I'm missing in the
threading model?

Reply via email to