[infinispan-issues] [JBoss JIRA] (ISPN-2928) XML Parser for JDBC Cachestore configuration sets wrong value for connection url
Galder Zamarreño (JIRA)
jira-events at lists.jboss.org
Mon Mar 18 12:38:43 EDT 2013
[ https://issues.jboss.org/browse/ISPN-2928?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Galder Zamarreño updated ISPN-2928:
-----------------------------------
Status: Resolved (was: Pull Request Sent)
Fix Version/s: 5.2.6.Final
5.3.0.Alpha1
5.3.0.Final
Resolution: Done
> XML Parser for JDBC Cachestore configuration sets wrong value for connection url
> --------------------------------------------------------------------------------
>
> Key: ISPN-2928
> URL: https://issues.jboss.org/browse/ISPN-2928
> Project: Infinispan
> Issue Type: Bug
> Components: Loaders and Stores
> Affects Versions: 5.2.1.Final, 5.2.3.Final
> Reporter: sarah a
> Assignee: Tristan Tarrant
> Fix For: 5.2.6.Final, 5.3.0.Alpha1, 5.3.0.Final
>
> Attachments: 0001-ISPN-2928-XML-Parser-for-JDBC-Cachestore-configurati.patch
>
>
> The new configuration parser for 5.2 (JdbcCacheStoreConfigurationParser52) doesn't set the connection url. There is a cut and paste error in a switch block:
> {code}
> switch (attribute) {
> case CONNECTION_URL: {
> builder.driverClass(value);
> break;
> }
> case DRIVER_CLASS: {
> builder.driverClass(value);
> break;
> }
> {code}
> This parse error causes a connection not found error at runtime.
--
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