Geronimo
  1. Geronimo
  2. GERONIMO-2557

Deployer operation failed: Error parsing ejb-jar.xml

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Blocker Blocker
    • Resolution: Unresolved
    • Affects Version/s: 1.1.1
    • Fix Version/s: None
    • Component/s: deployment
    • Security Level: public (Regular issues)
    • Labels:
      None
    • Environment:

      Windows XP + Eclipse 3.2.1 + Geronimo Eclipse plugin

      Description

      After upgrading to the latest version of Geronimo 1.1.1 we are not able to deploy our EAR application. This application worked in on the previous version of Geronimo. The printstack we are getting goes :

      Deployer operation failed: Error parsing ejb-jar.xml
      org.apache.geronimo.common.DeploymentException: Error parsing ejb-jar.xml
      at org.openejb.deployment.OpenEJBModuleBuilder.createModule(OpenEJBModuleBuilder.java:223)
      at org.openejb.deployment.OpenEJBModuleBuilder.createModule(OpenEJBModuleBuilder.java:196)
      at org.openejb.deployment.OpenEJBModuleBuilder$$FastClassByCGLIB$$11bd7b20.invoke(<generated>)
      at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
      at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)
      at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:122)
      at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:817)
      at org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
      at org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:35)
      at org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96)
      at org.apache.geronimo.j2ee.deployment.ModuleBuilder$$EnhancerByCGLIB$$9d0e1f31.createModule(<generated>)
      at org.apache.geronimo.j2ee.deployment.EARConfigBuilder.addModules(EARConfigBuilder.java:751)
      at org.apache.geronimo.j2ee.deployment.EARConfigBuilder.getEarPlan(EARConfigBuilder.java:364)
      at org.apache.geronimo.j2ee.deployment.EARConfigBuilder.getDeploymentPlan(EARConfigBuilder.java:263)
      at org.apache.geronimo.j2ee.deployment.EARConfigBuilder$$FastClassByCGLIB$$38e56ec6.invoke(<generated>)
      at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
      at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)
      at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:122)
      at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:817)
      at org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
      at org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:35)
      at org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96)
      at org.apache.geronimo.deployment.ConfigurationBuilder$$EnhancerByCGLIB$$a8fb27a3.getDeploymentPlan(<generated>)
      at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:232)
      at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:124)
      at org.apache.geronimo.deployment.Deployer$$FastClassByCGLIB$$734a235d.invoke(<generated>)
      at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
      at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)
      at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:122)
      at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:852)
      at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:239)
      at org.apache.geronimo.deployment.plugin.local.AbstractDeployCommand.doDeploy(AbstractDeployCommand.java:106)
      at org.apache.geronimo.deployment.plugin.local.DistributeCommand.run(DistributeCommand.java:60)
      at java.lang.Thread.run(Unknown Source)
      Caused by: org.apache.xmlbeans.XmlException: Unrecognized document type: null
      at org.apache.geronimo.schema.SchemaConversionUtils.convertToEJBSchema(SchemaConversionUtils.java:237)
      at org.openejb.deployment.OpenEJBModuleBuilder.createModule(OpenEJBModuleBuilder.java:220)
      ... 33 more

      We are running Geronimo inside Eclipse and deploying the application by using the available Geronimo Console.
      The deployment file ejb-jar-xml has not been changed between the application worked in the previous version and the latest version of Geronimo. The deployment file is valid according to the XMLSpy xml editor.
      As far as we can trace the problem, is is the validator method in the SchemaConversionUtils class.

      1. ejb-jar.xml
        0.9 kB
        Christian Blicher
      2. GISSales10EAR.ear
        357 kB
        Christian Blicher

        Activity

        Hide
        Christian Blicher added a comment -

        This is the EAR applicaiton we wish to deploy.

        Show
        Christian Blicher added a comment - This is the EAR applicaiton we wish to deploy.
        Hide
        Christian Blicher added a comment -

        This is the ejb-jar.xml file which fails when deplyoing our application.

        Show
        Christian Blicher added a comment - This is the ejb-jar.xml file which fails when deplyoing our application.

          People

          • Assignee:
            Unassigned
            Reporter:
            Christian Blicher
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:

              Development