WebSphere Application Server - Local EJB JNDI Lookup

This is Interesting: Free IT Magazines  
Home > Archive > WebSphere Application Server > November 2005 > Local EJB JNDI Lookup





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Local EJB JNDI Lookup

2005-11-26, 8:49 pm

Deployment environment is WAS 6. The application is getting deployed successfully. However when I start the application I get the following error:
Unable to create EJB for java:comp/env/ejb/infravio/LifeCycleLocalManagerHomejavax.naming.NameNotFoundException:

Name comp/env/ejb not found in context "java:".javax.naming.NameNotFoundException: Name comp/env/ejb not found in context "java:".
"comp/env/ejb" is given explicitly inside the program. When i enabled the trace I found that this error is occuring at the time of setting initial context.

Can anybody help Pls?

Randy Schnier

2005-11-28, 6:05 pm

Typically this error shows up when attempting to access the
java:comp/env namespace from outside a J2EE component. (This namespace
is only present when running inside a servlet or EJB, or in the J2EE
client container.) Where are you performing the java:comp/env lookup from?

yaamunan@gmail.com wrote:
> Deployment environment is WAS 6. The application is getting deployed successfully. However when I start the application I get the following error:
> Unable to create EJB for java:comp/env/ejb/infravio/LifeCycleLocalManagerHomejavax.naming.NameNotFoundException:
>
> Name comp/env/ejb not found in context "java:".javax.naming.NameNotFoundException: Name comp/env/ejb not found in context "java:".
> "comp/env/ejb" is given explicitly inside the program. When i enabled the trace I found that this error is occuring at the time of setting initial context.
>
> Can anybody help Pls?
>

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com