Hi All,
I have some issues with the xwiki war deploy. I downloaded the XWiki 9.3.1 war 
file and wanted to deploy to wildfly-10.1.0.Final (also tried to deploy to 
11.0.0.Alpha1), but the deploy fails. In the past days google did not tell me 
any wise thing how I should solve the issue (it can be that i asked wrong....). 
Does anyone have an idea what i missed or how i can get it work? Thanks a lot 
for the help,Vik XWiki: 9.3.1WildFly: wildfly-10.1.0.Final (also 
11.0.0.Alpha1)JAVA:java version "1.8.0_131"
Java(TM) SE Runtime Environment (build 1.8.0_131-b11)
Java HotSpot(TM) 64-Bit Server VM (build 25.131-b11, mixed mode) Install 
instructions which I followed:
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationWAR - Added the 
mysql connector
- Created the database and actualized the database settings in 
WEB-INF/hibernate.cfg.xml
- Added the "META-INF/jboss-all.xml" as it is written on the fix link.
 (http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationJBoss) This 
is the error message which I receive on the web interface:Cannot upload 
deployment: {"WFLYCTL0080: Failed services" => 
{"jboss.deployment.unit.\"xwiki-enterprise-web-9.3.1.war\".POST_MODULE" => 
"org.jboss.msc.service.StartException in service 
jboss.deployment.unit.\"xwiki-enterprise-web-9.3.1.war\".POST_MODULE: 
WFLYSRV0153: Failed to process phase POST_MODULE of deployment 
\"xwiki-enterprise-web-9.3.1.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-enterprise-web-9.3.1.war:main\" 
from Service Module Loader Caused by: java.lang.NoClassDefFoundError: Failed to 
link com/codahale/metrics/jetty9/InstrumentedHandler (Module 
\"deployment.xwiki-enterprise-web-9.3.1.war:main\" from Service Module Loader): 
org/eclipse/jetty/server/handler/HandlerWr
 apper"},"WFLYCTL0412: Required services that are not installed:" => 
["jboss.deployment.unit.\"xwiki-enterprise-web-9.3.1.war\".POST_MODULE"],"WFLYCTL0180:
 Services with missing/unavailable dependencies" => undefined} In the server 
log this is what has been generated:
17:39:22,675 WARN  [org.jboss.modules] (MSC service thread 1-7) Failed to 
define class com.codahale.metrics.jetty9.InstrumentedHandler in Module 
"deployment.xwiki-enterprise-web-9.3.1.war:main" from Service Module Loader: 
java.lang.NoClassDefFoundError: Failed to link 
com/codahale/metrics/jetty9/InstrumentedHandler (Module 
"deployment.xwiki-enterprise-web-9.3.1.war:main" from Service Module Loader): 
org/eclipse/jetty/server/handler/HandlerWrapper
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at 
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
    at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
    at 
org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:446)
    at 
org.jboss.modules.ModuleClassLoader.loadClassLocal(ModuleClassLoader.java:274)
    at 
org.jboss.modules.ModuleClassLoader$1.loadClassLocal(ModuleClassLoader.java:78)
    at org.jboss.modules.Module.loadModuleClass(Module.java:606)
    at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:190)
    at 
org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:363)
    at 
org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:351)
    at 
org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:93)
    at java.lang.Class.getDeclaredFields0(Native Method)
    at java.lang.Class.privateGetDeclaredFields(Class.java:2583)
    at java.lang.Class.getDeclaredFields(Class.java:1916)
    at 
org.jboss.as.server.deployment.reflect.ClassReflectionIndex.<init>(ClassReflectionIndex.java:72)
    at 
org.jboss.as.server.deployment.reflect.DeploymentReflectionIndex.getClassIndex(DeploymentReflectionIndex.java:66)
    at 
org.jboss.as.ee.metadata.MethodAnnotationAggregator.runtimeAnnotationInformation(MethodAnnotationAggregator.java:57)
    at 
org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.handleAnnotations(InterceptorAnnotationProcessor.java:106)
    at 
org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.processComponentConfig(InterceptorAnnotationProcessor.java:91)
    at 
org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.deploy(InterceptorAnnotationProcessor.java:76)
    at 
org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:147)
    at 
org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948)
    at 
org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881)
    at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:748)17:39:22,677 ERROR 
[org.jboss.msc.service.fail] (MSC service thread 1-7) MSC000001: Failed to 
start service 
jboss.deployment.unit."xwiki-enterprise-web-9.3.1.war".POST_MODULE: 
org.jboss.msc.service.StartException in service 
jboss.deployment.unit."xwiki-enterprise-web-9.3.1.war".POST_MODULE: 
WFLYSRV0153: Failed to process phase POST_MODULE of deployment 
"xwiki-enterprise-web-9.3.1.war"
    at 
