Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.0-M3
-
None
-
Fedora Core 2, sun jdk 1.4.02
Description
Deploying an ear, with ejb and war modules. It has standard deployment descriptors an (using command line) 'geronimo-application.xml'. It points to a propietary library in repository/repository/z4/jars/taf2.jar (that's why i need to add a 'dependency' tag in geronimo-application.xml).
The same ear is tested in weblogic, oc4j, jboss and jonas.
Ejb module points to a datasource (that is not yet deployed or created, but I expect some kind of readable error if it is the problem).
Deploy command line:
java -jar bin/deployer.jar --user system --password manager deploy /home/jota/devel/proyectos/z4-staff/z4-process/deploy/z4process.ear /home/jota/devel/proyectos/z4-staff/z4-process/deploy/geronimo-application.xml
geronimo-application.xml:
<application
xmlns="http://geronimo.apache.org/xml/ns/j2ee/application"
configId="MyApplication">
<dependency>
<uri>z4/jars/taf2.jar</uri>
</dependency>
</application>
Start of Stack Trace:
Caused by: java.lang.NullPointerException
at org.openejb.deployment.OpenEJBModuleBuilder.initContext(OpenEJBModuleBuilder.java:308)
at org.openejb.deployment.OpenEJBModuleBuilder$$FastClassByCGLIB$$11bd7b20.invoke(<generated>)
at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:87)
at org.apache.geronimo.gbean.jmx.FastMethodInvoker.invoke(FastMethodInvoker.java:38)
at org.apache.geronimo.gbean.jmx.GBeanMBeanOperation.invoke(GBeanMBeanOperation.java:142)
at org.apache.geronimo.gbean.jmx.GBeanMBean.invoke(GBeanMBean.java:823)
at org.apache.geronimo.gbean.jmx.RawInvoker.invoke(RawInvoker.java:89)
at org.apache.geronimo.gbean.jmx.RawOperationInvoker.invoke(RawOperationInvoker.java:34)