Jump to content
We've recently updated our Privacy Statement, available here ×

Tomcat not shutting down correctly on reboot.


caseys

Recommended Posts

 Hello,

I'm tyring to get JasperReports 4.0.0 to start automatically when rebooting the server.  I think I have the init script configured correctly, but Tomcat won't shutdown properly on reboot.  I have to rm the `/opt/jasperreports-server-cp-4.0.0/apache-tomcat/temp/catalina.pid' and then start jasper for it to come back online.  Any help is greatly appreciated!

Thanks!

Link to comment
Share on other sites

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Hmm, that's odd that it is not shutting down cleanly (at least getting rid of the pid). Did you get a chance to check and see if there were any unusual ownership or permission problems within the <tomcat>/temp folder?

I assume that you are running a flavor of linux.

By the way ...

I just made an example script that is intended to be used for starting and stopping on system reboot. I also created instructions which are in a readme.txt file. How did you setup your "auto-restart" on reboot? Using /etc/init.d script?

I checked in my changes to the most current trunk code:

  jasperserver/scripts/linux/

      readme.txt

      jasperserver         (this is the sample script)

 

I tested under Ubuntu. I didn't finish fully testing under Redhat/CentOS.

I'll see if I can attach to this thread for people to look at.

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...