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

test-ejb-jar ejb-jar.xml doesn't validate

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.0-M2
    • None
    • OpenEJB
    • None
    • fedora core 2
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_04-b05)

    Description

      in my ongoing playing around with geronimo i tried to deploy modules/j2ee/target/test-ejb-jar.jar. i'm not sure if this isn't something that i'm supposed to do, but in any case i got:

      tcabot@mad:~/try/incubator-geronimo$ java -jar target/bin/deployer.jar --install --module modules/j2ee/target/test-ejb-jar.jar
      org.apache.geronimo.deployment.DeploymentException: Unable to parse ejb-jar.xml
      at org.openejb.deployment.OpenEJBModuleBuilder.installModule(OpenEJBModuleBuilder.java:271)
      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:744)
      at org.apache.geronimo.gbean.jmx.RawInvoker.invoke(RawInvoker.java:89)
      at org.apache.geronimo.gbean.jmx.RawOperationInvoker.invoke(RawOperationInvoker.java:34)
      at org.apache.geronimo.gbean.jmx.CGLibMethodInterceptor.intercept(CGLibMethodInterceptor.java:111)
      at org.apache.geronimo.j2ee.deployment.ModuleBuilder$$EnhancerByCGLIB$$9e45a280.installModule(<generated>)
      at org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfiguration(EARConfigBuilder.java:258)
      at org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfiguration(EARConfigBuilder.java:197)
      at org.apache.geronimo.j2ee.deployment.EARConfigBuilder$$FastClassByCGLIB$$38e56ec6.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:744)
      at org.apache.geronimo.gbean.jmx.RawInvoker.invoke(RawInvoker.java:89)
      at org.apache.geronimo.gbean.jmx.RawOperationInvoker.invoke(RawOperationInvoker.java:34)
      at org.apache.geronimo.gbean.jmx.CGLibMethodInterceptor.intercept(CGLibMethodInterceptor.java:111)
      at org.apache.geronimo.deployment.ConfigurationBuilder$$EnhancerByCGLIB$$7a1ca0ae.buildConfiguration(<generated>)
      at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:181)
      at org.apache.geronimo.deployment.Deployer$$FastClassByCGLIB$$734a235d.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:767)
      at mx4j.server.interceptor.InvokerMBeanServerInterceptor.invoke(InvokerMBeanServerInterceptor.java:218)
      at mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:121)
      at mx4j.server.interceptor.SecurityMBeanServerInterceptor.invoke(SecurityMBeanServerInterceptor.java:86)
      at mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:121)
      at mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:121)
      at mx4j.server.interceptor.ContextClassLoaderMBeanServerInterceptor.invoke(ContextClassLoaderMBeanServerInterceptor.java:205)
      at mx4j.server.MX4JMBeanServer.invoke(MX4JMBeanServer.java:1079)
      at org.apache.geronimo.kernel.Kernel.invoke(Kernel.java:231)
      at org.apache.geronimo.system.main.CommandLine.main(CommandLine.java:82)
      Caused by: org.apache.xmlbeans.XmlException: Invalid deployment descriptor: [error: Invalid value for boolean: False, error: Boolean (False) does not match pattern for true-falseType in namespace http://java.sun.com/xml/ns/j2ee, error: Invalid value for boolean: False, error: Boolean (False) does not match pattern for true-falseType in namespace http://java.sun.com/xml/ns/j2ee]
      at org.apache.geronimo.schema.SchemaConversionUtils.validateDD(SchemaConversionUtils.java:249)
      at org.apache.geronimo.schema.SchemaConversionUtils.convertToEJBSchema(SchemaConversionUtils.java:73)
      at org.openejb.deployment.OpenEJBModuleBuilder.installModule(OpenEJBModuleBuilder.java:267)
      ... 35 more

      i'll attach a diff that seems to fix the dd so that it validates.

      Attachments

        1. ejb-jar-diff.txt
          1 kB
          Tobias Schlitt

        Activity

          People

            djencks David Jencks
            toby Tobias Schlitt
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: