You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@jackrabbit.apache.org by Rinaldo <rb...@gmail.com> on 2010/06/22 16:45:22 UTC
Oracle Problem
Hi all,
I'm using jackrabbit 2.1 with mySql and still have no problem
unfornutaly when I try to use it with oracle 10g Express Edition only
errors and problem
on start up with a virgin db create correctly table and when trying to
insert data I receive the follwoing errors:
org.apache.jackrabbit.core.persistence.db.OraclePersistenceManager:193)
- failed to write node state: deadbeef-face-babe-cafe-babecafebabe
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.jackrabbit.core.persistence.db.OraclePersistenceManager.createTemporaryBlob(OraclePersistenceManager.java:373)
...
Caused by: java.lang.ClassCastException:
org.apache.commons.dbcp.PoolingDataSource$PoolGuardConnectionWrapper
cannot be cast to oracle.jdbc.OracleConnection
at oracle.sql.BLOB.createTemporary(BLOB.java:587)
Search on google but no solution found
Can somebody helps me please?
Regards
Rinaldo
Re: Oracle Problem
Posted by Rinaldo <rb...@gmail.com>.
Thx Thomas the problem is solved
Thx again
regards
RInaldo
Il 22/06/2010 17:31, Thomas Müller ha scritto:
> Hi,
>
> Is it the exact same stack trace? If yes, please ensure you also
> change all workspace.xml files. If not, could you post the new stack
> trace?
>
> Regards,
> Thomas
>
Re: Oracle Problem
Posted by Thomas Müller <th...@day.com>.
Hi,
Is it the exact same stack trace? If yes, please ensure you also
change all workspace.xml files. If not, could you post the new stack
trace?
Regards,
Thomas
Re: Oracle Problem
Posted by Rinaldo <rb...@gmail.com>.
Thx Thomas
replace the class with the one you suggest but the problem remain
and I found this line in the log file
Caused by: java.lang.ClassCastException:
org.apache.commons.dbcp.PoolingDataSource$PoolGuardConnectionWrapper
cannot be cast to oracle.jdbc.OracleConnection
at oracle.sql.BLOB.createTemporary(BLOB.java:587)
I sent the jackrabbit config I use in my app
Regards
Rinaldo
Il 22/06/2010 16:55, Thomas Müller ha scritto:
> Hi,
>
>
>> org.apache.jackrabbit.core.persistence.db.OraclePersistenceManager
>>
>
> You are using an "old" persistence manager. I suggest to use
> org.apache.jackrabbit.core.persistence.bundle.OraclePersistenceManager
> instead.
>
> See also http://wiki.apache.org/jackrabbit/PersistenceManagerFAQ#Bundle_Database_PM
>
> Regards,
> Thomas
>
Re: Oracle Problem
Posted by Thomas Müller <th...@day.com>.
Hi,
> org.apache.jackrabbit.core.persistence.db.OraclePersistenceManager
You are using an "old" persistence manager. I suggest to use
org.apache.jackrabbit.core.persistence.bundle.OraclePersistenceManager
instead.
See also http://wiki.apache.org/jackrabbit/PersistenceManagerFAQ#Bundle_Database_PM
Regards,
Thomas