[jboss-jira] [JBoss JIRA] (AS7-3433) DataSource's <url-delimiter> value is ignored by AS7DataSourceDeployer
Brian Stansberry (JIRA)
jira-events at lists.jboss.org
Fri Jun 14 13:34:54 EDT 2013
[ https://issues.jboss.org/browse/AS7-3433?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12781783#comment-12781783 ]
Brian Stansberry commented on AS7-3433:
---------------------------------------
The fix associated with this JIRA (see the "Source" tab) is in EAP 6.1.0.Final. It's in EAP 6.1.0.Alpha1 / AS 7.2.0.Final.
If you are seeing this in EAP 6.1.0.Final, please open a ticket via the support portal so it can be properly tracked for the product. Thanks.
> DataSource's <url-delimiter> value is ignored by AS7DataSourceDeployer
> ----------------------------------------------------------------------
>
> Key: AS7-3433
> URL: https://issues.jboss.org/browse/AS7-3433
> Project: Application Server 7
> Issue Type: Bug
> Components: JCA
> Affects Versions: 7.1.0.CR1
> Environment: JBoss 7.1.0.CR1, MS SQL Sever 2005/2008
> Reporter: Xi CHEN
> Assignee: Stefano Maestri
> Labels: connection_factory, connector, database, datasource, failover, url-delimiter
>
> We try to use
> <datasource ... >
> <connection-url>jdbc:sqlserver://SERVER_ONE:1433;databaseName=MyDB|jdbc:sqlserver://SERVER_TWO:1433;databaseName=MyDB</connection-url>
> <url-delimiter>|</url-delimiter>
> ...
> </datasource>
> to treate database failover case, but it doesn't work in JBoss 7.1.0.CR1. It just use the first connection url.
> By looking at the code source of jboss connector ( in org.jboss.as.connector.subsystems.datasources.AbstractDataSourceService.java), I found the url-delimiter's value is never set into LocalManagedConnectionFactory.
--
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 jboss-jira
mailing list