Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-5130

5.0 war fails to deploy on Glassfish 4.0

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • None
    • 5.0.1
    • build
    • Glassfish 4.0

      Deploying the war distribution to Glassfish 4.0 gives the following error:

      1. asadmin deploy magnolia-empty-webapp-5.0.war
        remote failure: Error occurred during deployment: Exception while deploying the app [magnolia-empty-webapp-5.0] : org.xml.sax.SAXParseException; lineNumber: 24; columnNumber: 20; Deployment descriptor file WEB-INF/web.xml in archive [magnolia-empty-webapp-5.0]. cvc-complex-type.2.4.a: Invalid content was found starting with element 'tracking-mode'. One of ' {"http://java.sun.com/xml/ns/j2ee":session-timeout}

        ' is expected.. Please see server.log for more details.
        Command deploy failed.

        Acceptance criteria

              tmattsson Tobias Mattsson
              inversebit Phill Ashworth
              Votes:
              2 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD