File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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,
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Shutdown command with Apache Tomcat and Eclipse 3.4.2
 
Similar Threads
shutdown command
Possible causes of Intermittent/unexpected Tomcat 5.5.25 shut-downs?
tomcat running but gives an Invalid HTTP get error
Invalid command 'SHUTDOW' received - Windows 7
Tomcat is *almost* running