Urgent : WAS JNDI look up error
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > WebSphere > WebSphere Application Server > Urgent : WAS JNDI look up error




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Urgent : WAS JNDI look up error  
Larry Keung


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
02-20-04 06: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.






[ Post a follow-up to this message ]



    Re: Urgent : WAS JNDI look up error  
Ken Hygh


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
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 ]



    Sponsored Links  




 





   All times are GMT. The time now is 04:33 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register