Skip to content
This repository has been archived by the owner on Feb 12, 2024. It is now read-only.

Tomcat Activation Priority Too High #49

Open
chrishager82 opened this issue May 24, 2017 · 2 comments
Open

Tomcat Activation Priority Too High #49

chrishager82 opened this issue May 24, 2017 · 2 comments

Comments

@chrishager82
Copy link

We have encountered an issue, where the tomcat services are starting too early in the init.d boot order. It appears that the instances have an activation priority of 50, and we would like to define that attribute.

@nibroc
Copy link

nibroc commented Jun 6, 2017

We're also seeing this. Some of our Tomcat applications load data into caches at startup which can take up to 10 minutes. This is resulting in ssh being unresponsive for a long time after reboot since process starting is blocked on Tomcat and sshd starts after it.

@chrishager82
Copy link
Author

I found a manual solution via https://serverfault.com/questions/754676/how-to-change-the-startup-order-of-linux-init-scripts-in-redhat-centos. Adding a chkconfig line to the init script w/desired start/stop priorities, then running chkconfig reset, updates the priority. Still evaluating this cookbook to see if there's a way to set this via attribute.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants