I just tried deploying the tomcat-test.ear twice with different contexts for the war included in the ear, and I do not see this problem. The stack traces no longer match the current code so refresh, retry and then report back.
xxxxxxxxxxxxxxxxxxxxxxxx Scott Stark Chief Technology Officer JBoss Group, LLC xxxxxxxxxxxxxxxxxxxxxxxx ----- Original Message ----- From: "Hunter Hillegas" <[EMAIL PROTECTED]> To: "JBoss Dev" <[EMAIL PROTECTED]> Sent: Tuesday, February 12, 2002 3:24 PM Subject: [JBoss-dev] Failed to Setup ENC > 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 > _______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
