Mantis - Quercus
Viewing Issue Advanced Details
3625 block always 08-04-09 20:50 08-04-09 20:50
new 3.2.1  
0003625: Unable to use Oracle Database with oci8
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 :


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(
    at com.caucho.jca.ConnectionPool.allocateConnection(
    at com.caucho.sql.DataSourceImpl.getConnection(
    at com.caucho.sql.DBPool.getConnection(
    at com.caucho.quercus.env.Env.getConnection(
    at com.caucho.quercus.lib.db.Oracle.connectImpl(
    at com.caucho.quercus.lib.db.JdbcConnectionResource.connectInternal(
    at com.caucho.quercus.lib.db.Oracle.<init>(
    at com.caucho.quercus.lib.db.OracleModule.connectInternal(
    at com.caucho.quercus.lib.db.OracleModule.oci_pconnect(
    at com.caucho.quercus.lib.db.OracleModule.ociplogon(
    at sun.reflect.GeneratedMethodAccessor76.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(
    at java.lang.reflect.Method.invoke(

There are no notes attached to this issue.