Details
-
Bug
-
Resolution: Fixed
-
Major
-
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
- duplicates
-
XWIKI-3985 web.xml uses Servlet 2.3 specification but references <dipatcher> elements which are not defined until Servlet 2.4 specification
- Closed
- is related to
-
XWIKI-3985 web.xml uses Servlet 2.3 specification but references <dipatcher> elements which are not defined until Servlet 2.4 specification
- Closed