I am working through the JBoss 3.0 Quick Start Guide simply attempting to compile and 
run the JBoss provided template application.  After many adjustments it does compile 
without errors.  However, when I run the client I get the 
errorjavax.naming.NameNotFoundException: ejb not boundon the line TestSessionHome 
lHome = (TestSessionHome) lContext.lookup( "ejb/test/TestSession" );The generated 
TestSession seems correct:public interface TestSessionHome
  |    extends javax.ejb.EJBHome
  | {
  |    public static final String COMP_NAME="java:comp/env/ejb/test/TestSession";
  |    public static final String JNDI_NAME="ejb/test/TestSession";
  | 
  |    public test.interfaces.TestSession create()
  |       throws javax.ejb.CreateException,java.rmi.RemoteException;
  | 
  | }and here is the jboss-web.xml file:   <ejb-ref>
  |       <ejb-ref-name>ejb/webtest/TestSession</ejb-ref-name>
  |       <jndi-name>ejb/test/TestSession</jndi-name>
  |    </ejb-ref>
  | If I do a  NamingEnumeration ne = lContext.listBindings("");just after 
initializing the context and list out each item I don't see any "ejb" anywhere.

I'm out of ideas and about to try Websphere instead.  Anyone have any suggestions I 
might try first?  Thanks.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3838576#3838576

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3838576


-------------------------------------------------------
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the
one installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to