Hi,

If I start my JBoss 2.4.4 i get 

javax.naming.NameAlreadyBoundException; remaining name 'env'
    at org.jnp.server.NamingServer.createSubcontext(NamingServer.java:451)
    at
org.jnp.interfaces.NamingContext.createSubcontext(NamingContext.java:648)
    at
org.jnp.interfaces.NamingContext.createSubcontext(NamingContext.java:634)
    at org.jboss.ejb.Container.setupEnvironment(Container.java:447)

if JBoss deploys my ejb's. The crazy thing is the same ejb's get deployed on
another machine.
I have debugged a litle and found out that it happens in setupEnvironment
method of the JBoss Container class. The first time it comes into that
method every thing is fine, but the second time if he calls 
Context ctx = (Context) new InitialContext().lookup("java:comp");
Context envCtx = ctx.createSubcontext("env"); <------------
I get that exception

 Does someone have any suggestions?
Many thanks !


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to