Hi Eric,

Current Tomcat6 integration does not work with OpenEJB. 

See 
http://gurkanerdogdu.blogspot.com/2010/04/openwebbeans-integration-with-openejb.html

Thanks;

--Gurkan


________________________________
From: Eric Covener <[email protected]>
To: [email protected]
Sent: Mon, May 3, 2010 9:15:23 PM
Subject: ejb-sample -- tomcat+openejb never seems to register the EJB in JNDI

Can anyone give me a few hints about what they do to run the
ejb-sample?  I have a vanilla tomcat-6.0.26 + openejb 3.1.2 (all the
/manager tests for openejb seem to say it's okay).

When I mvn tomcat:deploy the ejb-sample, it's as if openejb doesn't
recognize the EJB in the collapsed-ear. The JNDI browser in the
manager app doesn't show any EJB's and the sample JSP throws:

  Throwable occurred: javax.naming.NameNotFoundException: Name
"Deployment/EchoBean/org.apache.webbeans.sample.ejb.Echo" not found.

My tomcat/lib dir has these added items, and I do see the lifecycle
getting kicked off as expected:

  openejb-tomcat-loader-3.1.2.jar
  openejb-javaagent.jar
  openwebbeans-tomcat6-1.0.0-SNAPSHOT.jar
  openwebbeans-spi-1.0.0-SNAPSHOT.jar
  openwebbeans-impl-1.0.0-SNAPSHOT.jar
  geronimo-jcdi_1.0_spec-1.0-beta.jar
  geronimo-interceptor_1.1_spec-1.0.0-beta.jar
  geronimo-atinject_1.0_spec-1.0-beta.jar
  geronimo-validation_1.0_spec-1.0.jar


During deployment, nothing is appended to openejb.log

-- 
Eric Covener
[email protected]


Reply via email to