tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From manivanna...@aim.com
Subject Re: Stopping of tomcat failed.
Date Mon, 17 Apr 2006 08:35:46 GMT
Are you running apache along with tomcat? 
(I mean apache on port 80 and tomcat on 8080) ?
 
--
Manivannan Palanichamy
http://geocities.com/manivannan57



 
 
 
-----Original Message-----
From: Yasunori Taniguchi <taniguchi.yasu@jp.fujitsu.com>
To: Tomcat Users List <users@tomcat.apache.org>
Sent: Mon, 17 Apr 2006 13:05:24 +0900
Subject: Re: Stopping of tomcat failed.


Hi.

I want help about the following matter.

I got an information that :
  Apache was killed. This is the correct operation for apache.
  According to the following matter, tomcat was communicating with apache,
  and probably any web application process was executing.

Is it really ?
If there is no web application executing, the following matter never happen ?


Yasunori Taniguchi さんは書きました:
>Hi.
>
>Please help me.
>
>I'm using apache and tomcat to use Web-based GUI tool on RHEL3.0.
>The GUI tool has a shell script that starts/stops apache and tomcat.
>This script with stop option displayed message "[FAILED]".
>It means that stopping of tomcat has been failed.
>But the tomcat was disappeared in the process list. And re-execution of stop 
was
>failed as same as the execution of stop after succeeded-stop. (The messages 
output
>to catalina.out is tha same.)
>Then GUI tool was not used at that time.
>In the script, all the messages were discarded to /dev/null, and nothing 
related
>message was output to /var/log/messages or catalina.out.
>So, I want to know :
>1. Did tomcat stopped clearly ?
>   For example, are there any possibilities that tomcat leave garbage of files 
?
>   Restart of tomcat was succeeded. Does it mean that tomcat has stopped 
clearly ?
>2. What kind of error is guessed ?
>
>-----------------------------------------------------------------------------------
>#!/bin/sh
>#
># Startup script
>#
># chkconfig: 345 80 15
># description: 
>#
>
>### BEGIN INIT INFO
># Provides:       test
># Required-Start: $network $remote_fs
># Required-Stop:
># Default-Start:  3 5
># Default-Stop:   0 1 2 6
># Description:    Start the gui daemon
>### END INIT INFO
>
># Shell functions sourced from /etc/rc.status:
>#      rc_check         check and set local and overall rc status
>#      rc_status        check and set local and overall rc status
>#      rc_status -v     ditto but be verbose in local rc status
>#      rc_status -v -r  ditto and clear the local rc status
>#      rc_failed        set local and overall rc status to failed
>#      rc_failed <num>  set local and overall rc status to <num><num>
>#      rc_reset         clear local rc status (overall remains)
>#      rc_exit          exit appropriate to overall rc status
>cd /
>
>if [ -f /etc/rc.status ]; then
>    . /etc/rc.status
>fi
>if [ -f /etc/init.d/functions ]; then
>    . /etc/init.d/functions
>fi
>
>if [ -f /etc/rc.status ]; then
># First reset status of this service
>rc_reset
>fi
>
>case "$1" in
>'start')
>    echo -n "Starting the service "
>    if [ -f /etc/init.d/functions ]; then
>        daemon "/usr/local/tomcat/bin/startup.sh"
>        /opt/FJSVihs/bin/httpd -f /usr/local/apache/conf/httpd.conf 2> 
/dev/null
>    else
>        /usr/local/tomcat/bin/startup.sh > /dev/null
>        /opt/FJSVihs/bin/httpd -f /usr/local/apache/conf/httpd.conf 2> 
/dev/null
>    fi
>    if [ -f /etc/rc.status ]; then
>        rc_status -v
>    fi
>    if [ -f /etc/init.d/functions ]; then
>        touch /var/lock/subsys/test
>        echo
>    fi
>        ;;
>'stop')
>        echo -n "Stopping service."
>        kill `cat /usr/local/apache/httpd.pid`
>    if [ -f /etc/init.d/functions ]; then
>        daemon "/usr/local/tomcat/bin/shutdown.sh"
>    else
>            /usr/local/tomcat/bin/shutdown.sh > /dev/null
>    fi
>    if [ -f /etc/rc.status ]; then
>        rc_status -v
>    fi
>    if [ -f /etc/init.d/functions ]; then
>        rm -f /var/lock/subsys/test
>        echo
>    fi
>        ;;
>'restart')
>        $0 stop
>        $0 start
>    if [ -f /etc/rc.status ]; then
>        rc_status
>    fi
>        ;;
>'status')
>    if [ -f /etc/rc.status ]; then
>        echo -n "Checking: "
>        if [ -f /usr/local/apache/httpd.pid ]; then
>        rc_failed 0
>        rc_status -v
>        exit 0
>        else
>        rc_failed 3
>        rc_status -v
>        exit 3
>        fi
>    fi
>    ;;
>*)
>        echo "Usage: $0 {start|stop|restart|status}"
>        ;;
>esac
>exit 0
>
>Regards
>Taniguchi
>
>-- 
>Open Source Software Database Prj. Middleware Platform Div.
>Software Unit, Fujitsu Limited
>Yasunori Taniguchi
>e-mail : taniguchi.yasu@jp.fujitsu.com
>
>office layout was changed in 26th Sep., and phone number was changed !!!!
>phone:+81-78-304-0563 ext.:7773-5431
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>For additional commands, e-mail: users-help@tomcat.apache.org
>
>

--------
from : 谷口@神戸 (MWPF2開発)
address   : taniguchi.yasu@jp.fujitsu.com
TEL:7773-5431 (078-304-0563)


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
________________________________________________________________________
Check Out the new free AIM(R) Mail -- 2 GB of storage and industry-leading spam and email
virus protection.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message