• 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
  • paul wheaton
  • Liutauras Vilda
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Scott Selikoff
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
  • Frits Walraven
Bartenders:
  • Stephan van Hulst
  • Carey Brown

WSAD 5.0, EJB deploy

 
Greenhorn
Posts: 13
  • 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 with WSAD 5.0.
After deploying EJB (Generate -> Deploy and RMIC Code, no exceptions, no errors) I launched IBM Universal Test Client and could not find my beans in JNDI Explorer. DataSource that I created was there.
Deployment descriptor for that bean:
<?xml version="1.0" encoding="UTF-8"?>
< !DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN" "http://java.sun.com/dtd/ejb-jar_2_0.dtd">;
<ejb-jar id="ejb-jar_ID">
<display-name>EJBNewsExpress</display-name>
<enterprise-beans>
<session id="NewsEJB">
<ejb-name>NewsEJB</ejb-name>
<home>news.ejb.NewsEJBHome</home>
<remote>news.ejb.NewsEJB</remote>
<ejb-class>news.ejb.NewsEJBBean</ejb-class>
<session-type>Stateless</session-type>
<transaction-type>Container</transaction-type>
</session>
</enterprise-beans>
</ejb-jar>

Thank you for any help.
 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Did you check your Server's console output to see whether the EJB was started without errors?
You could also try running the dumpNameSpace.bat (.sh) utility to verify the EJB was indeed bound to the namespace. DumpNameSpace for version 5 is located in <WS STUDIO INSTALL ROOT>/runtimes/base_v5/bin.
 
Irene Db
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Sitster,
Thank you for your reply. I checked console output, runned dumpNameSpace.bat... no result. Then I restarted server and - this is the my bean That simple
[ May 16, 2003: Message edited by: Irene Db ]
 
Politics n. Poly "many" + ticks "blood sucking insects". 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