geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d..@geronimo.apache.org
Subject [jira] Updated: (GERONIMO-266) test-ejb-jar ejb-jar.xml doesn't validate
Date Tue, 13 Jul 2004 17:31:40 GMT
The following issue has been updated:

    Updater: toby cabot (mailto:toby@caboteria.org)
       Date: Tue, 13 Jul 2004 10:30 AM
    Comment:
changes "False" to "false" which the parser seems to like better.

    Changes:
             Attachment changed to ejb-jar-diff.txt
    ---------------------------------------------------------------------
For a full history of the issue, see:

  http://issues.apache.org/jira/browse/GERONIMO-266?page=history

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/GERONIMO-266

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: GERONIMO-266
    Summary: test-ejb-jar ejb-jar.xml doesn't validate
       Type: Bug

     Status: Unassigned
   Priority: Minor

    Project: Apache Geronimo
 Components: 
             OpenEJB
   Versions:
             1.0-M2

   Assignee: 
   Reporter: toby cabot

    Created: Tue, 13 Jul 2004 10:28 AM
    Updated: Tue, 13 Jul 2004 10:30 AM
Environment: 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.




---------------------------------------------------------------------
JIRA INFORMATION:
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