[xwiki-users] search behavior

2017-06-06 Thread viktor
[[Note: The XWiki project is switching away from this mailing list and moving 
to a forum: https://discourse.xwiki.org. This list will be made readonly in a 
few days. Please post on the forum from now on. Thanks.]]

-
Hi All,

I have a strange behavior with search. 

When I start entering the search word in the search field the auto suggestion 
pops up with the pages having that content, but as soon as I hit enter I 
receive an empty list. This happens even if I copy paste a word from an 
existing page.

What I want is to list the pages which containing the searched words. (Not only 
popping up in the auto suggestion)

XWiki is running on Apache Tomcat/8.5.15
XWiki version : XWiki Enterprise 8.4.5

Any suggestion?

Thanks for your help, 
Viktor


[xwiki-users] xwiki war deploy issue

2017-05-10 Thread viktor
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.(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