• 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

IBM EJB Test Client

 
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am using IBM WSAD 4.0 as devt tool. I created an enterprise application containing an EJB module. To test my EJB module, I did the ff. steps: In the J2EE Perspective of WSAD, I located
my EJB and generated deploy and rmic code. Then I clicked on Run On Server to test it, but unfortunately I got an error stating it wasn't able to find the JNDI. What should we do? I tried locating the JNDI in the JNDI Explorer in WSAD, but I wasn't able to find the jndi. Thanks!
 
Ranch Hand
Posts: 282
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I've seen this a number of times. Sometimes, WSAD seems to be unable to find an EJB you are testing for no particular reason (even though it is aware of every other EJB in your project). It just needs to be prodded into remembering. My advice is to do the following:
1) Rebuild your project and regenerate deployment code.
If that does not work:
2) Shutdown WSAD and restart.
However, before you do any of the above, double-check your deployment descriptor files to make sure the proper entries are present. In particular, make sure there is a JNDI name for this EJB in the ibm-ejb-jar-bnd.xmi file.
[ November 22, 2002: Message edited by: Jay Damon ]
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic