[jboss-jira] [JBoss JIRA] (AS7-3433) DataSource's <url-delimiter> value is ignored by AS7DataSourceDeployer

Sudhir Jena (JIRA) jira-events at lists.jboss.org
Mon Jun 10 13:27:54 EDT 2013


    [ https://issues.jboss.org/browse/AS7-3433?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12780619#comment-12780619 ] 

Sudhir Jena commented on AS7-3433:
----------------------------------

Could anyone please let me know if this has been resolved for Jboss EAP 6.1.0 Final? We deployed EAP 6.1.0 Final and still are facing the same problem for mysql. As a result we cannot achieve HA failover for mysql db
                
> 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