![]() |
|
|
|
|
Change By:
|
Tobias Mattsson
(03/Oct/13 6:07 PM)
|
|
Description:
|
We're using the metadata-complete attribute that was added in 2.5, but we're specifying 2.4 preventing it from starting in JBoss AS 7 because web.xml does not validate.
The
metadata-complete attribute should be removed and the
namespace declaration
updated to 2.5.
The namespace declaration
should be
:
{code} <?xml version="1.0" encoding="UTF-8"?> <web-app xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" version="2.5"
metadata-complete="true"
> {code}
It currently is:
{code} <?xml version="1.0" encoding="UTF-8"?> <web-app xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd" metadata-complete="true" version="2.4"> {code}
We're also using the <tracking-mode> tag to specify cookie tracking. This is a Servlet 3.0 feature. JBoss AS 7 seems to ignore that while JBoss AS 6 fails to start.
It should also be removed.
{code} <session-config> <tracking-mode>COOKIE</tracking-mode> </session-config> {code}
|
|
|
|
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
|
----------------------------------------------------------------
For list details, see: http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <
[email protected]>
----------------------------------------------------------------