Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-4123

Deployment of XWiki 1.9.2 fails on Glassfish 2.1

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 2.0 M3
    • 1.9.2
    • None
    • None
    • Trivial

    Description

      I wasn't able to deploy XWiki 1.9.2 on Glassfish 2.1. Glassfish complained about invalid tags:

      Deploying application in domain failed; Error loading deployment descriptors for module [xwiki] Line 174 Column 20 – Deployment descriptor file WEB-INF/web.xml in archive [xwiki]. cvc-complex-type.2.4.d: Invalid content was found starting with element 'description'. No child element is expected at this point. Error loading deployment descriptors for module [xwiki] Line 174 Column 20 – Deployment descriptor file WEB-INF/web.xml in archive [xwiki].

      Changing the deployment descriptor (web.xml) did the trick for me:

      <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xmlns="http://java.sun.com/xml/ns/javaee"
      xmlns:web="http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
      xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
      version="2.4">

      Attachments

        Issue Links

          Activity

            People

              sdumitriu Sergiu Dumitriu
              jsiepkes Jasper Siepkes
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: