After puzzling around with, I think the timing is this: 1. User enters "catalina.sh stop" 2. tomcat starts it shutdown process by gracefully stopping all the web applications 3. tomcat then serializes all the sessions for the web applications
The problem is that when the web application shuts down, the HiveMind filter is also shutdown, which shuts the registry down. The serialization process tries to get a service from the registry, which throws a registry shutdown exception. Does this make any sense? I'm also trying to figure out the timing for the startup sequence, but haven't nailed it yet. I will report back when I know more. Richard -----Original Message----- From: James Carman [mailto:[EMAIL PROTECTED] Sent: Thursday, November 11, 2004 1:23 PM To: [email protected] Subject: RE: HiveMind filter timing question What exactly are you trying to do? When exactly are you trying to use the serialization/deserialization service which is managed by HiveMind? -----Original Message----- From: Hensley, Richard [mailto:[EMAIL PROTECTED] Sent: Thursday, November 11, 2004 1:42 PM To: '[email protected]' Subject: HiveMind filter timing question We are using the hivemind filter in our application. One of the HiveMind services is used for interaction with the database. This service is used during serialization and deserialization of database persistent objects. We are using Tomcat which will serialize and deserialize sessions during a normal restart. What we have discovered is that HiveMind is not available because the filter has been shutdown by the time that Tomcat serializes the session. We still don't know, but we suspect, that HiveMind won't be available by the time that Tomcat deserializes the sessions. Does anybody have any suggestions? Our only thought was to use a different filter that is not responsible for building the registry, but is responsible for thread clean up stuff. This suffers from application reload issues, which are currently handled by the filter. Help!!! Richard --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
