Attempting to take a WORKING 'Hello World' EJB and use it in a servlet. I got the servlet to compile, but I am not using ctx.lookup properly. Here's the environment: ejbTest.jar includes: ejbTestBean.class ejbTestHome.class ejbTest.class Was built in /usr/local/src/ejbTest Deployed ejbTest.jar to /usr/jboss2/jboss/deploy Here's the servlet code snippet: String echoMsg = null; try { InitialContext ctx = new InitialContext(); SessionHome home = (SessionHome)ctx.lookup("java:comp/env/ejbTest"); Session bean = home.create(); echoMsg = bean.printHello(); } catch(Exception e){echoMsg = "Exception caught";} The whole thing compiles, echoMsg is still null; Thanks, r.b. _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user