What if you call startup.sh and shutdown.sh instead of catalina.sh directly?
John > -----Original Message----- > From: Chuck Carson [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, October 02, 2002 11:20 AM > To: Tomcat Users List > Subject: Help with Startup Script > > > > I am unable to get tomcat to start automatically under > Solaris 8. I try > starting it after several other socket based applications (such as > oracle and postgres) > > I get nothing in the logs, the service merely refuses to start. > > Here is the startup script: > #!/sbin/sh > case "$1" in > start) > echo "Starting tomcat server..." > /sbin/su - root -c . /root/.bashrc && > /usr/local/tomcat4/bin/catalina.sh start > ;; > stop) > echo "Stopping tomcat server..." > /usr/local/tomcat4/bin/catalina.sh stop > ;; > *) > echo "Usage: $0 {start|stop}" > exit 1 > ;; > esac > exit 0 > > I added the 'su - root -c . /root/.bashrc' bit as a troubleshooting > step, the explicit sourcing of root's .bashrc is not needed on other > services that I start at boot time. > > I have this script here: /etc/rc3.d/S70tomcat4 > > When the system is booting, I see the message "Starting tomcat > server..." so I know the script is getting executed. > > The default runlevel is set to 3. > > > Anyone have any ideas? > > Thanks, > CC > > -- > Chuck Carson > Sr. Systems Administrator > Syrrx, Inc. > 10410 Science Center Drive > San Diego, CA 92121 > E: [EMAIL PROTECTED] > W: +1 858.731.3540 > M: +1 858.442.0827 > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>