Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » Command used to stop tomcat
Command used to stop tomcat [message #633073] Fri, 15 October 2010 09:38 Go to next message
Richard Evans is currently offline Richard EvansFriend
Messages: 8
Registered: July 2009
Junior Member
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.
Re: Command used to stop tomcat [message #633127 is a reply to message #633073] Fri, 15 October 2010 13:10 Go to previous messageGo to next message
Larry Isaacs is currently offline Larry IsaacsFriend
Messages: 1354
Registered: July 2009
Senior Member
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.

Cheers,
Larry
Re: Command used to stop tomcat [message #633132 is a reply to message #633073] Fri, 15 October 2010 13:19 Go to previous messageGo to next message
Richard Evans is currently offline Richard EvansFriend
Messages: 8
Registered: July 2009
Junior Member
Removing the properties would work fine for me. Are the stripped properties hardcoded or is there some configuration somewhere I can update?

Richard
Re: Command used to stop tomcat [message #633215 is a reply to message #633132] Fri, 15 October 2010 16:37 Go to previous message
Larry Isaacs is currently offline Larry IsaacsFriend
Messages: 1354
Registered: July 2009
Senior Member
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


They are currently hardcoded.

Larry
Previous Topic:Helios JSDT bug?
Next Topic:Nested lib folder structure at deployment on JBoss AS 5.1 in server view
Goto Forum:
  


Current Time: Fri Mar 29 15:41:35 GMT 2024

Powered by FUDForum. Page generated in 0.02613 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top