• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Problem in creating simple entity bean/WSAD

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
author
Posts: 4335
39
jQuery Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
Author
Posts: 531
Mac OS X Netbeans IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic