-
1. Re: Hibernate search customization in JBoss EAP 6.3 (Modeshape 3.8.x DV 6.1)
hchiorean Apr 24, 2015 1:32 AM (in response to wesssel)When you tried the JSON (standalone) config did you use the same Hibernate Search version that ModeShape uses in EAP (atm that is 4.3.0.Final) ? Maybe an older version of Hibernate Search doesn't make use of this property. The EAP subsystem configuration code should be passing all the custom hibernate.search.* configuration properties "down" to the JSON config, so I'm not sure why it wouldn't be passing this particular one as well.
Also, you should turn on DEBUG logging in EAP for org.modeshape.jboss.*. This should print out the JSON equivalent of the EAP configuration for a repository, so you should be able to track down if there's a bug in the EAP configuration subsystem or not.
-
2. Re: Hibernate search customization in JBoss EAP 6.3 (Modeshape 3.8.x DV 6.1)
wesssel Apr 24, 2015 2:28 AM (in response to hchiorean)Yes, I used the same version of Hibernate search as is distributed in the DV 6.1 build.
06:27:06,937 DEBUG [org.modeshape.jboss.service] (MSC service thread 1-2) ModeShape configuration for sample repository: { "name" : "sample" , "jndiName" : "" , "monitoring" : { "enabled" : true } , "workspaces" : { "allowCreation" : true , "default" : "default" } , "storage" : { "cacheName" : "sample" , "cacheConfiguration" : "content" , "binaryStorage" : { "type" : "file" , "directory" : "/opt/jboss/eap/standalone/data/modeshape/sample/sample/binaries" } } , "query" : { "indexing" : { "rebuildOnStartup" : { } , "backend" : { "type" : "lucene" } , "analyzer" : "org.apache.lucene.analysis.standard.StandardAnalyzer" , "threadPool" : "modeshape-indexing-workers" , "batchSize" : -1 , "readerStrategy" : "SHARED" , "mode" : "SYNC" , "asyncThreadPoolSize" : 1 , "asyncMaxQueueSize" : 1 } , "indexStorage" : { "type" : "filesystem" , "location" : "/opt/jboss/eap/standalone/data/modeshape/sample/indexes" } } , "security" : { "jaas" : { "policyName" : "modeshape-security" } , "anonymous" : { "username" : "<anonymous>" , "useOnFailedLogin" : false , "roles" : [ "admin" ] } , "providers" : [ { "classname" : "servlet" } ] } , "garbageCollection" : { "threadPool" : "modeshape-gc" , "initialTime" : "00:00" , "intervalInHours" : 24 } }
06:27:06,980 DEBUG [org.modeshape.jboss.service] (MSC service thread 1-2) Problems with configuration for sample repository:
06:27:07,110 INFO [org.modeshape.jcr.JcrRepository] (MSC service thread 1-2) ModeShape version 3.8.1.Final
So it is not picking up the hibernate.search parameters
-
3. Re: Hibernate search customization in JBoss EAP 6.3 (Modeshape 3.8.x DV 6.1)
wesssel Apr 24, 2015 2:34 AM (in response to wesssel)if (problems.isEmpty()) {
LOG.debugv("Problems with configuration for {0} repository: {1}", repositoryName, problems);
}
Is this supposed to have ! in front of it?
-
4. Re: Hibernate search customization in JBoss EAP 6.3 (Modeshape 3.8.x DV 6.1)
hchiorean Apr 24, 2015 2:55 AM (in response to wesssel)We will hopefully fix https://issues.jboss.org/browse/MODE-2461 for the upcoming Data Virtualization 6.2 release.
if (problems.isEmpty()) {
LOG.debugv("Problems with configuration for {0} repository: {1}", repositoryName, problems);
}
Is this supposed to have ! in front of it?
I don't know what you mean....
-
5. Re: Hibernate search customization in JBoss EAP 6.3 (Modeshape 3.8.x DV 6.1)
wesssel Apr 24, 2015 3:26 AM (in response to hchiorean)It is somewhat unrelated to this issue, but I've made a pull request: