Uploaded image for project: 'Geronimo'
  1. Geronimo
  2. GERONIMO-229

Automatically create requred openejb-jar.xml

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0-M1
    • 1.0-M2
    • deployment
    • None

    Description

      The error that occurs when deploying an ejb jar with no openejb-jar.xml is this:

      [java] java.lang.NullPointerException
      [java] at org.openejb.xbeans.ejbjar.impl.OpenejbOpenejbJarDocumentImpl.addNewOpenejbJar(OpenejbOpenejbJarDocumentImpl.java:72)
      [java] at org.openejb.deployment.EJBConfigBuilder.createDefaultPlan(EJBConfigBuilder.java:184)
      [java] at org.openejb.deployment.EJBConfigBuilder.getDeploymentPlan(EJBConfigBuilder.java:167)
      [java] at org.openejb.deployment.EJBConfigBuilder$$FastClassByCGLIB$$3c70ed20.invoke(<generated>)
      [java] at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:87)
      [java] at org.apache.geronimo.gbean.jmx.FastMethodInvoker.invoke(FastMethodInvoker.java:40)
      [java] at org.apache.geronimo.gbean.jmx.GBeanMBeanOperation.invoke(GBeanMBeanOperation.java:153)
      [java] at org.apache.geronimo.gbean.jmx.GBeanMBean.invoke(GBeanMBean.java:465)
      [java] at mx4j.server.interceptor.InvokerMBeanServerInterceptor.invoke(InvokerMBeanServerInterceptor.java:218)
      [java] at mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:121)
      [java] at mx4j.server.interceptor.SecurityMBeanServerInterceptor.invoke(SecurityMBeanServerInterceptor.java:86)
      [java] at mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:121)
      [java] at mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:121)
      [java] at mx4j.server.interceptor.ContextClassLoaderMBeanServerInterceptor.invoke(ContextClassLoaderMBeanServerInterceptor.java:205)
      [java] at mx4j.server.MX4JMBeanServer.invoke(MX4JMBeanServer.java:1079)
      [java] at org.apache.geronimo.kernel.jmx.InvokeMBean.invoke(InvokeMBean.java:100)
      [java] at org.apache.geronimo.gbean.jmx.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:125)
      [java] at org.apache.geronimo.deployment.ConfigurationBuilder$$EnhancerByCGLIB$$7a1ca0ae.getDeploymentPlan(<generated>)
      [java] at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:95)

      Attachments

        Activity

          People

            dain Dain Sundstrom
            dblevins David Blevins
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: