commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Thomas (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (DBCP-279) unset XADatasource's property in BasicManagedDataSource class
Date Wed, 18 Feb 2009 17:03:01 GMT

     [ https://issues.apache.org/jira/browse/DBCP-279?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Mark Thomas resolved DBCP-279.
------------------------------

    Resolution: Invalid

Not sure which version of the source you are using. There is no 1.3 yet.

This looks like a configuration/usage issue to me. Please use the users list for assistance.

> unset XADatasource's property in BasicManagedDataSource class
> -------------------------------------------------------------
>
>                 Key: DBCP-279
>                 URL: https://issues.apache.org/jira/browse/DBCP-279
>             Project: Commons Dbcp
>          Issue Type: Bug
>    Affects Versions: 1.3
>         Environment: jdk1.5(via BasicManagedDataSource class to create ds.)
>            Reporter: paul qing
>             Fix For: 1.3
>
>   Original Estimate: 4h
>  Remaining Estimate: 4h
>
> hi,everyone:
>  when i use dbcp1.3's source,i find no where to set XADatasource's connect parameter;such
as url hasn't setted for XADatasource's instance.anyone response to me is very kindy.
>  Paul qing
> stacktrace is:
> org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (指定了无效的
Oracle URL: OracleDataSource.makeURL)
> 	at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1228)
> 	at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:884)
> 	at com.test.xa.TestJtaWithXaDs.addUser(TestJtaWithXaDs.java:85)
> 	at com.test.xa.TestJtaWithXaDs.main(TestJtaWithXaDs.java:41)
> Caused by: java.sql.SQLException: 指定了无效的 Oracle URL: OracleDataSource.makeURL
> 	at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
> 	at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:179)
> 	at oracle.jdbc.dbaccess.DBError.check_error(DBError.java:1130)
> 	at oracle.jdbc.pool.OracleDataSource.makeURL(OracleDataSource.java:966)
> 	at oracle.jdbc.pool.OracleDataSource.getURL(OracleDataSource.java:575)
> 	at oracle.jdbc.xa.client.OracleXADataSource.getXAConnection(OracleXADataSource.java:115)
> 	at org.apache.commons.dbcp.managed.DataSourceXAConnectionFactory.createConnection(DataSourceXAConnectionFactory.java:103)
> 	at org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:298)
> 	at org.apache.commons.dbcp.BasicDataSource.validateConnectionFactory(BasicDataSource.java:1340)
> 	at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1224)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message