[infinispan-dev] Configure named cache in remote infinispan 6.0.2 cluster

Tristan Tarrant ttarrant at redhat.com
Wed Sep 17 06:28:07 EDT 2014


Hi Radha,

this is a mailing list devoted to Infinispan development. Questions like 
your should be asked on the user forum [1]

Unfortunately there is no solution for you: embedded and server use 
different configuration in Infinispan 6.x.
We have rectified this in 7.x and now everything uses server-style 
configuration (albeit with minor differences in root elements and such).

Tristan

[1] https://developer.jboss.org/en/infinispan

On 17/09/14 11:55, Radha Mohan Maheshwari wrote:
> Hi all,
>
> how  to pass custom named cache config to infinispan 6.0.2 server
> as -c option is only taking server configuration not cache config
>
>
> getting this exception while passing custom cache config xml
>
> 15:23:26,978 ERROR [org.jboss.as.server] (Controller Boot Thread) 
> JBAS015956: Caught exception during boot: 
> org.jboss.as.controller.persistence.ConfigurationPersistenceException: 
> JBAS014676: Failed to parse configuration
>         at 
> org.jboss.as.controller.persistence.XmlConfigurationPersister.load(XmlConfigurationPersister.java:141) 
> [jboss-as-controller-7.2.0.Final.jar:7.2.0.Final]
>         at 
> org.jboss.as.server.ServerService.boot(ServerService.java:308) 
> [jboss-as-server-7.2.0.Final.jar:7.2.0.Final]
>         at 
> org.jboss.as.controller.AbstractControllerService$1.run(AbstractControllerService.java:188) 
> [jboss-as-controller-7.2.0.Final.jar:7.2.0.Final]
>         at java.lang.Thread.run(Thread.java:744) [rt.jar:1.7.0_51]
> Caused by: javax.xml.stream.XMLStreamException: ParseError at 
> [row,col]:[2,1]
> Message: Unexpected element '{urn:infinispan:config:6.0}infinispan'
>         at 
> org.jboss.staxmapper.XMLMapperImpl.processNested(XMLMapperImpl.java:108) 
> [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:133) 
> [jboss-as-controller-7.2.0.Final.jar:7.2.0.Final]
>         ... 3 more
>
>
> PFA custom config file
>
>
>
> -- 
> Radha Mohan Maheshwari
>
>
>
> _______________________________________________
> infinispan-dev mailing list
> infinispan-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/infinispan-dev



More information about the infinispan-dev mailing list