[jboss-user] [Installation, Configuration & Deployment] - Re: Undeploying multiple wars inside an ear causes NameAlrea

daniele.ulrich do-not-reply at jboss.com
Fri Oct 23 03:25:49 EDT 2009


All of the sudden we were facing the same problem in our PROD environment while on all other environments we don't have this issue. We are running a 4.2.3.GA and have 3 wars in one ear. The only way we could solve the problem is to take the wars outside the ear. As the wars depend on jars in the ear we had to do the following configuration changes:

a) /conf/jboss-service.xml: activate org.jboss.deployment.scanner.PrefixDeploymentSorter

b) prefix the ear with 01, the wars with 02, 03, 04

This way the wars are deployed after the ear and can use the libraries within the ear.

We hope that this bug is fixed in the JBoss 5!

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261816#4261816

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261816



More information about the jboss-user mailing list