On Jul 20, 2008, at 10:05 AM, endium wrote:
I'm using maven. Do I need the openejb-core or openejb-standalone?
Should be just openejb-core. The openejb-standalone pom has a handful
of client/server related dependencies which you don't need for unit
testing.
Using
openejb-core, it
ERROR - Application could not be deployed:
/Users/Hoshi/Documents/Programming/Hibernate/DaoProjectOpenEjb/target/classes
org.apache.openejb.OpenEJBException: Creating application failed:
/Users/Hoshi/Documents/Programming/Hibernate/DaoProjectOpenEjb/target/classes:
Error deploying 'TimerJob'.
Ok. On second thought, try removing these two parameters:
properties.setProperty(Default MDB
Container.MessageListenerInterface,
org.quartz.Job);
properties.setProperty(Default MDB
Container.ActivationSpecClass,
Thanks for all of your quick responses. I tried doing what you said, and this
is the output:
19:48:37,785 DEBUG OpenEjbTest:31 - Set Initial Context
Apache OpenEJB 3.1-SNAPSHOTbuild: 20080719-01:24
http://openejb.apache.org/
INFO - openejb.home =
Hmm. Not sure why, but it looks like the modules are getting deployed
individually and not as one ear.
Is it possible you could upload a small maven project that has all the
right bits? Should only need the MDB, TestCase, and maven pom. You
can attach it here: