I'm a little concerned that this might be the new flat ClassLoader strategy
biting us.

ENC stuff is set up on a per ClassLoader basis (AFAIK). If there is now only
one ClassLoader, things could get messy.....


Jules


Hunter Hillegas wrote:

> I have two EARs to deploy...
>
> Each one contains two wars and and ejb-jar. One of the wars in each ear is
> our content management system... Since a tree refresh a couple of weeks back
> I am getting the trace below when I deploy the second ear...
>
> While both ears have a copy of the content management war in them (they are
> for different Web sites), they have different contexts specified in the
> application.xml file in the ear...
>
> Is it illegal to have two different wars, with the same name, in two
> different ears, even if mapped differently in the application.xml file?
>
> 15:20:08,721 ERROR [JBossWebApplicationContext#/badreligion] failed to setup
> ENC
> javax.naming.NameAlreadyBoundException
>         at org.jnp.server.NamingServer.bind(NamingServer.java:130)
>         at org.jnp.interfaces.NamingContext.bind(NamingContext.java:330)
>         at org.jnp.interfaces.NamingContext.bind(NamingContext.java:302)
>         at
> org.jboss.web.AbstractWebContainer.parseWebAppDescriptors(AbstractWebContain
> er.java:479)
>         at
> org.jboss.web.AbstractWebContainer$DescriptorParser.parseWebAppDescriptors(A
> bstractWebContainer.java:682)
>         at
> org.jboss.jetty.JBossWebApplicationContext.setUpENC(JBossWebApplicationConte
> xt.java:324)
>         at
> org.jboss.jetty.JBossWebApplicationContext.startHandlers(JBossWebApplication
> Context.java:283)
>         at org.mortbay.http.HttpContext.start(HttpContext.java:1341)
>         at
> org.mortbay.jetty.servlet.WebApplicationContext.start(WebApplicationContext.
> java:428)
>         at org.jboss.jetty.Jetty.deploy(Jetty.java:270)
>         at org.jboss.jetty.JettyService.performDeploy(JettyService.java:284)
>         at
> org.jboss.web.AbstractWebContainer.deploy(AbstractWebContainer.java:345)
>         at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:453)
>         at
> org.jboss.deployment.MainDeployer.deploySubPackages(MainDeployer.java:798)
>         at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:448)
>         at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:408)
>         at org.jboss.deployment.MainDeployer.scan(MainDeployer.java:269)
>         at org.jboss.deployment.MainDeployer.run(MainDeployer.java:247)
>         at java.lang.Thread.run(Thread.java:496)
>
> _______________________________________________
> Jboss-development mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-development


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to