Still seems broken from here... When I deploy the second ear I see this:

11:45:52,174 ERROR [JBossWebApplicationContext#/vagrant-admin] failed to
setup ENC
javax.naming.NameAlreadyBoundException; remaining name 'env'
        at 
org.jnp.server.NamingServer.createSubcontext(NamingServer.java:451)
        at 
org.jnp.interfaces.NamingContext.createSubcontext(NamingContext.java:664)
        at 
org.jnp.interfaces.NamingContext.createSubcontext(NamingContext.java:650)
        at 
org.jboss.web.AbstractWebContainer.parseWebAppDescriptors(AbstractWebContain
er.java:503)
        at 
org.jboss.web.AbstractWebContainer$DescriptorParser.parseWebAppDescriptors(A
bstractWebContainer.java:706)
        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:366)
        at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:457)
        at 
org.jboss.deployment.MainDeployer.deploySubPackages(MainDeployer.java:791)
        at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:452)
        at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:412)
        at org.jboss.deployment.MainDeployer.scan(MainDeployer.java:271)
        at org.jboss.deployment.MainDeployer.run(MainDeployer.java:258)
        at java.lang.Thread.run(Thread.java:496)


> From: "Scott M Stark" <[EMAIL PROTECTED]>
> Organization: JBoss Group
> Reply-To: "Scott M Stark" <[EMAIL PROTECTED]>
> Date: Tue, 12 Feb 2002 23:34:36 -0800
> To: "JBoss Dev" <[EMAIL PROTECTED]>
> Subject: Re: [JBoss-dev] Failed to Setup ENC
> 
> 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


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

Reply via email to