[infinispan-issues] [JBoss JIRA] (ISPN-3157) Realign Infinispan subsystem to match AS7.2/EAP6.1
RH Bugzilla Integration (JIRA)
jira-events at lists.jboss.org
Wed Jun 12 12:05:55 EDT 2013
[ https://issues.jboss.org/browse/ISPN-3157?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12781219#comment-12781219 ]
RH Bugzilla Integration commented on ISPN-3157:
-----------------------------------------------
Jonathan Mason <jmason at redhat.com> made a comment on [bug 973763|https://bugzilla.redhat.com/show_bug.cgi?id=973763]
+++ This bug was initially created as a clone of Bug #967984 +++
Description of problem:
When defining a custom cache loader via configuration file, JBoss Data Grid (JDG) fails to boot due to parsing errors (child elements of <loader>). Looking at org.jboss.as.clustering.infinispan.subsystem.InfinispanSubsystemXMLReader_5_2#parseCustomLoader, it seems that there is not support for child elements for <loader>.
Version-Release number of selected component (if applicable):
JBoss Data Grid 6.1 (based on Infinispan 5.2)
How reproducible:
Easily
Steps to Reproduce:
1). Define a cache with a customer loader like such:
<local-cache name="AppProps" start="EAGER">
<transaction mode="NONE"/>
<loader class="com.ferguson.xp.SimpleCacheLoader">
<property name="p1">v1</property>
</loader>
</local-cache>
Actual results:
JDG fails to boot with XML parsing errors:
14:33:18,864 ERROR [org.jboss.as.server] JBAS015956: Caught exception during boot: org.jboss.as.controller.persistence.ConfigurationPersistenceException: JBAS014676: Failed to parse configuration
...
Caused by: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[116,27]
Message: JBAS014789: Unexpected element '{urn:infinispan:server:core:5.2}property' encountered
at org.jboss.as.controller.parsing.ParseUtils.unexpectedElement(ParseUtils.java:85) [jboss-as-controller-7.1.3.Final-redhat-4.jar:7.1.3.Final-redhat-4]
...
Expected results:
JDG can sucessfully parse elements and boot up cleanly
Additional info:
> Realign Infinispan subsystem to match AS7.2/EAP6.1
> --------------------------------------------------
>
> Key: ISPN-3157
> URL: https://issues.jboss.org/browse/ISPN-3157
> Project: Infinispan
> Issue Type: Task
> Components: Server
> Reporter: Tristan Tarrant
> Assignee: Tristan Tarrant
> Priority: Critical
> Fix For: 5.3.0.Final
>
>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the infinispan-issues
mailing list