I wanted to configure remote debugging from Eclipse. Tomcat works as a windows service.
This bit is fine, a quick google pointed me to the correct settings to add to wrapper.conf to enable this. There were entries already in the wrapper.conf file, so I copied / pasted the last entry and changed it:
wrapper.java.additional.8="-Djava.endorsed.dirs=C:/Program Files/OurApp/tomcat/common/endorsed"
wrapper.java.additional.8.stripquotes=TRUE
wrapper.java.additional.9="-Xdebug -Xrunjdwp:transport=dt_socket,server=y,address=9135,suspend=n"
wrapper.java.additional.9.stripquotes=TRUE
This did not work because the quotes around everything and stripquotes only apply to Linux systems.
Theoretically correct entries should be:
wrapper.java.additional.8=-Djava.endorsed.dirs="C:/Program Files/OurApp/tomcat/common/endorsed"
wrapper.java.additional.8.stripquotes=TRUE
wrapper.java.additional.9=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,address=9135,suspend=n
In the second example, quotation marks are not needed - there are no spaces to break it. The first example is due to the "Program Files" Am I correct in this assessment?
, / ? , ( qutoes), , , .
, min/max.
, , Linux.
:
?
, ?