Uploaded image for project: 'Geronimo-Devtools'
  1. Geronimo-Devtools
  2. GERONIMODEVTOOLS-135

WTP server adapter creates wrong security markup

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.1.3
    • Fix Version/s: 2.1.3
    • Component/s: eclipse-plugin
    • Labels:
      None
    • Environment:

      Description

      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>

        Attachments

          Activity

            People

            • Assignee:
              mcconne Tim McConnell
              Reporter:
              cyberodin Daniel S. Haischt
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: