I had a similar issue where my solution was on shutdown to call System.exit() if tomcat did not shutdown in a pre-configured amount of time (which can be turned off for embedded apps). This way it works for windows too.

Here is the bug report with patch:
 http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17000


-Tim


Henri Gomez wrote:
Henri Gomez wrote:

Hi to all,

Some of my friends in the jpackage project have problems with the
way tomcat4 start/stop.

There is case where a catalina.sh stop didn't stop a running tomcat.
In such case a restart (stop/start) failed.

I proposed them to works on a patch where the pid of the launched
tomcat java will be stored in location provided by an envvar,
PIDOFTC.

Of course if $PIDOFTC didn't exist, nothing will be stored.

Such feature will help the secure restart of tomcat.

What do you think ?


Just commited in TC 4.1 and CATALINA



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to