Jrun, Java Debugger: Getting them to play with each other
Posted on 2004-11-29
A company I am working for is using JRun 3 ( they have
plans for moving to JRun 4, but it is going to take a
I am using a multipurpose IDE called Visual Slickedit 9.0
that comes with a java debugger ( it looks like a front
end to the jdk that comes with the jsdk ).
I am having trouble attaching the debugger to the remote
jvm for a JRun webapp/site.
The directions (below) that come with Visual Slickedit call
for feeding the remote vm some special arguments and
I am going to the "java arguments" field in my web app and
inserting the following string ( adjusting for the port
of the web app):
-Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000
Once I do however, I can't get the webapp to restart.
Do I need to prepend "java" to the string above?
If not, what do I need to do to get the java debugger
and the JRun 3 web app talking to each other?
Thanks in advance for any insights or information.
( from the slickedit help section ):
Attaching to a Remote VM (Java Only)
To attach to a remote VM:
1. Start the remote VM with command arguments similar to the following:
Java -Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,server=y,
suspend=y,address=8000 MainClass Arg1 Arg2
2. Choose Attach to Remote VM\u2026 from the Debug menu.