geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Sisson (JIRA)" <...@geronimo.apache.org>
Subject [jira] Created: (GERONIMO-1649) Invalid deployment descriptor error when deploying an EJB 2.0 MDB
Date Thu, 23 Feb 2006 12:28:39 GMT
Invalid deployment descriptor error when deploying an EJB 2.0 MDB
-----------------------------------------------------------------

         Key: GERONIMO-1649
         URL: http://issues.apache.org/jira/browse/GERONIMO-1649
     Project: Geronimo
        Type: Bug
  Components: OpenEJB, deployment  
    Versions: 1.0    
    Reporter: John Sisson
 Assigned to: John Sisson 
    Priority: Blocker
     Fix For: 1.1, 1.0.1


There is a bug in org.apache.geronimo.schema.SchemaConversionUtils.convertBeans(..) for a
EJB 2.0 MDB where the security-identity element is not moved to after the JNDIEnvironmentRefsGroup
causing an error such as:

org.apache.xmlbeans.XmlException: Invalid deployment descriptor: [error: cvc-complex-type.2.4b:
Element not allowed: reso
urce-ref@http://java.sun.com/xml/ns/j2ee in element message-driven@http://java.sun.com/xml/ns/j2ee,
error: cvc-complex-type.2.4b: El
ement not allowed: resource-ref@http://java.sun.com/xml/ns/j2ee in element message-driven@http://java.sun.com/xml/ns/j2ee,
error: cv
c-complex-type.2.4b: Element not allowed: resource-ref@http://java.sun.com/xml/ns/j2ee in
element message-driven@http://java.sun.com
/xml/ns/j2ee, error: cvc-complex-type.2.4b: Element not allowed: resource-ref@http://java.sun.com/xml/ns/j2ee
in element message-dri
ven@http://java.sun.com/xml/ns/j2ee]

I will attach a test case to reproduce the problem tomorrow.

-- 
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
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message