As an alternative to this question, is it possible to decrease the amount of time that it takes for the Apache (httpd) server to pick up the JBoss servers after the Apache server reloads? As of right now, it is taking between 10 and 20 seconds; I would like it to take closer to one or two seconds.

EDIT: Here is the relevant section of the standalone.ha configuration file:

<subsystem xmlns="urn:jboss:domain:modcluster:1.2">
    <mod-cluster-config advertise-socket="modcluster" proxy-list="redacted:8888,redacted:8888" connector="ajp">

Use PeristSlots on in the httpd mod_cluster configuration. It will persist the current state and use that as the starting configuration after a restart.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.