org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:154)
    at 
org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948)
    at 
org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881)
    at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:748)
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-enterprise-web-9.3.1.war:main" from Service Module Loader
    at 
org.jboss.as.server.deployment.reflect.DeploymentReflectionIndex.getClassIndex(DeploymentReflectionIndex.java:70)
    at 
org.jboss.as.ee.metadata.MethodAnnotationAggregator.runtimeAnnotationInformation(MethodAnnotationAggregator.java:57)
    at 
org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.handleAnnotations(InterceptorAnnotationProcessor.java:106)
    at 
org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.processComponentConfig(InterceptorAnnotationProcessor.java:91)
    at 
org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.deploy(InterceptorAnnotationProcessor.java:76)
    at 
org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:147)
    ... 5 more
Caused by: java.lang.NoClassDefFoundError: Failed to link 
com/codahale/metrics/jetty9/InstrumentedHandler (Module 
"deployment.xwiki-enterprise-web-9.3.1.war:main" from Service Module Loader): 
org/eclipse/jetty/server/handler/HandlerWrapper
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at 
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
    at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
    at 
org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:446)
    at 
org.jboss.modules.ModuleClassLoader.loadClassLocal(ModuleClassLoader.java:274)
    at 
org.jboss.modules.ModuleClassLoader$1.loadClassLocal(ModuleClassLoader.java:78)
    at org.jboss.modules.Module.loadModuleClass(Module.java:606)
    at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:190)
    at 
org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:363)
    at 
org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:351)
    at 
org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:93)
    at java.lang.Class.getDeclaredFields0(Native Method)
    at java.lang.Class.privateGetDeclaredFields(Class.java:2583)
    at java.lang.Class.getDeclaredFields(Class.java:1916)
    at 
org.jboss.as.server.deployment.reflect.ClassReflectionIndex.<init>(ClassReflectionIndex.java:72)
    at 
org.jboss.as.server.deployment.reflect.DeploymentReflectionIndex.getClassIndex(DeploymentReflectionIndex.java:66)
    ... 10 more17:39:22,679 ERROR 
[org.jboss.as.controller.management-operation] (External Management Request 
Threads -- 5) WFLYCTL0013: Operation ("add") failed - address: ([("deployment" 
=> "xwiki-enterprise-web-9.3.1.war")]) - failure description: {
    "WFLYCTL0080: Failed services" => 
{"jboss.deployment.unit.\"xwiki-enterprise-web-9.3.1.war\".POST_MODULE" => 
"org.jboss.msc.service.StartException in service 
jboss.deployment.unit.\"xwiki-enterprise-web-9.3.1.war\".POST_MODULE: 
WFLYSRV0153: Failed to process phase POST_MODULE of deployment 
\"xwiki-enterprise-web-9.3.1.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-enterprise-web-9.3.1.war:main\" 
from Service Module Loader
    Caused by: java.lang.NoClassDefFoundError: Failed to link 
com/codahale/metrics/jetty9/InstrumentedHandler (Module 
\"deployment.xwiki-enterprise-web-9.3.1.war:main\" from Service Module Loader): 
org/eclipse/jetty/server/handler/HandlerWrapper"},
    "WFLYCTL0412: Required services that are not installed:" => 
["jboss.deployment.unit.\"xwiki-enterprise-web-9.3.1.war\".POST_MODULE"],
    "WFLYCTL0180: Services with missing/unavailable dependencies" => undefined
}
17:39:22,682 ERROR [org.jboss.as.server] (External Management Request Threads 
-- 5) WFLYSRV0021: Deploy of deployment "xwiki-enterprise-web-9.3.1.war" was 
rolled back with the following failure message: 
{
    "WFLYCTL0080: Failed services" => 
{"jboss.deployment.unit.\"xwiki-enterprise-web-9.3.1.war\".POST_MODULE" => 
"org.jboss.msc.service.StartException in service 
jboss.deployment.unit.\"xwiki-enterprise-web-9.3.1.war\".POST_MODULE: 
WFLYSRV0153: Failed to process phase POST_MODULE of deployment 
\"xwiki-enterprise-web-9.3.1.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-enterprise-web-9.3.1.war:main\" 
from Service Module Loader
    Caused by: java.lang.NoClassDefFoundError: Failed to link 
com/codahale/metrics/jetty9/InstrumentedHandler (Module 
\"deployment.xwiki-enterprise-web-9.3.1.war:main\" from Service Module Loader): 
org/eclipse/jetty/server/handler/HandlerWrapper"},
    "WFLYCTL0412: Required services that are not installed:" => 
["jboss.deployment.unit.\"xwiki-enterprise-web-9.3.1.war\".POST_MODULE"],
    "WFLYCTL0180: Services with missing/unavailable dependencies" => undefined
}

Reply via email to