-
1. Re: 3.0.0.Alpha4 can't use QueryManager after restart JcrEngine
rhauch Jun 7, 2012 11:16 AM (in response to neil.zou)1 of 1 people found this helpfulIt's likely more of an issue with ModeShape reusing the existing indexes. Check the "standalone-modeshape.xml" (or whatever configuration you're using) to see whether you're specifying where the indexes should be stored, and check that the location exists and has index files. The default location is '$JBOSS_HOME/standalone/data/modeshape/<repoName>/<repoName>/indexes/nodeinfo".
If the files are there, and queries don't work upon startup, it's most likely a bug and should be logged as an issue.
-
2. Re: 3.0.0.Alpha4 can't use QueryManager after restart JcrEngine
neil.zou Jun 7, 2012 10:02 PM (in response to rhauch)Oh... got, I forgot to configure the index storage location, so modeshape will store index in memory only.
By the way, shall we have some warning if such important things are not configured?
-
3. Re: 3.0.0.Alpha4 can't use QueryManager after restart JcrEngine
rhauch Jun 8, 2012 8:08 AM (in response to neil.zou)Oh... got, I forgot to configure the index storage location, so modeshape will store index in memory only.
By the way, shall we have some warning if such important things are not configured?
Sorry about assuming that you were using AS7, too. If you're not, then absolutely the indexes default to in-memory.
What to do in the default case is a bit tricky. Lemme start another thread on that topic.