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


Reply via email to