Hi!
Kevin Lewis wrote:
> > You should be fine if you can make sure that the context
> > classloader is
> > set properly before you make your bindings.
>
> The problem now is that it tells me that comp is not bound when I do new
> InitialContext().lookup("java:comp"):
>
> [EmbeddedTomcat] javax.naming.NameNotFoundException: comp not bound
"comp" is created by the naming service, so you need to run
EmbeddedTomcat after that. Is this the case now?
> I can create that, too (which I did to no avail), but I'm guessing
> there's something else wrong.
Hehe.. "comp" is not a regular JNDI context but a rather tricky
federated namespace.. see NamingService for details on how it is
created.
/Rickard
--
Rickard �berg
Email: [EMAIL PROTECTED]
http://www.telkel.com
http://www.jboss.org
http://www.dreambean.com
- Re: [jBoss-Dev] RE: [jBoss-User] JNDI Problem (and... Rickard �berg
- RE: [jBoss-Dev] RE: [jBoss-User] JNDI Problem (and... marc fleury
- RE: [jBoss-Dev] RE: [jBoss-User] JNDI Problem (and Embe... Kevin Lewis
- Re: [jBoss-Dev] RE: [jBoss-User] JNDI Problem (and... Rickard �berg
- RE: [jBoss-Dev] RE: [jBoss-User] JNDI Problem (and Embe... Kevin Lewis
- RE: [jBoss-Dev] RE: [jBoss-User] JNDI Problem (and Embe... Kevin Lewis
- Re: [jBoss-Dev] RE: [jBoss-User] JNDI Problem (and... Rickard �berg
- RE: [jBoss-Dev] RE: [jBoss-User] JNDI Problem (and Embe... Kevin Lewis
- RE: [jBoss-Dev] RE: [jBoss-User] JNDI Problem (and... Rickard �berg
- RE: [jBoss-Dev] RE: [jBoss-User] JNDI Problem (and Embe... Kevin Lewis
- RE: [jBoss-Dev] RE: [jBoss-User] JNDI Problem (and Embe... Kevin Lewis
- Re: [jBoss-Dev] RE: [jBoss-User] JNDI Problem (and... Rickard �berg
- RE: [jBoss-Dev] RE: [jBoss-User] JNDI Problem (and Embe... Kevin Lewis
- Re: [jBoss-Dev] RE: [jBoss-User] JNDI Problem (and... Rickard �berg
- RE: [jBoss-Dev] RE: [jBoss-User] JNDI Problem (and Embe... Kevin Lewis
- Re: [jBoss-Dev] RE: [jBoss-User] JNDI Problem (and... Rickard �berg
- Re: [jBoss-Dev] RE: [jBoss-User] JNDI Problem (and... Sebastien Alborini
- RE: [jBoss-Dev] RE: [jBoss-User] JNDI Problem (and Embe... Kevin Lewis
- RE: [jBoss-Dev] RE: [jBoss-User] JNDI Problem (and Embe... Kevin Lewis
