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>
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.
Joined: Jan 31, 2002
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 ]