|
Home > Archive > WebSphere Application Server > February 2004 > Urgent : WAS JNDI look up error
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 |
Urgent : WAS JNDI look up error
|
|
| Larry Keung 2004-02-20, 1:34 am |
| Hi,
I have tried to lookup a stateless EJBean from another stateless EJBean.
I use the following lookup string
java:comp/env/ejb/com/ifshk/workflow/server/ChildHome
I have encountered the following error from WAS log :
ExceptionUtil X CNTR0020E: Non-application exception occurred while
processing method execute on bean BeanId(scbwf#ACOPRD.jar#ACOBatchJob,
null): java.lang.NoClassDefFoundError: com.ifshk.workflow.server.ParentHome
javax.naming.NameNotFoundException: Name
"comp/env/ejb/com/ifshk/workflow/server/ChildHome" not found in context
"java:".
at com.ibm.ws.naming.ipbase.NameSpace.lookup(NameSpace.java:833)
at com.ibm.ws.naming.urlbase.UrlContext.lookup(UrlContext.java:1170)
at com.ibm.ws.naming.urlbase.UrlContext.lookup(UrlContext.java:1162)
at com.ibm.ws.naming.urlbase.UrlContext.lookup(UrlContext.java:1214)
at javax.naming.InitialContext.lookup(InitialContext.java:359)
I have also tried "ejb/com/ifshk/workflow/server/ChildHome".
But the same error happened.
Thx.
| |
| Ken Hygh 2004-02-20, 2:33 am |
| Larry Keung wrote:
> Hi,
>
> I have tried to lookup a stateless EJBean from another stateless EJBean.
> I use the following lookup string
>
> java:comp/env/ejb/com/ifshk/workflow/server/ChildHome
>
> I have encountered the following error from WAS log :
>
> ExceptionUtil X CNTR0020E: Non-application exception occurred while
> processing method execute on bean BeanId(scbwf#ACOPRD.jar#ACOBatchJob,
> null): java.lang.NoClassDefFoundError: com.ifshk.workflow.server.ParentHome
>
> javax.naming.NameNotFoundException: Name
> "comp/env/ejb/com/ifshk/workflow/server/ChildHome" not found in context
> "java:".
> at com.ibm.ws.naming.ipbase.NameSpace.lookup(NameSpace.java:833)
> at com.ibm.ws.naming.urlbase.UrlContext.lookup(UrlContext.java:1170)
> at com.ibm.ws.naming.urlbase.UrlContext.lookup(UrlContext.java:1162)
> at com.ibm.ws.naming.urlbase.UrlContext.lookup(UrlContext.java:1214)
> at javax.naming.InitialContext.lookup(InitialContext.java:359)
>
> I have also tried "ejb/com/ifshk/workflow/server/ChildHome".
> But the same error happened.
>
> Thx.
>
this is the error you need to fix:
java.lang.NoClassDefFoundError: com.ifshk.workflow.server.ParentHome
Ken
|
|
|
|
|