02-20-04 07: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.ParentHom
e
>
> 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
[ Post a follow-up to this message ]
|