In mod_cluster the webapp is registered before its initialization is complete

Solution Unverified - Updated -

Issue

  • We need our webapps to be registered on mod_cluster's balancer only after all ServletContextListener.contextInitialized() methods are finished. Otherwise, our users can see errors as the webapp is not fully initialized. Today, the ENABLE-APP command is sent before the execution of listeners, it should be sent after.

Environment

  • JBoss Enterprise Application Platform (EAP) 5

  • mod_cluster 1.0.4.GA

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content