commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "paul qing (JIRA)" <j...@apache.org>
Subject [jira] Updated: (DBCP-279) unset XADatasource's property in BasicManagedDataSource class
Date Fri, 19 Dec 2008 06:33:44 GMT

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

paul qing updated DBCP-279:
---------------------------


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)

> 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
>            Reporter: paul qing
>   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

-- 
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