Grails
  1. Grails
  2. GRAILS-7586

Deploy Grails 1.4M1 WAR to Weblogic 10.3.4 Errors

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.4-M1
    • Fix Version/s: 2.0-M1
    • Component/s: Build System
    • 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.

        Activity

        Hide
        Øistein Sletten Løvik added a comment -

        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.

        Show
        Øistein Sletten Løvik added a comment - 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.
        Hide
        Øistein Sletten Løvik added a comment -

        possible fix

        Show
        Øistein Sletten Løvik added a comment - possible fix
        Hide
        Burt Beckwith added a comment -

        Thanks for the patch

        Show
        Burt Beckwith added a comment - Thanks for the patch

          People

          • Assignee:
            Burt Beckwith
            Reporter:
            Greg Huang
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development