Hello everyone,
 I am running Karaf 3.0.1 with Equinox as the OSGi container instead of the
default Felix.  I am trying to deploy a simple Stateless EJB into Karaf. The
EJB is in a WAR file that has a the necessary Manifest.mf entries to make it
a WAB. I installed OpenEJB per the directions here (
http://karaf.apache.org/manual/latest/users-guide/ejb.html
<http://karaf.apache.org/manual/latest/users-guide/ejb.html>  ) and after
tweaking the jre.properties file, it installed without errors.
When I deploy the EJB war into the 'deploy' directory, there are no errors
in the karaf.log, but a log file gets created in data/cache directory with
the following errors:


Not a lot in the karaf.log about the EJB war:


It is a pretty simple EJB:


Here is the contents of the Manifest.mf:


And here is the Blueprint config.xml:


When I look at the deployed bundles in the web console, I see the war is
deployed:


and it is getting the javax.annotation classes from
"javax.annotation,version=1.2.0 from org.eclipse.osgi (0)"

When I deploy this same war to a stand alone OpenEJB 4.5.2 container, the
EJB deploys correctly:


I don't see any JNDI logging in the Karaf logs.
Any help would be appreciated. 
Thanks.
Marshall B.




--
View this message in context: 
http://karaf.922171.n3.nabble.com/Error-deploying-EJB-in-WAB-into-Karaf-tp4035266.html
Sent from the Karaf - User mailing list archive at Nabble.com.

Reply via email to