Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Websphere and the fly likes Problem in creating simple entity bean/WSAD Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Websphere
Bookmark "Problem in creating simple entity bean/WSAD" Watch "Problem in creating simple entity bean/WSAD" New topic
Author

Problem in creating simple entity bean/WSAD

kavitha kalaiyarasan
Greenhorn

Joined: Dec 02, 2005
Posts: 1
Hi,

I just started working in J2EE and also new to WSAD. I've created an EJB Project with simple entity bean using EJB/RDB mapping. I haven't written any code in the bean class. I deployed it in the WebSphere Test Environment and tried viewing it in Universal Test Client. I am getting the error in JNDI Explorer stating

IWAD0402E Could not perform lookup with the JNDI Name:Name ejb/ejb not found in context 'local:'. I cannot understand what this error means. Can any one please help me out in solving this ?
Thanks in advance
Scott Selikoff
Saloon Keeper

Joined: Oct 23, 2005
Posts: 3704
    
    5

I've seen errors like what you describe and it could be a lot of things. Try reinstalling the bean on the server. Also, can go into more detail about how you are using the JNDI explorer? What are you setting the JNDI value in the bean to? What are the other properties of the bean you created? Finally, are accessing the Home Interface create() method first?


My Blog: Down Home Country Coding with Scott Selikoff
Masoud Kalali
Author
Ranch Hand

Joined: Jul 08, 2004
Posts: 531

Originally posted by kavitha kalaiyarasan:
Hi,

I just started working in J2EE and also new to WSAD.


if you are new to j2ee and you are learning j2ee stuff i suggest not to use WSAD or at least use RAD (WSAD 6) ,i never forget time that i was working with WSAD and WAS version 4, 5 .
so , if want to stay with IBM stack then Get Rational application developer which has a 60 day trial version.

if IDE is not important for you , then i suggest you try netbeans IDE 5 , im sure you will find developing EJBs a pleasure.

grab netbeans 5 beta 2 from
www.netbeans.org





I've created an EJB Project with simple entity bean using EJB/RDB mapping. I haven't written any code in the bean class. I deployed it in the WebSphere Test Environment and tried viewing it in Universal Test Client. I am getting the error in JNDI Explorer stating

IWAD0402E Could not perform lookup with the JNDI Name:Name ejb/ejb not found in context 'local:'. I cannot understand what this error means. Can any one please help me out in solving this ?
Thanks in advance


you can delete mapping files and regenerate them by using context menu .
rebuild the application run it with UTC


hth


Masoud Kalali
Software Engineer - My Weblog - GlassFish Security
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Problem in creating simple entity bean/WSAD