geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Russell Collins <Russell.Coll...@mclaneat.com>
Subject jar.xml files
Date Tue, 10 Mar 2009 04:12:28 GMT
I am having an issue with the ejb-jar.xml and openejb-jar.xml files.  When I don't add anything
to these files, they have no errors.  However, when I add an element (in this case <enterprise-beans>)
I get the following errors:

[severity=ERROR,message=unexpected element (uri:"", local:"enterprise-beans"). Expected elements
are <{http://openejb.apache.org/xml/ns/openejb-jar-2.2}ejb-ql-compiler-factory>,<{http://geronimo.apache.org/xml/ns/deployment-1.2}service>,<{http://geronimo.apache.org/xml/ns/naming-1.2}message-destination>,<{http://openejb.apache.org/xml/ns/openejb-jar-2.2}db-syntax-factory>,<{http://geronimo.apache.org/xml/ns/security-2.0}security>,<{http://geronimo.apache.org/xml/ns/deployment-1.2}environment>,<{http://java.sun.com/xml/ns/persistence}persistence>,<{http://geronimo.apache.org/xml/ns/naming-1.2}cmp-connection-factory>,<{http://openejb.apache.org/xml/ns/openejb-jar-2.2}relationships>,<{http://geronimo.apache.org/xml/ns/deployment-1.2}gbean>,<{http://openejb.apache.org/xml/ns/openejb-jar-2.2}enterprise-beans>,<{http://openejb.apache.org/xml/ns/openejb-jar-2.2}enforce-foreign-key-constraints>,<{http://geronimo.apache.org/xml/ns/j2ee/application-1.2}security>,locator=[node=null,object=null,url=null,line=11,col=24,offset=-1]]
[severity=ERROR,message=unexpected element (uri:"", local:"enterprise-beans"). Expected elements
are <{http://openejb.apache.org/xml/ns/openejb-jar-2.2}ejb-ql-compiler-factory>,<{http://geronimo.apache.org/xml/ns/deployment-1.2}service>,<{http://geronimo.apache.org/xml/ns/naming-1.2}message-destination>,<{http://openejb.apache.org/xml/ns/openejb-jar-2.2}db-syntax-factory>,<{http://geronimo.apache.org/xml/ns/security-2.0}security>,<{http://geronimo.apache.org/xml/ns/deployment-1.2}environment>,<{http://java.sun.com/xml/ns/persistence}persistence>,<{http://geronimo.apache.org/xml/ns/naming-1.2}cmp-connection-factory>,<{http://openejb.apache.org/xml/ns/openejb-jar-2.2}relationships>,<{http://geronimo.apache.org/xml/ns/deployment-1.2}gbean>,<{http://openejb.apache.org/xml/ns/openejb-jar-2.2}enterprise-beans>,<{http://openejb.apache.org/xml/ns/openejb-jar-2.2}enforce-foreign-key-constraints>,<{http://geronimo.apache.org/xml/ns/j2ee/application-1.2}security>,locator=[node=null,object=null,url=null,line=11,col=24,offset=-1]]
[severity=ERROR,message=unexpected element (uri:"", local:"enterprise-beans"). Expected elements
are <{http://openejb.apache.org/xml/ns/openejb-jar-2.2}ejb-ql-compiler-factory>,<{http://geronimo.apache.org/xml/ns/deployment-1.2}service>,<{http://geronimo.apache.org/xml/ns/naming-1.2}message-destination>,<{http://openejb.apache.org/xml/ns/openejb-jar-2.2}db-syntax-factory>,<{http://geronimo.apache.org/xml/ns/security-2.0}security>,<{http://geronimo.apache.org/xml/ns/deployment-1.2}environment>,<{http://java.sun.com/xml/ns/persistence}persistence>,<{http://geronimo.apache.org/xml/ns/naming-1.2}cmp-connection-factory>,<{http://openejb.apache.org/xml/ns/openejb-jar-2.2}relationships>,<{http://geronimo.apache.org/xml/ns/deployment-1.2}gbean>,<{http://openejb.apache.org/xml/ns/openejb-jar-2.2}enterprise-beans>,<{http://openejb.apache.org/xml/ns/openejb-jar-2.2}enforce-foreign-key-constraints>,<{http://geronimo.apache.org/xml/ns/j2ee/application-1.2}security>,locator=[node=null,object=null,url=null,line=11,col=24,offset=-1]]



Please tell me how to correct this.  Thanks.

Russell Collins




Mime
View raw message