Your init scripts do not have the same environment as your login
environment.  That is, whe you login, things like JAVA_HOME and
CATALINA_HOME are set.  When you run a script through init, they aren't.

Change your init script to set the values of JAVA_HOME and CATALINA_HOME, or
source the login files (like /etc/profile, perhaps) where those variables
are declared and set.

John


> -----Original Message-----
> From: Pascal Forget [mailto:[EMAIL PROTECTED]]
> Sent: Monday, January 27, 2003 9:44 AM
> To: Tomcat Users List
> Subject: Starting tomcat from init scripts (HP/UX)
> 
> 
> Hi All,
> 
> Tomcat starts fine if I call startup.sh manually, but not if 
> it is called
> from the init scripts when the HP/UX box starts.
> 
> When trying to start tomcat from the init scripts when the HP/UX
> box is booting, tomcat seems to start up fine but then on the last
> line in catalina.out it just says that it is shuttong down and that's
> the end of it.  So the logs are not very useful for helping me
> figure out what the problem might be.
> 
> Has anyone encountered this problem, and what was the fix?
> 
> Thanks,
> 
> Pascal Forget
> 
> 
> 
> 
> 
> --
> 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]>

Reply via email to