I added this to my /etc/rc.local. /opt/tomcat is a symbolic link to the
latest tomcat server.

#Start tomcat
export JAVA_HOME=/usr/java/latest/jre
export JRE_HOME=/usr/java/latest/jre
export LANG=en_US.iso885915
JAVA_OPTS=-Djava.security.auth.login.config=/opt/tomcat/conf/jaas.conf
cd /opt/tomcat/bin
./startup.sh

HTH

On Fri, 2008-07-25 at 18:36 +0000, ktou Ho wrote:
> Hi,
> I write a bootup script to start tomcat in the boot-up time. For debugging 
> purpose, I use it to start the tomcat in command line also. 
>  
> The problem is:  If I logout the shell that I used to start the tomcat, the 
> tomcat exit also with the following message:
>  
> Jul 24, 2008 6:32:09 AM org.apache.coyote.http11.Http11Protocol pause
> INFO: Pausing Coyote HTTP/1.1 on http-5888
> Jul 24, 2008 6:32:10 AM org.apache.catalina.core.StandardService stop
> INFO: Stopping service Catalina
>  
> Thanks in advance
> Elwin
>  
> Env:
> ===
> Apache Tomcat Version 6.0.16
> CentOS release 4.4 (Final)
>  jdk1.6.0_06
>  
> 
> 
> Part of  init script is :
> =======
> 'start')
>     # Start daemon
>  
>     if test -x $TOMCAT_BIN/catalina.sh
>     then
>         action $"Starting Java services: " exec 
> ${CATALINA_HOME}/bin/catalina.sh jpda start >/dev/null 2>&1
>  
>     else
>       echo "Can't execute $CATALINA_HOME/bin/catalina.sh"
>     fi
>     ;;
> =======
> _________________________________________________________________
> Time for vacation? WIN what you need- enter now!
> http://www.gowindowslive.com/summergiveaway/?ocid=tag_jlyhm


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to