Operating System - HP-UX
1821066 Members
2555 Online
109631 Solutions
New Discussion юеВ

tomcat service won't start on a reboot

 
Norman Dignard
Regular Advisor

tomcat service won't start on a reboot

HPUX 11.31 v3 on RX2620. Had to install another version of tomcat 5.5.17 from the default install. Created the /sbin/init.d/tomcat script from the original hpws_tomcat script adding in env varibales
TOMCAT_START=1
export JAVA_HOME=/opt/java1.4
export TOMCAT_HOME=/opt/apache-tomcat-5.5.17

and removing the hpws_ references.

The script has 755 ACL and ins owned by bin:bin
On a system reboot teh rc.log file states Tomcat started but I find that there is no java processes running.

As root I can execute /sbin/init.d/tomcat_5517 start and all starts just fine.

Am I missing something frothe server to start on bootup?

Also whne using the webadmin A.1.070.08 and go into the tomcat area - it states tomcat is not running even though is is. I've changed what the webadmin sees as the tomcat paths but that does not fix the problem. Any ideas on this?

Regards
Norm
6 REPLIES 6
David Bellamy
Respected Contributor

Re: tomcat service won't start on a reboot

Norm if you want it to startup on reboot you must create the files in one of the /sbin/rc
directories. Look in /sbin/rc3.d and that should give you a good idea of what you need to do
Steven E. Protter
Exalted Contributor

Re: tomcat service won't start on a reboot

Shalom Norm,

and removing the hpws_ references.

Probably a bad idea if you want it to start. I'd remove and re-install tomcat portion of hpws.

Webmin is probably misreporting. If in fact tomcat is actually running, ignore webmin.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Norman Dignard
Regular Advisor

Re: tomcat service won't start on a reboot

I had created the S & K sym0links to the /sbin/init.d/tomcat file.
Also deleting the references to hpws was needed as these variables where not relevant
to the version of tomcat that I installed.

I needed to installa different version than the default installed as is was not compatible with the Remedy mid-tier application that needed to be installed.
Norman Dignard
Regular Advisor

Re: tomcat service won't start on a reboot

I had created the S & K sym0links to the /sbin/init.d/tomcat file.
Also deleting the references to hpws was needed as these variables where not relevant
to the version of tomcat that I installed.

I needed to installa different version than the default installed as is was not compatible with the Remedy mid-tier application that needed to be installed.

PS I only removed the hpws_ prefixes not the entire string.
David Bellamy
Respected Contributor

Re: tomcat service won't start on a reboot

Norm also try coping your startup and shutdown script to the /etc/rc.config.d/ directory.
Norman Dignard
Regular Advisor

Re: tomcat service won't start on a reboot

reposted