[MAGNOLIA-5130] 5.0 war fails to deploy on Glassfish 4.0 Created: 23/Jun/13  Updated: 04/Dec/13  Resolved: 04/Dec/13

Status: Closed
Project: Magnolia
Component/s: build
Affects Version/s: 5.0.1
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Phill Ashworth Assignee: Tobias Mattsson
Resolution: Duplicate Votes: 2
Labels: war
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Glassfish 4.0


Issue Links:
duplicate
is duplicated by MAGNOLIA-5356 Web.xml uses 2.5 and 3.0 features but... Closed
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Date of First Response:

 Description   

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.



 Comments   
Comment by Tobias Mattsson [ 04/Dec/13 ]

This should be fixed as of 5.2.

Generated at Mon Feb 12 04:02:16 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.