-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Senthil,

senthil gugan wrote:
>      I am using the apache-tomcat 4.1 in my Linux Suse OS. 
>      An exception is occurs every time I shutdown the tomcat server.
>
> Catalina.stop: java.net.ConnectException: Connection refused
> java.net.ConnectException: Connection refused

I think you are not actually shutting down your server. This isn't a
shutdown exception. This is an exception being thrown when trying to
shutdown.

That sounds like nonsense, right?

Remember that the server is already running. When you run shutdown.sh,
you're starting up another process that tries to communicate with the
running instance of Tomcat to request a shutdown. The "shutdown" program
is failing. Tomcat is never getting the shutdown message.

Check your server.xml for the server port:

<Server port="[shutdown port] shutdown="SHUTDOWN">

Make sure that "shutdown port" has the value you expect it to have. You
might try netstat:

$ netstat -plan | grep java

This ought to show you which ports are being used by which processes. If
you don't see a java process listening on the shutdown port, then
something is wrong.

You can also get this error if Tomcat isn't actually running. I assume
it's running since you want to shut it down.

- -chris

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGpMnX9CaO5/Lv0PARAkm6AJwMq1gSZVNeXQjxlM55avuaI8Q93wCbBWdJ
rEcGKaFwHQJb2kPuPvDKidE=
=NIEn
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to