tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lott, Carey" <>
Subject RE: Starting tomcat from init scripts (HP/UX)
Date Thu, 07 Aug 2003 20:46:43 GMT
I tried calling the instead of, but I had the same
outcome.  It executes the first part of the script which displays the
variables that are being used, but it doesn't do anything more.  We haven't
been able to find any errors to give us an idea of what the problem is.  I'm
sorry I think I forgot to say in the initial email that I am running Tomcat
4.0.4 on HP/UX 11.00.  I appreciate any suggestions you can offer.

<name>Carey Lott</name>
<pos>Web Tools Support</pos>
<org>Infrastructure Storage & Tools Support</org>

"The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential, proprietary, and/or
privileged material.  Any review, retransmission, dissemination or other use
of, or taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited.  If you received
this in error, please contact the sender and delete the material from all

-----Original Message-----
From: Eric J. Pinnell [] 
Sent: Thursday, August 07, 2003 2:11 PM
To: Tomcat Users List
Subject: Re: Starting tomcat from init scripts (HP/UX) 


It's been a while since I tinkered with HP/UX but it seems to me that you
can set all your varibles in the default tomcat start scripts and then call
the default and


On Thu, 7 Aug 2003, Lott, Carey wrote:

> Hi,
> The above subject is based on the exact same topic I found in the 
> archives from back in January, but no solution was ever posted.  We 
> are having the exact same problem that Pascal was having.  We are 
> trying to start tomcat from an init script at boot time.  I have the 
> needed variables in the init script, and the init script calls 
> directly.  Below is a copy of my script.  I have used the 
> script to stop and start tomcat manually without a problem.  However, 
> when Tomcat tries to start at boot time the run control information 
> states that it can't start as root, and it is going to try as bin, but 
> it is unsuccessful.  Does anybody know why it wouldn't be able to 
> start as root?  What can I do to fix this?
> Init script:
> -------------------------------------------------------------
> #!/bin/sh
> # Start/Stop for Tomcat Java Servlet Container
> #
> CATALINA_HOME="/bto/appl/apache/jakarta-tomcat-4.0.4"
>         export CATALINA_HOME
> JAVA_HOME="/opt/java1.4"
>         export JAVA_HOME 
> CLASSPATH="/bto/appl/apache/jakarta-tomcat-4.0.4/common/lib/servlet.ja
> r:/opt
> oduct/8.0.6/jdbc/lib/"
>         export CLASSPATH
> case $1 in
>         'start')
>                 /bto/appl/apache/jakarta-tomcat-4.0.4/bin/ 
> start
> >> /bto/appl/apache/jakarta-tomcat-4.0.4/logs/bootlogstart.txt 2>&1 &
>                 ;;
>         'stop')
>                 /bto/appl/apache/jakarta-tomcat-4.0.4/bin/ 
> stop
> >> /bto/appl/apache/jakarta-tomcat-4.0.4/logs/bootlogstop.txt 2>&1 &
>                 ;;
> esac
> ----------------------------------------------------------------
> Thank you for any help you can offer.
> Carey
> <signature>
> <name>Carey Lott</name>
> <pos>Web Tools Support</pos>
> <org>Infrastructure Storage & Tools Support</org> 
> <company>EDS</company> <account>BellSouth</account>
> <email></email>
> <ipager></ipager>
> </signature>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message