| 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?
>
|