Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

To enable hot code replacement during remote debugging e.g. from the Eclipse IDE you need to add the following java option to the startup script of the Catalina server.

-Xdebug -agentlib:jdwp=transport=dt_socket,address=localhost:8000,server=y,suspend=n


In a WebManager Community Edition installation of for example WebManager 9.7.1 this would be the 

<<WebManager Installation Folder>>\apache-tomcat\bin\startup.bat

Replace the following line:

set JAVA_OPTS=%JAVA_OPTS% -Xdebug -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n

with
set JAVA_OPTS=%JAVA_OPTS% -Xdebug -agentlib:jdwp=transport=dt_socket,address=localhost:8000,server=y,suspend=n

 
Restart Tomcat to activate these settings.

  • No labels