tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adib <amsl...@gmail.com>
Subject Re: Why does tomcat need a shutdown port on Windows?
Date Tue, 25 Jan 2011 12:49:43 GMT
I am not running as a windows service just started from startup.bat. I
have a couple of tomcats running as a windows service and I am
familiar with the tomcat.exe the docs were a bit hard to get through
and I had to read through some of the  C code for the tomcat windows
launcher to really figure it out.

My question was more from a design perspective why did the tomcat
developers include this shutdown port mechanism what are the benefits
and what limitations were they trying to work around when they came up
with this design.


On Thu, Jan 20, 2011 at 10:28 PM, Konstantin Kolinko
<knst.kolinko@gmail.com> wrote:
> 2011/1/21 Adib <amslist@gmail.com>:
>> I am wondering why does tomcat need a shut down port on windows but
>> not on Unix. My guess is that UNIX has support for signals and on
>> shutdown you can do kill -3 to get the JVM to shutdown but windows
>> they can't for some reason. If anyone can shed some light on this for
>> me, it would be great, I am sure there are others wondering why the
>> shutdown port is needed.
>
> You are running it as a Service? It is not needed in 6.0.30+, and in
> earlier versions as well, but see
> https://issues.apache.org/bugzilla/show_bug.cgi?id=49195
>
> If you are using bat files or running from withing an IDE the port
> will be needed.
>
> Best regards,
> Konstantin Kolinko
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message