Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem in creating simple entity bean/WSAD

 
kavitha kalaiyarasan
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
author
Saloon Keeper
Posts: 4028
18
Eclipse IDE Flex Google Web Toolkit
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Masoud Kalali
Author
Ranch Hand
Posts: 531
Java Mac OS X Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic