File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Websphere and the fly likes WSAD 5.0, EJB deploy Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Websphere
Bookmark "WSAD 5.0, EJB deploy" Watch "WSAD 5.0, EJB deploy" New topic
Author

WSAD 5.0, EJB deploy

Irene Db
Greenhorn

Joined: Jan 31, 2002
Posts: 13
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.
Alan S.
Greenhorn

Joined: Feb 14, 2003
Posts: 10
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

Joined: Jan 31, 2002
Posts: 13
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 ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: WSAD 5.0, EJB deploy