I was actually wondering about that concerning the startup environment, but
I didn't think it would be an issue for cron since it was the root crontab.
I'll add it to the script and see what happens.
Thanks!!

-----Original Message-----
From: Turner, John [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 22, 2003 12:30 PM
To: 'Tomcat Users List'
Subject: RE: tomcat not starting after reboot or from cron



If you can do it manually, from a log in session, but not automatically from
startup or from cron, I'm 99% sure it's because environment variables like
JAVA_HOME and CATALINA_HOME are not being set for the startup and cron
environments.  Without those, you won't get anything.  They're probably
being set just fine for you when you log in.

John

> -----Original Message-----
> From: Lott, Carey [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, January 22, 2003 12:13 PM
> To: 'Tomcat Users List'
> Subject: tomcat not starting after reboot or from cron
> 
> 
> Has anybody had a problem with tomcat (4.0.4) starting after 
> a reboot?  Or
> problems starting it from the root crontab?  
> I have no problems at all starting tomcat manually.  
> Everything works fine
> that way.  
> To automate the startup after a reboot, I am using init.d 
> with the startup
> script in rc3.d.  However, nothing is happening.  I'm not 
> even receiving any
> errors in the logs.  But I can immediately start it manually 
> with out a
> problem.  
> Also I can't stop and start tomcat from a crontab.  I set up 
> a stop and
> start script and placed them in the root crontab, but the 
> time comes to stop
> tomcat and nothing happens then the startup script should be 
> initiated a
> minute later but it is a mute point since tomcat didn't stop, 
> but nothing
> shows up in the logs either way. 
> Is there a parameter or something that I am missing for this to work?
> 
> I am running Tomcat 4.0.4 (as a standalone server using port 8880) on
> Solaris 2.7.  Apache 1.3.9 is running on the server as well 
> using port 80.
> 
> Thanks in advance for the help.
> 
> - Carey - 
> 
> --
> 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]>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to