[jira] Updated: (GERONIMO-3944) Web plan schema munging reordering elements wrong
[ https://issues.apache.org/jira/browse/GERONIMO-3944?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joe Bohn updated GERONIMO-3944: --- Affects Version/s: 2.1.1 Fix Version/s: 2.1.2 added 2.1.1 as an affected version and 2.1.2 as a fix version Web plan schema munging reordering elements wrong - Key: GERONIMO-3944 URL: https://issues.apache.org/jira/browse/GERONIMO-3944 Project: Geronimo Issue Type: Bug Security Level: public(Regular issues) Components: web Affects Versions: 2.1, 2.1.1 Reporter: David Jencks Assignee: Jarek Gawor Priority: Blocker Fix For: 2.1.2, 2.1.x, 2.2 A user discovered that a tomcat plan with both security and persistence elements gets broken by the schema munging. Original, apparently correct plan: ?xml version=1.0 encoding=UTF-8? web-app xmlns='http://geronimo.apache.org/xml/ns/j2ee/web-2.0.1' dep:environment xmlns:dep='http://geronimo.apache.org/xml/ns/deployment-1.2' dep:moduleId dep:groupIdssi.web/dep:groupId dep:artifactIdequipment-aaf/dep:artifactId dep:version1.0/dep:version dep:typewar/dep:type /dep:moduleId dep:dependencies dep:dependency dep:groupIdcom.ibm/dep:groupId dep:artifactIdjtopen/dep:artifactId dep:version6.1/dep:version dep:typejar/dep:type /dep:dependency dep:dependency dep:groupIdorg.apache.openjpa/dep:groupId dep:artifactIdopenjpa/dep:artifactId dep:version1.0.2/dep:version dep:typejar/dep:type /dep:dependency !-- dep:dependency dep:groupIdssi/dep:groupId dep:artifactIdssi-api/dep:artifactId dep:version1.0/dep:version dep:typejar/dep:type /dep:dependency -- dep:dependency dep:groupIdconsole.dbpool/dep:groupId dep:artifactIdjdbc%2FAAF/dep:artifactId dep:version1.0/dep:version dep:typerar/dep:type /dep:dependency /dep:dependencies /dep:environment context-root/aaf/equipment/context-root security-realm-namerealm-SSLIB/security-realm-name security xmlns:sec=http://geronimo.apache.org/xml/ns/security-2.0; default-principal realm-name=realm-SSLIB principal name=anonymous class=org.apache.geronimo.security.realm.providers.GeronimoUserPrincipal/ /default-principal role-mappings role role-name=equipment-user realm realm-name=realm-SSLIB principal name=ADMIN class=org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal/ /realm realm realm-name=realm-SSLIB principal name=AAF class=org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal/ /realm /role /role-mappings /security nam:resource-ref xmlns:nam=http://geronimo.apache.org/xml/ns/naming-1.2; nam:ref-namejdbc/ds/nam:ref-name nam:resource-linkjdbc/AAF/nam:resource-link /nam:resource-ref jpa:persistence version=1.0 xmlns:jpa='http://java.sun.com/xml/ns/persistence' jpa:persistence-unit name=equipment-pu transaction-type=JTA jpa:providerorg.apache.openjpa.persistence.PersistenceProviderImpl/jpa:provider jpa:jta-data-sourcejdbc%2FAAF/jpa:jta-data-source jpa:non-jta-data-sourcejdbc%2FAAF/jpa:non-jta-data-source jpa:clai.api.jpa.company.Description/jpa:class jpa:clai.api.jpa.company.Equipment/jpa:class jpa:clai.api.jpa.company.EquipmentMaintanence/jpa:class jpa:clai.api.jpa.company.EquipmentMaintanenceType/jpa:class jpa:clai.api.jpa.company.EquipmentType/jpa:class jpa:exclude-unlisted-classestrue/jpa:exclude-unlisted-classes jpa:properties jpa:property name=openjpa.Log
[jira] Updated: (GERONIMO-3944) Web plan schema munging reordering elements wrong
[ https://issues.apache.org/jira/browse/GERONIMO-3944?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joe Bohn updated GERONIMO-3944: --- Fix Version/s: (was: 2.1.x) Web plan schema munging reordering elements wrong - Key: GERONIMO-3944 URL: https://issues.apache.org/jira/browse/GERONIMO-3944 Project: Geronimo Issue Type: Bug Security Level: public(Regular issues) Components: web Affects Versions: 2.1, 2.1.1 Reporter: David Jencks Assignee: Jarek Gawor Priority: Blocker Fix For: 2.1.2, 2.2 A user discovered that a tomcat plan with both security and persistence elements gets broken by the schema munging. Original, apparently correct plan: ?xml version=1.0 encoding=UTF-8? web-app xmlns='http://geronimo.apache.org/xml/ns/j2ee/web-2.0.1' dep:environment xmlns:dep='http://geronimo.apache.org/xml/ns/deployment-1.2' dep:moduleId dep:groupIdssi.web/dep:groupId dep:artifactIdequipment-aaf/dep:artifactId dep:version1.0/dep:version dep:typewar/dep:type /dep:moduleId dep:dependencies dep:dependency dep:groupIdcom.ibm/dep:groupId dep:artifactIdjtopen/dep:artifactId dep:version6.1/dep:version dep:typejar/dep:type /dep:dependency dep:dependency dep:groupIdorg.apache.openjpa/dep:groupId dep:artifactIdopenjpa/dep:artifactId dep:version1.0.2/dep:version dep:typejar/dep:type /dep:dependency !-- dep:dependency dep:groupIdssi/dep:groupId dep:artifactIdssi-api/dep:artifactId dep:version1.0/dep:version dep:typejar/dep:type /dep:dependency -- dep:dependency dep:groupIdconsole.dbpool/dep:groupId dep:artifactIdjdbc%2FAAF/dep:artifactId dep:version1.0/dep:version dep:typerar/dep:type /dep:dependency /dep:dependencies /dep:environment context-root/aaf/equipment/context-root security-realm-namerealm-SSLIB/security-realm-name security xmlns:sec=http://geronimo.apache.org/xml/ns/security-2.0; default-principal realm-name=realm-SSLIB principal name=anonymous class=org.apache.geronimo.security.realm.providers.GeronimoUserPrincipal/ /default-principal role-mappings role role-name=equipment-user realm realm-name=realm-SSLIB principal name=ADMIN class=org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal/ /realm realm realm-name=realm-SSLIB principal name=AAF class=org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal/ /realm /role /role-mappings /security nam:resource-ref xmlns:nam=http://geronimo.apache.org/xml/ns/naming-1.2; nam:ref-namejdbc/ds/nam:ref-name nam:resource-linkjdbc/AAF/nam:resource-link /nam:resource-ref jpa:persistence version=1.0 xmlns:jpa='http://java.sun.com/xml/ns/persistence' jpa:persistence-unit name=equipment-pu transaction-type=JTA jpa:providerorg.apache.openjpa.persistence.PersistenceProviderImpl/jpa:provider jpa:jta-data-sourcejdbc%2FAAF/jpa:jta-data-source jpa:non-jta-data-sourcejdbc%2FAAF/jpa:non-jta-data-source jpa:clai.api.jpa.company.Description/jpa:class jpa:clai.api.jpa.company.Equipment/jpa:class jpa:clai.api.jpa.company.EquipmentMaintanence/jpa:class jpa:clai.api.jpa.company.EquipmentMaintanenceType/jpa:class jpa:clai.api.jpa.company.EquipmentType/jpa:class jpa:exclude-unlisted-classestrue/jpa:exclude-unlisted-classes jpa:properties jpa:property name=openjpa.Log value=DefaultLevel=TRACE, Tool=INFO, SQL=TRACE/
[jira] Updated: (GERONIMO-3944) Web plan schema munging reordering elements wrong
[ https://issues.apache.org/jira/browse/GERONIMO-3944?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joe Bohn updated GERONIMO-3944: --- Fix Version/s: (was: 2.1.1) 2.1.x moving fix version to 2.1.x and 2.2 ... doesn't look like it will make 2.1.1 Web plan schema munging reordering elements wrong - Key: GERONIMO-3944 URL: https://issues.apache.org/jira/browse/GERONIMO-3944 Project: Geronimo Issue Type: Bug Security Level: public(Regular issues) Components: web Affects Versions: 2.1 Reporter: David Jencks Priority: Blocker Fix For: 2.1.x, 2.2 A user discovered that a tomcat plan with both security and persistence elements gets broken by the schema munging. Original, apparently correct plan: ?xml version=1.0 encoding=UTF-8? web-app xmlns='http://geronimo.apache.org/xml/ns/j2ee/web-2.0.1' dep:environment xmlns:dep='http://geronimo.apache.org/xml/ns/deployment-1.2' dep:moduleId dep:groupIdssi.web/dep:groupId dep:artifactIdequipment-aaf/dep:artifactId dep:version1.0/dep:version dep:typewar/dep:type /dep:moduleId dep:dependencies dep:dependency dep:groupIdcom.ibm/dep:groupId dep:artifactIdjtopen/dep:artifactId dep:version6.1/dep:version dep:typejar/dep:type /dep:dependency dep:dependency dep:groupIdorg.apache.openjpa/dep:groupId dep:artifactIdopenjpa/dep:artifactId dep:version1.0.2/dep:version dep:typejar/dep:type /dep:dependency !-- dep:dependency dep:groupIdssi/dep:groupId dep:artifactIdssi-api/dep:artifactId dep:version1.0/dep:version dep:typejar/dep:type /dep:dependency -- dep:dependency dep:groupIdconsole.dbpool/dep:groupId dep:artifactIdjdbc%2FAAF/dep:artifactId dep:version1.0/dep:version dep:typerar/dep:type /dep:dependency /dep:dependencies /dep:environment context-root/aaf/equipment/context-root security-realm-namerealm-SSLIB/security-realm-name security xmlns:sec=http://geronimo.apache.org/xml/ns/security-2.0; default-principal realm-name=realm-SSLIB principal name=anonymous class=org.apache.geronimo.security.realm.providers.GeronimoUserPrincipal/ /default-principal role-mappings role role-name=equipment-user realm realm-name=realm-SSLIB principal name=ADMIN class=org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal/ /realm realm realm-name=realm-SSLIB principal name=AAF class=org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal/ /realm /role /role-mappings /security nam:resource-ref xmlns:nam=http://geronimo.apache.org/xml/ns/naming-1.2; nam:ref-namejdbc/ds/nam:ref-name nam:resource-linkjdbc/AAF/nam:resource-link /nam:resource-ref jpa:persistence version=1.0 xmlns:jpa='http://java.sun.com/xml/ns/persistence' jpa:persistence-unit name=equipment-pu transaction-type=JTA jpa:providerorg.apache.openjpa.persistence.PersistenceProviderImpl/jpa:provider jpa:jta-data-sourcejdbc%2FAAF/jpa:jta-data-source jpa:non-jta-data-sourcejdbc%2FAAF/jpa:non-jta-data-source jpa:clai.api.jpa.company.Description/jpa:class jpa:clai.api.jpa.company.Equipment/jpa:class jpa:clai.api.jpa.company.EquipmentMaintanence/jpa:class jpa:clai.api.jpa.company.EquipmentMaintanenceType/jpa:class jpa:clai.api.jpa.company.EquipmentType/jpa:class jpa:exclude-unlisted-classestrue/jpa:exclude-unlisted-classes jpa:properties jpa:property name=openjpa.Log value=DefaultLevel=TRACE,