[Opensource] Tomcat shutdown and release pool connections
John Mitchell
johnscottmitchell at hotmail.com
Tue Jan 28 20:30:57 PST 2003
Hi Alex,
I do not remember this post so could you paste the original
problem and whatever I gave as a solution too. I do use
a .bat file to shutdown my tomcat. I created a shortcut
with the following Target: C:\tomcat\bin\shutdown.bat
I never have a problem with this and it does seem to shutdown
nicely. I use the following Target to start tomcat:
C:\tomcat\bin\catalina.bat run > out.txt
Note: Getting Tomcat to start can sometimes be a little tiring,
especially because when you use startup.bat, Catalina will open in a new
DOS-Box, and if it does not start, this DOS-Box will be
closed immediately, making it impossible to read any error messages.
Tip: use "catalina.bat run" instead of "startup.bat" until you get Tomcat
running correctly, this won't open a new DOS-Box.
feel free to respond to this email,
hope this helps,
Scott Mitchell
>From: "Alex Reznik" <rezal at earthlink.net>
>Reply-To: opensource at jcorporate.com
>To: <opensource at javacorporate.com>
>Subject: [Opensource] Tomcat shutdown and release pool connections
>Date: Sun, 26 Jan 2003 19:33:15 -0500
>
>Hi, i just ran across your post about releasing connections upon shutdown,
>its dated 4/1/01, so chances are, my question is a little out of date :),
>however, i am doing about the same thing and was wondering, if you found a
>way to execute a class upon shutdown when tomcat runs as a service under
>win2000, in other words, i think the .bat file will not do since the
>service
>does not execute it
>
>Thanks in advance,
>Alex
>
>_______________________________________________
>Opensource mailing list
>Opensource at jcorporate.com
>http://mail.jcorporate.com/mailman/listinfo/opensource
>Archives: http://mail.jcorporate.com/pipermail/opensource/
_________________________________________________________________
Add photos to your messages with MSN 8. Get 2 months FREE*.
http://join.msn.com/?page=features/featuredemail
More information about the Opensource
mailing list