geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jorge Jimenez (JIRA)" <...@geronimo.apache.org>
Subject [jira] Created: (GERONIMO-537) NullPointerException at OpenEJBModuleBuilder.java:308 (initContext) on deployment
Date Fri, 31 Dec 2004 12:07:39 GMT
NullPointerException at OpenEJBModuleBuilder.java:308 (initContext) on deployment
---------------------------------------------------------------------------------

         Key: GERONIMO-537
         URL: http://issues.apache.org/jira/browse/GERONIMO-537
     Project: Apache Geronimo
        Type: Bug
  Components: deployment, OpenEJB  
    Versions: 1.0-M3    
 Environment: Fedora Core 2, sun jdk 1.4.02
    Reporter: Jorge Jimenez


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)


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


Mime
View raw message