Hi,
I get the Error
javax.naming.NamingException: Cannot create resource
instance
(1) The ejb reference defined in web.xml is
<ejb-ref>
<ejb-ref-name>ejb/User</ejb-ref-name>
<ejb-ref-type>Entity</ejb-ref-type>
<home>bookstore.signon.user.ejb.UserHome</home>
<remote>bookstore.signon.user.ejb.UserRemote</remote>
</ejb-ref>
(2) here is part of my test.jsp file:
UserHome home = null;
Context initCtx = new InitialContext();
Object obj =
initCtx.lookup("java:comp/env/ejb/User");
home = (UserHome)PortableRemoteObject.narrow(obj,
UserHome.class);
(3) I put the ejb related jar files under WEN-INF/lib
and
the package of my EJBs in WEB-INF/classes
Any help is appreciated!
Ginger
__________________________________________________
Do You Yahoo!?
Send your FREE holiday greetings online!
http://greetings.yahoo.com
--
To unsubscribe: <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>