jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Torgeir Veimo <torg...@netenviron.com>
Subject Re: oracle bundle persistence manager
Date Tue, 12 May 2009 06:12:21 GMT
Forgot to add;
Caused by: java.lang.ClassCastException:
org.apache.tomcat.dbcp.dbcp.PoolingDataSource$PoolGuardConnectionWrapper
at oracle.sql.BLOB.createTemporary(BLOB.java:587)
... 115 more

Finally managed to fix this by using an oracle specific data source

<Resource name="jdbc/JcrRepositoryDataSource" auth="Container"
        type="oracle.jdbc.pool.OracleDataSource"
        factory="oracle.jdbc.pool.OracleDataSourceFactory"
        connectionCachingEnabled="true"
        user="torgeir" password="torgeir"
        driverClassName="oracle.jdbc.OracleDriver"
        url="jdbc:oracle:thin:@defender.local.netenviron.com:1521:orc150"
        removeAbandoned="true"
        removeAbandonedTimeout="30"
        maxActive="20"
        maxIdle="10" maxwait="-1"/>

I really hate databases.

-- 
-Tor

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message