[jboss-dev-forums] [Design of JBoss/Tomcat Integration] - NameAlreadyBoundException when multiple virtual hosts are sp

richard.opalka@jboss.com do-not-reply at jboss.com
Wed Nov 5 14:57:36 EST 2008


Relates to: JBWS-2384

Detailed problem description:
---
We need to understand some TomcatDeployment deployer implementation details. The problem description we have is described in JBWS-2384 bug.

Short problem description:
---
We do generate JBossWebMetaData and we're passing virtualHosts to it.
Later this dynamically generated JBossWebMetaData is picked up by TomcatDeployment deployer.
However we're getting NameAlreadyBoundException because the envCtx returned by JNDI lookup in EncListener is the same for each performDeployInternal() method call (performDeployInternal() method is called for each virtual host).

Any help is highly appreciated. We'd like to know what affects the JNDI lookup in ENCListener and why it returns the same instance?

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

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



More information about the jboss-dev-forums mailing list