Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > RMI debug

Thread Tools

RMI debug

dimson2007 dimson2007 is offline
Junior Member
Join Date: Nov 2007
Posts: 1
Please i am trying without success to debug my rmi application in MyEclipse RDA
I was in this site , i used informations below to try :
First of all, your server will have to be launched with the following
run-time parameters passed to Java VM:

-Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,server=y,address=8000 ,suspen

Here 8000 is the port number that the VM will listen on for debugging. You
can choose a different port.

Then, with the server running, click on "Debug" button in the Eclipse
toolbar, this displays the Debug dialog. Select "Remote Java Application"
and press the "New" button. Fill in the Project field, set host to
"localhost", and port to 8000 (or whatever you used in the "address"
parameter above). Click on the "Source" tab and set the source lookup path
to include the source code directories of your server (you will need it if
you put breakpoints in the code and want to walk through the code, executing
statements one by one, or check the state of the variables etc.)

Finally, press the "Debug" button at the bottom of the Debug dialog, and
Eclipse debugger will connect to the running Java VM. At this point, you are
in business.

my problem is when i want to debug i have the following exception:
Listening for transport dt_socket at address: 8000
java.lang.NoClassDefFoundError: ,suspen
Exception in thread "main"

Please can somebody help me i suffer already 3 days
Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
debug RMI NotSerializableException Shin Java 7 08-03-2005 06:28 PM
Why does java.rmi.Naming not implement interface java.rmi.Registry? Jan Schulze Java 1 03-26-2005 07:45 AM
RMI Vs RMI over IIOP JScoobyCed Java 1 01-28-2005 09:54 AM
RMI, JINI or RMI/IIOP Buu Nguyen Java 1 08-25-2004 11:28 AM
How to Debug RMI server ? Laufrech Java 1 06-29-2004 07:37 PM