Is it possible to configure the command used to stop tomcat?
It seems to use the start launch configuration by default. This causes problems if the JRE has been configured to listen on certain ports (for JMX, SNMP, etc) because the stop command then fails to listen and does not get a chance to execute the stop.
On 10/15/2010 5:38 AM, Richard Evans wrote:
> Is it possible to configure the command used to stop tomcat?
> It seems to use the start launch configuration by default. This causes
> problems if the JRE has been configured to listen on certain ports (for
> JMX, SNMP, etc) because the stop command then fails to listen and does
> not get a chance to execute the stop.
Unfortunately, what is available is https://bugs.eclipse.org/bugs/show_bug.cgi?id=153680 At the moment, a
number of "com.sun.management.jmxremote" system arguments are removed
for the stop command, so JMX shouldn't be a problem. It is simple to
add additional system properties to remove. Less simple is implementing
separate start and stop VM arguments.
On 10/15/2010 9:19 AM, Richard Evans wrote:
> Removing the properties would work fine for me. Are the stripped
> properties hardcoded or is there some configuration somewhere I can update?
>
> Richard