You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by reym <re...@gmail.com> on 2007/05/17 18:59:29 UTC
Tomcat & jsvc: shutting down
Hi all,
I have successfully installed Tomcat5.5 on port 80 using jsvc, on a CENTOS4
platform. Once snag, i can only stop it by issuing a SIGTERM to the process,
ie kill -9 <tomcat-process-id>. Is there a much more elegant way of shutting
down tomcat, while still using jsvc??? I feel that shutting tomcat down this
way is too primative and unprofessional. Please advise. Thanks in advance. I
look forward to hearing from someone soon.
Kind regards,
reym
--
View this message in context: http://www.nabble.com/Tomcat---jsvc%3A-shutting-down-tf3772958.html#a10667680
Sent from the Tomcat - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Tomcat & jsvc: shutting down
Posted by reym <re...@gmail.com>.
ta!!
Kind regards,
reym
Mark Shifman wrote:
>
> $TOMCAT_HOME/bin/jsvc-src/native/Tomcat5.sh
> has a function below
>
> stop)
> #
> # Stop Tomcat
> #
> $DAEMON_HOME/src/native/unix/jsvc \
> -stop \
> -pidfile $PID_FILE \
> org.apache.catalina.startup.Bootstrap
> exit $?
> ;;
>
> *)
> Markus Schönhaber wrote:
>> reym wrote:
>>
>>
>>> I have successfully installed Tomcat5.5 on port 80 using jsvc, on a
>>> CENTOS4
>>> platform. Once snag, i can only stop it by issuing a SIGTERM to the
>>> process,
>>> ie kill -9 <tomcat-process-id>. Is there a much more elegant way of
>>> shutting
>>> down tomcat, while still using jsvc???
>>>
>>
>> jsvc -stop ...
>>
>> Regards
>> mks
>>
>> ---------------------------------------------------------------------
>> To start a new topic, e-mail: users@tomcat.apache.org
>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: users-help@tomcat.apache.org
>>
>>
>
>
> --
> Mark Shifman MD. Ph.D.
> Yale Center for Medical Informatics
> Phone (203)737-5219
> mark.shifman@yale.edu
>
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
>
--
View this message in context: http://www.nabble.com/Tomcat---jsvc%3A-shutting-down-tf3772958.html#a10668467
Sent from the Tomcat - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Tomcat & jsvc: shutting down
Posted by Mark Shifman <ma...@yale.edu>.
$TOMCAT_HOME/bin/jsvc-src/native/Tomcat5.sh
has a function below
stop)
#
# Stop Tomcat
#
$DAEMON_HOME/src/native/unix/jsvc \
-stop \
-pidfile $PID_FILE \
org.apache.catalina.startup.Bootstrap
exit $?
;;
*)
Markus Schönhaber wrote:
> reym wrote:
>
>
>> I have successfully installed Tomcat5.5 on port 80 using jsvc, on a CENTOS4
>> platform. Once snag, i can only stop it by issuing a SIGTERM to the process,
>> ie kill -9 <tomcat-process-id>. Is there a much more elegant way of shutting
>> down tomcat, while still using jsvc???
>>
>
> jsvc -stop ...
>
> Regards
> mks
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
--
Mark Shifman MD. Ph.D.
Yale Center for Medical Informatics
Phone (203)737-5219
mark.shifman@yale.edu
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Tomcat & jsvc: shutting down
Posted by Markus Schönhaber <ma...@schoenhaber.de>.
reym wrote:
> I have successfully installed Tomcat5.5 on port 80 using jsvc, on a CENTOS4
> platform. Once snag, i can only stop it by issuing a SIGTERM to the process,
> ie kill -9 <tomcat-process-id>. Is there a much more elegant way of shutting
> down tomcat, while still using jsvc???
jsvc -stop ...
Regards
mks
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org