I took a quick look and I think we might be able to copy the parts of OpenejbSystemGBean that the deployer needs into a gbean in the openejb-deployer module. I'm not sure what the resource adapter and persistence unit collections are doing.... we may be able to replace them with queries against the app's Configuration, which is basically how the geronimo 1.x deployer found stuff.

I'll attach what I came up with so far to GERONIMO-3481. My guess is it might deploy ejbs modules that don't have mdbs or external persistence units.

thanks
david jencks


On Sep 20, 2007, at 7:02 PM, Anita Kulshreshtha wrote:

   I am trying to change the openejb-deployer so that it does not need
to start openejb config. Here is the trace:

[INFO]
---------------------------------------------------------------------- --
[ERROR] BUILD ERROR
[INFO]
---------------------------------------------------------------------- --
[INFO] Unable to resolve reference "OpenEjbSystem" in gbean
org.apache.geronimo.
configs/openejb-deployer/2.1-SNAPSHOT/car? ServiceModule=org.apache.geronimo.conf igs/openejb-deployer/2.1-SNAPSHOT/ car,j2eeType=ModuleBuilder,name=EJBBuilder
to
a gbean matching the pattern
[?name=OpenEjbSystem#org.apache.geronimo.openejb.Op
enEjbSystem]due to: No matches for referencePatterns:
[?name=OpenEjbSystem#org.a
pache.geronimo.openejb.OpenEjbSystem]

Thanks
Anita



______________________________________________________________________ ______________
Need a vacation? Get great deals
to amazing places on Yahoo! Travel.
http://travel.yahoo.com/

Reply via email to