tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From thors_hammer123 <thors_hammer...@yahoo.com>
Subject RE: Tomcat and Linux
Date Mon, 30 Jun 2003 20:53:09 GMT
Thanks! Changing it to rc3.d did the trick.

Anthony



--- Michael Cardon <mic@bendcable.com> wrote:
> Are you sure rc5.d is your startup level?  Mine
> starts in rc3.d, but I am
> running RH Linux 8.0.  Just a thought.
> 
> -----Original Message-----
> From: thors_hammer123
> [mailto:thors_hammer123@yahoo.com]
> Sent: Monday, June 30, 2003 12:50 PM
> To: tomcat-user@jakarta.apache.org
> Subject: Tomcat and Linux
> 
> 
> I have installed Tomcat 5.0 (as part of the Java Web
> Services Pack) on a Redhat 7.1 system kernel 2.4.20.
> I am trying to get Tomcat to boot up at startup, and
> been failing.
> Following some instructions, I wrote the following
> script:
> 
>
-------------------------------------------------------
> #!/bin/bash
> #
> # apache
> #
> # chkconfig:
> # description: Start up the Tomcat servlet engine.
> 
> # Source function library.
> . /etc/init.d/functions
> 
> 
> RETVAL=$?
> TOMCATHOME="/usr1/jwsdp-1.2"
> 
> case "$1" in
>  'start')
>         if [ -f $TOMCATHOME/bin/startup.sh ];
>           then
>     echo $"Starting Tomcat"
>             $TOMCATHOME/bin/startup.sh
>         fi
> ;;
>  'stop')
>         if [ -f $TOMCATHOME/bin/shutdown.sh ];
>           then
>     echo $"Stopping Tomcat"
>             $TOMCATHOME/bin/shutdown.sh
>         fi
>   ;;
>  *)
>   echo $"Usage: $0 {start|stop}"
> exit 1
> ;;
> esac
> 
> exit $RETVAL
>
-------------------------------------------------------
> 
> and placed it in the rc5.d directory under the name
> S71tomcat, and made a link in the init.d directory
> to
> this file under the name tomcat.
> 
> This does not work and I don't understand why not.
> If
> I type at a terminal "tomcat start", Tomcat starts
> with no problems. What could be going on?
> 
> TIA
> 
> 
> __________________________________
> Do you Yahoo!?
> SBC Yahoo! DSL - Now only $29.95 per month!
> http://sbc.yahoo.com
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail:
> tomcat-user-help@jakarta.apache.org
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail:
> tomcat-user-help@jakarta.apache.org
> 


__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com

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


Mime
View raw message