WTP server adapter creates wrong security markup ------------------------------------------------
Key: GERONIMODEVTOOLS-135 URL: https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-135 Project: Geronimo-Devtools Issue Type: Bug Components: eclipse-plugin Environment: Rational Software Architect v7 Eclipse WTP server adapter V1.1 WASCE V1.1.0.1 java version "1.5.0" Java(TM) 2 Runtime Environment, Standard Edition (build pwi32devifx-20061016 (ifix 110599: SR3 + 109 092)) IBM J9 VM (build 2.3, J2RE 1.5.0 IBM J9 2.3 Windows XP x86-32 j9vmwi3223ifx-20061016 (JIT enabled) J9VM - 20061012_08722_lHdSMR JIT - 20060908_1811ifx1_r8 GC - 20060906_AA) JCL - 20061002 Reporter: Daniel S. Haischt After having added a security role to geronimo-web.xml using the Eclipse deployment plan editor, I am getting the following error: Caused by: org.apache.xmlbeans.XmlException: Invalid deployment descriptor: [error: cvc-complex-type.2.4a: Expected elements ... Deployment Plan: <?xml version="1.0" encoding="UTF-8"?> <web-app xmlns="http://geronimo.apache.org/xml/ns/j2ee/web-1.1" xmlns:nam="http://geronimo.apache.org/xml/ns/naming-1.1" xmlns:sec="http://geronimo.apache.org/xml/ns/security-1.1" xmlns:sys="http://geronimo.apache.org/xml/ns/deployment-1.1"> <sys:environment> <sys:moduleId> <sys:groupId>default</sys:groupId> <sys:artifactId>MYARTIFACT</sys:artifactId> <sys:version>1.0</sys:version> <sys:type>car</sys:type> </sys:moduleId> </sys:environment> <context-root>/mymoduleWAR</context-root> <sec:security> <sec:role-mappings> <sec:role role-name="myconfig"> <sec:description>myconfig</sec:description> </sec:role> </sec:role-mappings> </sec:security> </web-app> -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.