In server.xml ( for my installation it is at /opt/jsws70/https-<user>/config/server.xml )
1. Set debug option under jvm to true.
<debug>true</debug>
2. Set the port on which debugging to be enabled
<debug-jvm-options>-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=<desired port></debug-jvm-options>
3. Now for Eclipse configuration, go to debug configuration. Use server name or IP and in the port option, put the same port that you have set in server.xml <desired-port>
4. If you need more detail, please follow steps in Remote Debugging - Tomcat+Eclipse
Friday, January 23, 2009
Remote Debugging - SunOne+Eclipse
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment