I tried the bank sample (EJB sample application (1.2 Ok) ) from http://cwiki.apache.org/confluence/display/GMOxDOC12/EJB+sample+application+(1.2+Ok) I got it to build (I appended my modified build.xml) with geronimo-jetty6-javaee5-2.1.2 but on deploying I got the error below. I guess there is a problem with a deployment descriptor, but shouldn't Geronimo be still compatible to the old ones?
Deployment failed: Failed parsing descriptors for module: /projekte/geronimo-jetty6-javaee5-2.1.2/var/temp/geronimo-deploymentUtil51572.jar Caused by: org.apache.openejb.OpenEJBException: Cannot unmarshall the openejb-jar.xml. Xml content written to: /projekte/geronimo-jetty6-javaee5-2.1.2/var/temp/openejb-jar-51573.xml: unexpected element (uri:"http://geronimo.apache.org/xml/ns/deployment-1.1", local:"environment"). 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> at org.apache.openejb.config.ReadDescriptors.readOpenejbJar(ReadDescriptors.java:225) at org.apache.openejb.config.ReadDescriptors.deploy(ReadDescriptors.java:79) at org.apache.geronimo.openejb.deployment.EjbModuleBuilder.createModule(EjbModuleBuilder.java:298) ... 17 more Caused by: javax.xml.bind.UnmarshalException: unexpected element (uri:"http://geronimo.apache.org/xml/ns/deployment-1.1", local:"environment"). 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> at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext.handleEvent(UnmarshallingContext.java:523) http://www.nabble.com/file/p18868952/build.zip build.zip -- View this message in context: http://www.nabble.com/Are-J2EE-1.4-applications-still-supported--tp18868952s134p18868952.html Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
