Details
-
Bug
-
Resolution: Done
-
Blocker
-
3.2.0.Final
-
None
Description
I get an error if I try to set min-string-size in cache-binary-storage
Config is
<repository name="testRepository" cache-name="testRepositoryCache" cache-container="modeshapeCache"> <cache-index-storage data-cache-name="testRepository_index_data" metadata-cache-name="testRepository_index_metadata" lock-cache-name="testRepository_index_locks" cache-container="modeshapeIndexCache"/> <cache-binary-storage min-value-size="0" min-string-size="256" data-cache-name="testRepository_binary_data" metadata-cache-name="testRepository_binary_metadata" cache-container="modeshapeBinaryCache"/> </repository>
I get this error on startup of jboss EAP 6.1 Alpha1
11:58:55,025 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2) MSC00001: Failed to start service jboss.modeshape.testRepository.repository: org.jboss.msc.service.StartException in service jboss.modeshape.testRepository.repository: org.modeshape.jcr.ConfigurationException: The configuration for the 'testRepository' repository has problems: ERROR: Error at storage.binaryStorage.minimumStringSizeInBytes : The 'minimumStringSizeInBytes' field on 'storage.binaryStorage' is not defined in the schema and the schema does not allow additional properties. at org.modeshape.jboss.service.RepositoryService.start(RepositoryService.java:216) at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.4.GA.jar:1.0.4.GA] at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.4.GA.jar:1.0.4.GA] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_17] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_17] at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_17] Caused by: org.modeshape.jcr.ConfigurationException: The configuration for the 'testRepository' repository has problems: ERROR: Error at storage.binaryStorage.minimumStringSizeInBytes : The 'minimumStringSizeInBytes' field on 'storage.binaryStorage' is not defined in the schema and the schema does not allow additional properties. at org.modeshape.jcr.ModeShapeEngine.deploy(ModeShapeEngine.java:493) at org.modeshape.jcr.ModeShapeEngine.deploy(ModeShapeEngine.java:465) at org.modeshape.jboss.service.RepositoryService.start(RepositoryService.java:214) ... 5 more