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

André,

On 4/7/2009 7:57 AM, André Warnier wrote:
> A Schrödinger Tomcat would be one that exists multiple times, in quantum
> superposition. Which would probably create problems with all of them
> trying to listen on the same TCP ports. Unless of course the listening
> port only gets instantiated at the first interaction with one of the
> Tomcats.

I would think that a Schrödinger Tomcat would be one configured thusly:

1. ROOT context captures all incoming requests and routes them to the
   CheckForTomcatRunningServlet.
2. CheckForTomcatRunningServlet is implemented as follows:

   public void service(...) {
     System.exit(0);
   }

Tomcat is either up or not. You are outside the "box" (ha ha ha) so you
can only check if it's up by sending an HTTP request to it. Is it running?

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

iEYEARECAAYFAknboY4ACgkQ9CaO5/Lv0PCyiwCfUtPg9APi+7e5vQ7hKZHC1XWx
9/YAniya2ZZgU6Epe0R9spxHBeprz4s9
=QCAD
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to