Or you could "simply" install and configure the Sysdeo Tomcat plugin and let it do the rest for you...
The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
Joined: Mar 15, 2004
The following work for me:
'Debug' instance - connection type 'Standard (Socket Attach)', host localhost, port 8000.
JVM startup parameter (which happens to be passed in via an Ant task):
Now, start the server like normal. When you want to debug, run the debug task and it will try to connect to the JVM instance. The important thing is that you start the server like normal before you try to debug - running the debug task won't start the server for you.
I imagine that if you had some sort of firewall program it might block the port...I'd guess in this case you can set it to allow connections from localhost...
Hope that helps,
(Edit: make the port numbers match) [ August 10, 2004: Message edited by: Tim West ]
Joined: Aug 08, 2004
I can't do again.I run the jvm as you write and start the tomcat. And run->debug debug the project.
You need to set the aplication server to accept dedug requests (see above details describe this) and you need to tell eclipse where to fire the debug requests. Do this by run>debug. click on Remote java appliaction and then fill in the details.