Mantis - Quercus
|
|||||
Viewing Issue Advanced Details | |||||
|
|||||
ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
3625 | block | always | 08-04-09 20:50 | 08-04-09 20:50 | |
|
|||||
Reporter: | mtourne | Platform: | |||
Assigned To: | OS: | ||||
Priority: | normal | OS Version: | |||
Status: | new | Product Version: | 3.2.1 | ||
Product Build: | Resolution: | open | |||
Projection: | none | ||||
ETA: | none | Fixed in Version: | |||
|
|||||
Summary: | 0003625: Unable to use Oracle Database with oci8 | ||||
Description: |
There is a defined way to "replace" calls to mysql_connect to the underlying jndi facility. But it look like this this method would fail for other SGBD drivers. I've got a php application which uses Oracle and the oci8 driver to connect to it, and I can't get it to work. I've tried to define the db this way in resin.conf : <database> <jndi-name>jdbc/test_oracle</jndi-name> <driver> <type>oracle.jdbc.pool.OracleConnectionPoolDataSource</type> <url>jdbc:oracle:thin:@localhost:1521:test</url> <user>test</user> <password>test/password> </driver> </database> And use it in quercus/WEB-INF/web.xml But I always get a StackOverflowError : Caused by: java.lang.StackOverflowError at com.caucho.jca.ConnectionPool.allocate(ConnectionPool.java:773) at com.caucho.jca.ConnectionPool.allocateConnection(ConnectionPool.java:567) at com.caucho.sql.DataSourceImpl.getConnection(DataSourceImpl.java:65) at com.caucho.sql.DBPool.getConnection(DBPool.java:701) at com.caucho.quercus.env.Env.getConnection(Env.java:716) at com.caucho.quercus.lib.db.Oracle.connectImpl(Oracle.java:106) at com.caucho.quercus.lib.db.JdbcConnectionResource.connectInternal(JdbcConnectionResource.java:195) at com.caucho.quercus.lib.db.Oracle.<init>(Oracle.java:64) at com.caucho.quercus.lib.db.OracleModule.connectInternal(OracleModule.java:2245) at com.caucho.quercus.lib.db.OracleModule.oci_pconnect(OracleModule.java:1610) at com.caucho.quercus.lib.db.OracleModule.ociplogon(OracleModule.java:2097) at sun.reflect.GeneratedMethodAccessor76.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) |
||||
Steps To Reproduce: | |||||
Additional Information: | |||||
Relationships | |||||
Attached Files: |
There are no notes attached to this issue. |