Mantis Bugtracker
  

Viewing Issue Advanced Details Jump to Notes ] View Simple ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0003625 [Quercus] block always 08-04-09 20:50 08-04-09 20:50
Reporter mtourne View Status public  
Assigned To
Priority normal Resolution open Platform
Status new   OS
Projection none   OS Version
ETA none Fixed in Version Product Version 3.2.1
  Product Build
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
Attached Files

- Relationships

There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
08-04-09 20:50 mtourne New Issue


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
26 total queries executed.
24 unique queries executed.
Powered by Mantis Bugtracker