aspose file tools*
The moose likes IDEs, Version Control and other tools and the fly likes Shutdown command with Apache Tomcat and Eclipse 3.4.2 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Shutdown command with Apache Tomcat and Eclipse 3.4.2" Watch "Shutdown command with Apache Tomcat and Eclipse 3.4.2" New topic
Author

Shutdown command with Apache Tomcat and Eclipse 3.4.2

Remko Strating
Ranch Hand

Joined: Dec 28, 2006
Posts: 893
By shutting down Apache Tomcat 5.5. within the servers by using Eclipse 3.4.2 I sometimes get the next error

StandardServer.await: Invalid command '' received or
StandardServer.await: Invalid command ''SHUTDOW" received

The command should be SHUTDOWN.

This is happening sometimes and not always when shutting down Tomcat so this makes it very strange for me.

I have adjusted the server.xml file so that could be problem, but with the normal server.xml file I get the same problem.

The line in the server.xml file is <Server port="8005" shutdown="SHUTDOWN">

Possible solutions

Make Eclipse give the correct command always.
Let Tomcat make the shutdown without the command or a list of commands.

Do you know how to accomplish this or is there an other solution.

Thanks in advance,








Remko (My website)
SCJP 1.5, SCWCD 1.4, SCDJWS 1.4, SCBCD 1.5, ITIL(Manager), Prince2(Practitioner), Reading/ gaining experience for SCEA,
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Shutdown command with Apache Tomcat and Eclipse 3.4.2