-
Bug
-
Resolution: Done
-
Blocker
-
4.0.0.Beta1
-
None
I am currently unable to create indexes using the Wildfly 8.1 Modeshape sub-system.
Below is the configuration I used:
<subsystem xmlns="urn:jboss:domain:modeshape:2.0"> <repository name="test-repo" cache-name="test-repo" cache-container="modeshape" security-domain="test-security"> <workspaces> <workspace name="default"> <initial-content> /apps/test/config/initial-test-content.xml </initial-content> </workspace> </workspaces> <node-types> <node-type>/apps/test/config/stock/schema.cnd</node-type> </node-types> <index-providers> <index-provider name="stock" classname="org.modeshape.jcr.index.local.LocalIndexProvider" module="org.modeshape" path="/apps/test/indexes"/> </index-providers> <indexes> <index name="assetName" provider-name="stock" kind="value" node-type="asset:stock" columns="asset:name(STRING)"/> </indexes> </repository> </subsystem>
The following error occurs attempting to parse the XML.
Message: JBAS014789: Unexpected element '{urn:jboss:domain:jaxrs:1.0}subsystem' encountered at org.jboss.as.controller.parsing.ParseUtils.unexpectedElement(ParseUtils.java:85) [wildfly-controller-8.1.0.Final.jar:8.1.0.Final] at org.jboss.as.controller.parsing.ParseUtils.nextElement(ParseUtils.java:76) [wildfly-controller-8.1.0.Final.jar:8.1.0.Final] at org.jboss.as.server.parsing.StandaloneXml.readServerElement_1_4(StandaloneXml.java:459) [wildfly-server-8.1.0.Final.jar:8.1.0.Final] at org.jboss.as.server.parsing.StandaloneXml.readElement(StandaloneXml.java:145) [wildfly-server-8.1.0.Final.jar:8.1.0.Final] at org.jboss.as.server.parsing.StandaloneXml.readElement(StandaloneXml.java:107) [wildfly-server-8.1.0.Final.jar:8.1.0.Final] at org.jboss.staxmapper.XMLMapperImpl.processNested(XMLMapperImpl.java:110) [staxmapper-1.1.0.Final.jar:1.1.0.Final] at org.jboss.staxmapper.XMLMapperImpl.parseDocument(XMLMapperImpl.java:69) [staxmapper-1.1.0.Final.jar:1.1.0.Final] at org.jboss.as.controller.persistence.XmlConfigurationPersister.load(XmlConfigurationPersister.java:104) [wildfly-controller-8.1.0.Final.jar:8.1.0.Final] ... 3 more
A full discussion can be found on the forum at:
https://developer.jboss.org/message/902328?et=watches.email.thread#902328
I was also able to recreate the issue using the ModeShape test suite, see steps below.
- is blocked by
-
MODE-2293 Remove the MapDB module from the Wildfly distribution
- Resolved