poniedziałek, 13 kwietnia 2015

Remote debug Windows-based Tomcat service

To enable remote debugging in a Windows-based Tomcat service. Please follow the following steps to add debug settings to a Tomcat service.

  1. From the command line(run as administrator) call the following command

    %TOMCAT_HOME%/bin/tomcat6w.exe //ES//<ServiceName>

    where <ServiceName> is actual windows service name
    *A properties dialog box pops out.
  2. Navigate to the Java tab and add the following entries in the Java Options section


After restarting the service you'll be able to run remote debug on port 5005.

Brak komentarzy:

Prześlij komentarz