Bug#402603: tomcat5.5: blocks on startup until log pipe is read

Loïc Minier lool at dooz.org
Tue Dec 12 14:35:48 UTC 2006


On Tue, Dec 12, 2006, Marcus Better wrote:
> It's actually the method recommended by upstream

 Oh, perfect then.

> It's true that it requires a native app (not a library), but it seems to be an 
> improvement over the previous method. For instance we get a clean shutdown 
> procedure, which signals Tomcat to stop cleanly. If you kill the jsvc 
> process, it will let Tomcat do its clean-up before terminating.

 Hmm, I think this was possible with a Java only method, but I don't
 know if it was implemented.

> The previous solution in catalina.sh appears to be fundamentally broken - it 
> spawns a new JVM and launches "catalina.startup.Bootstrap stop" which is 
> ineffective, so the init script times out after a while and kills the 
> original process. (At least when I tested it - do you have a different 
> experience?)

 (I don't recall running into that, nor that "two JVMs" thing, I
 remember that Catalina was setupping various levels of classloaders
 though, but I suppose this isn't what you are referring to.)

-- 
Loïc Minier <lool at dooz.org>
 "I have no strong feelings one way or the other." -- Neutral President




More information about the pkg-java-maintainers mailing list