JBoss EAP 5.x fails with a WebServer No className specified for element error
Environment
- Red Hat JBoss Enterprise Application Platform 5.x
Issue
Starting up JBoss EAP I get the following error
2015-10-06 14:17:40,942 ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] (main) Error installing to Start: name=WebServer state=Create
java.lang.IllegalArgumentException: No className specified for element
Resolution
Check your server.xml and the modcluster configuration and make sure you have className and not classname
<Listener classname ="org.jboss.modcluster.ModClusterListener"
advertise="false" stickySession="true" stickySessionForce="false"
stickySessionRemove="true"
proxyList="10.10.10.10:6777" ></Listener>
<Listener className ="org.jboss.modcluster.ModClusterListener"
advertise="false" stickySession="true" stickySessionForce="false"
stickySessionRemove="true"
proxyList="10.10.10.10:6777" ></Listener>
In reality this listener is not needed and you should refer to the article "How to configure mod_cluster with JBoss EAP 5 and the EWS Apache?" on how to configure this correctly.
Root Cause
There's an error in the configuration that is causing this error.
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
