Adding external modules directories in JBoss EAP 6/7
Issue
- How can the classpath be extended to deployed content reference directories and files external to the installation?
- Set the custom module path other than just
$JBOSS_HOME/modules
- Share modules between two server installations on the same server.
- How to use custom modules to add from outside the JBoss EAP installation directory?
- We are configuring global modules on JBoss EAP instances installed on 2 servers. We are getting an error on server 1 but it is working fine on server 2.
ERROR [org.jboss.msc.service.fail] (MSC service thread 1-3) MSC000001: Failed to start service jboss.module.service."deployment.example.war".main: org.jboss.msc.service.StartException in service jboss.module.service."deployment.example.war".main: WFLYSRV0179: Failed to load module: deployment.example.war
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 6.x
- 7.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.