Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-15565

Failure to deploy XWiki on WildFly caused by metrics-jetty9

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 10.7
    • Fix Version/s: 10.8-rc-1
    • Component/s: Other
    • Environment:
      WildFly 14
    • Difficulty:
      Unknown
    • Similar issues:

      Description

      See https://forum.xwiki.org/t/xwiki-10-7-war-failure-to-deploy-on-wildfly-14-0/3545

      Error:

      2018-09-03 20:24:57,421 ERROR [org.jboss.as.controller.management-operation] (External Management Request Threads -- 1) WFLYCTL0013: Operation ("deploy") failed - address: ([("deployment" => "xwiki-platform-distribution-war-10.7.war")]) - failure description: {"WFLYCTL0080: Failed services" => {"jboss.deployment.unit.\"xwiki-platform-distribution-war-10.7.war\".POST_MODULE" => "WFLYSRV0153: Failed to process phase POST_MODULE of deployment \"xwiki-platform-distribution-war-10.7.war\"
          Caused by: java.lang.RuntimeException: WFLYSRV0177: Error getting reflective information for class com.codahale.metrics.jetty9.InstrumentedHandler$7 with ClassLoader ModuleClassLoader for Module \"deployment.xwiki-platform-distribution-war-10.7.war\" from Service Module Loader
          Caused by: java.lang.NoClassDefFoundError: Failed to link com/codahale/metrics/jetty9/InstrumentedHandler (Module \"deployment.xwiki-platform-distribution-war-10.7.war\" from Service Module Loader): org/eclipse/jetty/server/handler/HandlerWrapper"}}
      2018-09-03 20:24:57,437 ERROR [org.jboss.as.server] (External Management Request Threads -- 1) WFLYSRV0021: Deploy of deployment "xwiki-platform-distribution-war-10.7.war" was rolled back with the following failure message: 
      {"WFLYCTL0080: Failed services" => {"jboss.deployment.unit.\"xwiki-platform-distribution-war-10.7.war\".POST_MODULE" => "WFLYSRV0153: Failed to process phase POST_MODULE of deployment \"xwiki-platform-distribution-war-10.7.war\"
          Caused by: java.lang.RuntimeException: WFLYSRV0177: Error getting reflective information for class com.codahale.metrics.jetty9.InstrumentedHandler$7 with ClassLoader ModuleClassLoader for Module \"deployment.xwiki-platform-distribution-war-10.7.war\" from Service Module Loader
          Caused by: java.lang.NoClassDefFoundError: Failed to link com/codahale/metrics/jetty9/InstrumentedHandler (Module \"deployment.xwiki-platform-distribution-war-10.7.war\" from Service Module Loader): org/eclipse/jetty/server/handler/HandlerWrapper"}}
      2018-09-03 20:25:02,203 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-4) WFLYSRV0028: Stopped deployment xwiki-platform-distribution-war-10.7.war (runtime-name: xwiki-platform-distribution-war-10.7.war) in 4750ms
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                vmassol Vincent Massol
                Reporter:
                vmassol Vincent Massol
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: