- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Tomcat not starting on reboot
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
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
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
тАО05-02-2002 04:42 PM
тАО05-02-2002 04:42 PM
Tomcat not starting on reboot
## ps -ef |grep java
root 1423 1 17 14:51:13 console 0:04 /opt/java1.4/bin/PA_RISC2.0/java -Djava.security.policy==/opt/j
but within seconds the process disappears with the following error in apache error.log
[Wed May 1 21:51:20 2002] [notice] Apache/1.3.22 (Unix) mod_jk/1.1.0 configured -- resuming normal operations
[Wed May 1 21:51:20 2002] [notice] Accept mutex: fcntl (Default: fcntl)
Apache httpd.conf has valid user/group defined.
User web
Group apache
In the startup scripts I have tried to su - web to start tomat as web user and had same results.
I am able to restart tomcat from cron after scheduled reboot or manually. Any ideas on how to get my startup script to work?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-09-2003 03:22 AM
тАО12-09-2003 03:22 AM
Re: Tomcat not starting on reboot
An idea, please?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-09-2003 06:16 AM
тАО12-09-2003 06:16 AM
Re: Tomcat not starting on reboot
An Idea - where in your boot sequence is the tomcat start, if too early that not all dependences will be there. Try moving it to last item to start.
Paula
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-09-2003 07:26 AM
тАО12-09-2003 07:26 AM
Re: Tomcat not starting on reboot
The most common cause of this problem is environment problems.
The startup environment is missingh many things that you have when you start the program via a telnet or ssh session.
TERM is generally not set
PATH is different.
Try adding this line to your startup script.
env > /tmp/env.txt
start and stop the product.
mv /tmp/env.txt /tmp/envnormal.txt
Reboot the server.
When it comes up diff /tmp/env.txt /tmp/envnormal.txt
Resolve all of the differences and the product will start.
The normal way start up these programs is as follows:
/usr/bin/su - username -c "commandline"
Unless root owns the binaries, its safer to start the product up that way, but follow the tomcat guidelines, not this post for working on this issue.
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
тАО12-09-2003 07:36 AM
тАО12-09-2003 07:36 AM
Re: Tomcat not starting on reboot
I am in a similar situation, -I was wondering if you could give me the info on how to start Tomcat from cron after a scheduled reboot?
In regard to your question, is this the HP version of Tomcat or the Apache version? I am using the Apache version and will forward you any info get today if that's the case : )
-karlski
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-10-2003 02:42 AM
тАО12-10-2003 02:42 AM
Re: Tomcat not starting on reboot
And environment is the same when tomcat start on the boot and when I start the product manually.
The process java seems to be stopped just after the boot sequence is finished. and if I do init 2 and after init 3 : it works ! but on reboot it doesn't work!
An another idea please?
I use the apache version of tomcat.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-10-2004 03:38 AM
тАО03-10-2004 03:38 AM
Re: Tomcat not starting on reboot
java version "1.4.1.02"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1.02-030502-13:44)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-10-2004 03:46 AM
тАО03-10-2004 03:46 AM
Re: Tomcat not starting on reboot
As noted, you may also have to define the environment variables in the start-up scripts, specifically TOMCAT_HOME and JAVA_HOME.
What user are you starting it as? If not as root, try as root and then look at ownership and permissions of the various components (tomcat, java, and the application).
mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-24-2004 03:14 AM
тАО11-24-2004 03:14 AM