JRun & using a Java Debugger

From: Steve (nospam_at_please.reply.to.group.thanks.com)
Date: 11/29/04


Date: Mon, 29 Nov 2004 12:58:01 -0500


Hi;

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
while ).

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
restarting it.

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.

Steve

( 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.



Relevant Pages

  • JRun and using a Java Debugger
    ... A company I am working for is using JRun 3 (they have ... that comes with a java debugger (it looks like a front ... I am having trouble attaching the debugger to the remote ... Attaching to a Remote VM ...
    (comp.lang.java.programmer)
  • JRun and using a java debugger
    ... A company I am working for is using JRun 3 (they have ... that comes with a java debugger (it looks like a front ... I am having trouble attaching the debugger to the remote ... Attaching to a Remote VM ...
    (comp.lang.java.help)
  • Re: JRun and using a Java Debugger
    ... Steve wrote: ... > I am having trouble attaching the debugger to the remote ... > jvm for a JRun webapp/site. ... > Attaching to a Remote VM ...
    (comp.lang.java.programmer)
  • running olwm under a VNC Xserver?
    ... I'm attempting to use Java on a remote Sun Station. ... But the "preferences" pop-up in OLWM does... ...
    (comp.unix.solaris)
  • Re: Remote Desktop and Java Application
    ... We use a Java application to update some database records. ... The problem is that the menus in the Java application do not work ... I had other remote desktop software installed previously and I think ...
    (microsoft.public.windowsxp.work_remotely)