Hi Alexander,
Have you solved your problem?
If not, maybe you could try what’s described at
http://jira.xwiki.org/browse/XWIKI-10798
?
Thanks
-Vincent
On 6 Aug 2014 at 10:56:30, Pankraz, Alexander (HP DualStudy)
(alexander.pankraz@hp.com(mailto:alexander.pankraz@hp.com)) wrote:
Hello dears,
i have a issue with deployment of xwiki version 6.1 (actual stable version) on a jboss
environment.
I get three issues. I was able to fix 2 of them. These two issues are missing classes...
I use jboss 8.1 alias Wildfly. I tried deployment over cmd and web-application with a
.war file. I also tried this on other devices.
Used Java Version last stable 7.
The third issue is this one:
"{\"JBAS014671: Failed services\" =>
{\"jboss.deployment.unit.\\\"xwiki.war\\\".WeldStartService\" =>
\"org.jboss.msc.service.StartException in service
jboss.deployment.unit.\\\"xwiki.war\\\".WeldStartService: Failed to start
service
Caused by: org.jboss.weld.exceptions.DefinitionException: WELD-000075: Normal scoped
managed bean implementation class has a public field: [EnhancedAnnotatedFieldImpl] public
org.restlet.ext.jaxrs.internal.provider.JaxbElementProvider.contextResolver\"}}"
I would be very grateful if you could help me with this issue.
Here the full deployment log:
[snip]
2014-08-04 08:06:05,236 INFO [org.jboss.weld.deployer]
(MSC service thread 1-3) JBAS016008: Starting weld service for deployment xwiki.war
2014-08-04 08:06:09,184 WARN [org.jboss.modules] (weld-worker-1) Failed to define class
org.apache.hadoop.hdfs.web.resources.UserProvider in Module
"deployment.xwiki.war:main" from Service Module Loader: java.lang.LinkageError:
Failed to link org/apache/hadoop/hdfs/web/resources/UserProvider (Module
"deployment.xwiki.war:main" from Service Module Loader)
at org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:487)
[jboss-modules.jar:1.3.3.Final]
at org.jboss.modules.ModuleClassLoader.loadClassLocal(ModuleClassLoader.java:277)
[jboss-modules.jar:1.3.3.Final]
at org.jboss.modules.ModuleClassLoader$1.loadClassLocal(ModuleClassLoader.java:92)
[jboss-modules.jar:1.3.3.Final]
at org.jboss.modules.Module.loadModuleClass(Module.java:568)
[jboss-modules.jar:1.3.3.Final]
at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:205)
[jboss-modules.jar:1.3.3.Final]
at
org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:459)
[jboss-modules.jar:1.3.3.Final]
at
org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:408)
[jboss-modules.jar:1.3.3.Final]
at
org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:389)
[jboss-modules.jar:1.3.3.Final]
at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:134)
[jboss-modules.jar:1.3.3.Final]
at
org.jboss.as.weld.WeldModuleResourceLoader.classForName(WeldModuleResourceLoader.java:68)
[wildfly-weld-8.1.0.Final.jar:8.1.0.Final]
at org.jboss.weld.bootstrap.BeanDeployer.loadClass(BeanDeployer.java:106)
[weld-core-impl-2.1.2.Final.jar:2014-01-09 09:23]
at org.jboss.weld.bootstrap.BeanDeployer.addClass(BeanDeployer.java:94)
[weld-core-impl-2.1.2.Final.jar:2014-01-09 09:23]
at
org.jboss.weld.bootstrap.ConcurrentBeanDeployer$1.doWork(ConcurrentBeanDeployer.java:62)
[weld-core-impl-2.1.2.Final.jar:2014-01-09 09:23]
at
org.jboss.weld.bootstrap.ConcurrentBeanDeployer$1.doWork(ConcurrentBeanDeployer.java:60)
[weld-core-impl-2.1.2.Final.jar:2014-01-09 09:23]
at
org.jboss.weld.executor.IterativeWorkerTaskFactory$1.call(IterativeWorkerTaskFactory.java:60)
[weld-core-impl-2.1.2.Final.jar:2014-01-09 09:23]
at
org.jboss.weld.executor.IterativeWorkerTaskFactory$1.call(IterativeWorkerTaskFactory.java:53)
[weld-core-impl-2.1.2.Final.jar:2014-01-09 09:23]
at java.util.concurrent.FutureTask.run(FutureTask.java:262) [rt.jar:1.7.0_45]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
[rt.jar:1.7.0_45]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
[rt.jar:1.7.0_45]
at java.lang.Thread.run(Thread.java:744) [rt.jar:1.7.0_45]
Caused by: java.lang.NoClassDefFoundError: com/sun/jersey/spi/inject/InjectableProvider
at java.lang.ClassLoader.defineClass1(Native Method) [rt.jar:1.7.0_45]
at java.lang.ClassLoader.defineClass(ClassLoader.java:800) [rt.jar:1.7.0_45]
at org.jboss.modules.ModuleClassLoader.doDefineOrLoadClass(ModuleClassLoader.java:361)
[jboss-modules.jar:1.3.3.Final]
at org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:482)
[jboss-modules.jar:1.3.3.Final]
... 19 more
Caused by: java.lang.ClassNotFoundException: com.sun.jersey.spi.inject.InjectableProvider
from [Module "deployment.xwiki.war:main" from Service Module Loader]
at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:213)
[jboss-modules.jar:1.3.3.Final]
at
org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:459)
[jboss-modules.jar:1.3.3.Final]
at
org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:408)
[jboss-modules.jar:1.3.3.Final]
at
org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:389)
[jboss-modules.jar:1.3.3.Final]
at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:134)
[jboss-modules.jar:1.3.3.Final]
... 23 more
[snip]
best regards
Alexander Pankraz
[snip]