- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Tomcat not starting as part of system boot
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2005 03:58 AM
11-03-2005 03:58 AM
Tomcat not starting as part of system boot
I have a server(L2000, HP-ux 11.11) and tomcat is set to start as part of the system boot, /sbin/rc2.d/S901tomcat. But it would not start on its own. rc.log says "Tomcat started", but it dies after some time. When the system is completely booted up, and when I log in and try to run the same script it would start and remain without any problems.
Attaching the script if it would be useful.
Pleasse anyone has got any suggestions?
Thanks in advance,
Sudheer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2005 04:50 AM
11-03-2005 04:50 AM
Re: Tomcat not starting as part of system boot
Add a set -x to it right after the shell definition at the top.
This may get you some diagnostics as to why it failed.
You could also modify it to start the tomcat with the tusc utility and gather information on the process and why it dies.
These symptoms however are typical of an environment problem.
There is some environment setting that tomcat gets in normal run mode that it does not get in startup mode.
Typically this line of code at the top will help:
. /etc/profile
. /homedir/.profile
sometimes you only need one and homedir must be changed above to the actual home directory of the user that starts tomcat.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2005 12:40 AM
11-04-2005 12:40 AM
Re: Tomcat not starting as part of system boot
Enabled tusc on startup, it has given me a very long list of processes. tusc -f -o and directed the output to a file. There is a 145 KB file created, I am not able to make out much from it. Attaching the last few lines from the trace file..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2005 12:52 AM
11-04-2005 12:52 AM
Re: Tomcat not starting as part of system boot
do you have any messages in your catalina.out
file ??
Regards
Rainer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2005 03:17 AM
11-04-2005 03:17 AM
Re: Tomcat not starting as part of system boot
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2005 03:46 AM
11-04-2005 03:46 AM
Re: Tomcat not starting as part of system boot
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2005 10:05 AM
11-04-2005 10:05 AM
Re: Tomcat not starting as part of system boot
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-06-2005 06:17 PM
11-06-2005 06:17 PM
Re: Tomcat not starting as part of system boot
put a 'nohup' in your tomcat startup file in /sbin/init.d/
nohup $TOMCAT_HOME/bin/startup.sh 1>/dev/null 2>&1
Regards
Rainer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-07-2005 03:25 AM
11-07-2005 03:25 AM