[infinispan-issues] [JBoss JIRA] (ISPN-2928) XML Parser for JDBC Cachestore configuration sets wrong value for connection url
sarah a (JIRA)
jira-events at lists.jboss.org
Fri Mar 15 10:24:42 EDT 2013
[ https://issues.jboss.org/browse/ISPN-2928?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
sarah a updated ISPN-2928:
--------------------------
Description:
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.
was:
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:
switch (attribute) {
case CONNECTION_URL: {
builder.driverClass(value);
break;
}
case DRIVER_CLASS: {
builder.driverClass(value);
break;
}
This parse error causes a connection not found error at runtime.
> 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: Mircea Markus
> 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