Here are some new proposals.
2) Bug 26010. Doh, '_' is a useful character in URIs. Big mistake from me :-( I plan to use the '#' character instead, which is not useable in a URI.
3) New connector shutdown. There is a problem with the current Tomcat shutdown order. It works like this:
- shutdown the connector
- shutdown the webapps (which includes waiting for servlet exec to end, which doesn't make much sense since the connector and its sockets are all gone)
This causes trouble in clustering scenarios, where requests which are currently being process will fail in a non predictible fashion. Shutting down in reverse order will not fix problems, as the connector will continue accepting requests (this would help a little, however).
So I propose using the following shutdown routine:
- notify the connector to stop accepting new requests (we can call this "pausing" the connector)
- shutdown the webapps
- shutdown the connector
This will give requests which were being processed time to complete, and new requests will no longer be accepted.
In addition, capability to pause / resume the connector will be added (new JMX operations), which will be useful for cluster node maintenance. For example, to cleanly take down a node: pause the connector, wait for the requests to complete (and session data to replicate), then do the needed maintenance, and finally either unpause the connector or restart the server.
I will proceed with the implementation of 2 and 3. For 3, it is likely that I will add "pause" and "resume" methods on the Connector and ProtocolHandler.
Rémy
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]