-
Bug
-
Resolution: Done
-
Blocker
-
3.3.0.Final, 3.3.x-prod-ip6.0
-
None
When trying to add a file system external source from CLI in EAP 6.1.0, as described here: https://docs.jboss.org/author/display/MODE/Configuring+ModeShape+in+AS7#ConfiguringModeShapeinAS7-Addandremoveexternalsources, the following exception is raised:
18:23:55,291 INFO [org.jboss.as] (Controller Boot Thread) JBAS015874: JBoss EAP 6.1.0.GA (AS 7.2.0.Final-redhat-8) started in 4334ms - Started 255 of 348 services (90 services are passive or on-demand) 18:26:58,825 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-1) MSC000001: Failed to start service jboss.modeshape.sample.external-sources.fsSource: org.jboss.msc.service.StartException in service jboss.modeshape.sample.external-sources.fsSource: org.modeshape.jcr.ConfigurationException: The configuration for the 'sample' repository has problems: ERROR: Error at externalSources.fsSource.readonly : Field value for 'externalSources.fsSource.readonly' expected to be of type boolean but was of type string at org.modeshape.jboss.service.SourceService.start(SourceService.java:112) at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.4.GA-redhat-1.jar:1.0.4.GA-redhat-1] at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.4.GA-redhat-1.jar:1.0.4.GA-redhat-1] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895) [rt.jar:1.6.0_45] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918) [rt.jar:1.6.0_45] at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_45] Caused by: org.modeshape.jcr.ConfigurationException: The configuration for the 'sample' repository has problems: ERROR: Error at externalSources.fsSource.readonly : Field value for 'externalSources.fsSource.readonly' expected to be of type boolean but was of type string at org.modeshape.jcr.ModeShapeEngine.update(ModeShapeEngine.java:598) at org.modeshape.jboss.service.SourceService.start(SourceService.java:110) ... 5 more