Set your JAVA_HOME in /etc/profile and not profile.local profile.local will probably only be executed when a user logs in, as it's local to whatever user is logging in.
On Fri, 2002-11-22 at 21:26, Ola Theander wrote: > Dear subscribers. > > I have a problem that my Tomcat 4.0.4 installation doesn't start on > boot. In the boot.msg file I get a record stating that the JAVA_HOME > environment variable is not defined and therefore Tomcat can't start. > The strange thing is that the JAVA_HOME is defined in the profile.local > file. If I log on directly after the boot and run the tomcat startup > script from /etc/rc.d manually the Tomcat server starts as expected. > Therefore I suspect that the problem is either that profile.local is > evaluated after the Tomcat startup script when booting or the > profile.local environment variables aren't available during boot for > some reason. > > Any help on this matter would be greatly appreciated. > > Kind regards, Ola Theander > > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- p niemandt <[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
