I have an application running in tomcat 3.3.2, and the project created in Eclipse 3.1 I am trying to debug this application, from eclipse, on a windows machine. I started the tomcat server with the option -Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,address=8081,server=y,suspend=n
but once the server started, if i check the listening ports, port 8081 is not displayed. Can anybody help me in this?
Instructions for Tomcat 5.5 (modify it to suit tomcat 3.3.2)
Modify <Tomcat install folder>/bin/catalina.bat
set DEBUG_OPTS= -Xdebug -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n
Start Tomcat. In Eclipse, go to "Run->Debug...". Click on "Remote Java Applications", then click "New". Type in the title and all. Notice that port 8000 from the Tomcat instructions. Save and run. Eclipse will connect to the VM that Tomcat is running under.
MCSD, SCJP, SCWCD, SCBCD, SCJD (in progress - URLybird 1.2.1)
Joined: Dec 29, 2004
Lynette Thanks for the reply..
In tomcat 3.3.2 there is no catalina file. it uses tomcat.bat. I added this option in that, but it did not work out. I was wondering if that option is supported by tomcat3.3.2.
If you have any idea, please let me know.
Joined: Aug 25, 2005
i havn't used tomcat 3.3.2 before and so i cant be of any more help. why dont you upgrade your tomcat to the latest and greatest version - 5.5?