2 Replies Latest reply on Jun 21, 2017 8:25 AM by sidde sivajyothi

    Wildfly-Document root element \"ehcache\", must match DOCTYPE root \"null\"

    sidde sivajyothi Newbie

      Hi Team,

       

      I am trying to deploy an ear file in WIldly 9.x, facing this issue below, cannot figure out how to fix this.ehcache 2.10.4.jar is used in my application.

      Could someone please help.

       

      2017-06-19 03:50:01,284 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("deploy") failed - address: ([("deployment" => "ServiceWrapper-0.0.1-SNAPSHOT.ear")]) - failure description: {"WFLYCTL0080: Failed services" => {"jboss.undertow.deployment.default-server.default-host./customws" => "org.jboss.msc.service.StartException in service jboss.undertow.deployment.default-server.default-host./customws: java.lang.RuntimeException: org.springframework.beans.factory.BeanInitializationException: Could not load properties; nested exception is java.util.InvalidPropertiesFormatException: org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 118; Document root element \"ehcache\", must match DOCTYPE root \"null\".

          Caused by: java.lang.RuntimeException: org.springframework.beans.factory.BeanInitializationException: Could not load properties; nested exception is java.util.InvalidPropertiesFormatException: org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 118; Document root element \"ehcache\", must match DOCTYPE root \"null\".

          Caused by: org.springframework.beans.factory.BeanInitializationException: Could not load properties; nested exception is java.util.InvalidPropertiesFormatException: org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 118; Document root element \"ehcache\", must match DOCTYPE root \"null\".

          Caused by: java.util.InvalidPropertiesFormatException: org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 118; Document root element \"ehcache\", must match DOCTYPE root \"null\".

          Caused by: org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 118; Document root element \"ehcache\", must match DOCTYPE root \"null\"."}}

      2017-06-19 03:50:01,331 INFO  [org.jboss.as.server] (ServerService Thread Pool -- 34) WFLYSRV0010: Deployed "ServiceWrapper-0.0.1-SNAPSHOT.ear" (runtime-name : "ServiceWrapper-0.0.1-SNAPSHOT.ear")

      2017-06-19 03:50:01,331 INFO  [org.jboss.as.controller] (Controller Boot Thread) WFLYCTL0183: Service status report

      WFLYCTL0186:   Services which failed to start:      service jboss.undertow.deployment.default-server.default-host./customws: org.jboss.msc.service.StartException in service jboss.undertow.deployment.default-server.default-host./customws: java.lang.RuntimeException: org.springframework.beans.factory.BeanInitializationException: Could not load properties; nested exception is java.util.InvalidPropertiesFormatException: org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 118; Document root element "ehcache", must match DOCTYPE root "null".