• 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
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

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: 4342
40
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
 
You're not going crazy. You're going sane in a crazy word. Find comfort in this tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic