Description
When deployed to an application server that validates "web.xm" against its specification, the deployment fails. As an example, the WAR cannot be deployed as is to Glassfish 2.1. If you remove the DOCTYPE declaration and change the <web-app> node to look like:
<web-app xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="..."
version="2.4">
then this will deploy okay.
Attachments
Issue Links
- is duplicated by
-
XE-461 web.xml header points to incorrect XSD schema file
- Closed
-
XWIKI-4123 Deployment of XWiki 1.9.2 fails on Glassfish 2.1
- Closed
- relates to
-
XWIKI-4123 Deployment of XWiki 1.9.2 fails on Glassfish 2.1
- Closed