Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.4-M1
-
Fix Version/s: 2.0-M1
-
Component/s: Build System
-
Labels:
-
Environment:OS: Windows XP SP3 / Database: Oracle 11gR2 / Middleware: Oracle Weblogic 10.3.4
Description
I want to deploy Grails WAR on Weblogic server, the WAR package is very simple only have two Domains and use Scaffolding to rending the page, but the Weblogic complained:
Unable to access the selected application.
Exception in AppMerge flows' progression
Exception in AppMerge flows' progression
Unmarshaller failed
That because some duplicate filter mapping registry.
But I have more errors after this, the new error below:
Unable to access the selected application.
Exception in AppMerge flows' progression
Exception in AppMerge flows' progression
VALIDATION PROBLEMS WERE FOUND problem: cvc-complex-type.2.4a: Expected element 'init-param@http://java.sun.com/xml/ns/javaee' instead of 'dispatcher@http://java.sun.com/xml/ns/javaee' here in element filter@http://java.sun.com/xml/ns/javaee:<null> problem: cvc-complex-type.2.4a: Expected element 'init-param@http://java.sun.com/xml/ns/javaee' instead of 'dispatcher@http://java.sun.com/xml/ns/javaee' here in element filter@http://java.sun.com/xml/ns/javaee:<null>
These issues with web.xml is some <dispatcher> tags, they should appear in <filter-mapping> tags in Weblogic server.
The dispatcher elements should be under filter-mapping not filter. Same problem for OC4J. Or any other application server that does not allow you to deploy without a valid web.xml.