jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From viz06 <vijaykumarsharma_1...@yahoo.com>
Subject JNDI DataSource
Date Tue, 05 Aug 2008 12:11:08 GMT

Here is my situation

I am trying to use JNDI Datasource for both DataStore and
PersistenceManager. Although it works but intermittently its throwing up
these error messages

00000039 SystemOut     O 2008-08-05 09:25:57,146 [ontainer : 0] ERROR [    
ConnectionRecoveryManager] - could not execute statement, reason: DSRA9110E:
Statement is closed., state/code: null/0

and in few cases, saving a node (which conatins has binary content) throws
up this error message.

Caused by: org.apache.jackrabbit.core.data.DataStoreException: Can not
insert new record: DSRA9110E: Statement is closed.: DSRA9110E: Statement is
closed.
        at
org.apache.jackrabbit.core.data.db.DbDataStore.convert(DbDataStore.java:592)
        at
org.apache.jackrabbit.core.data.db.DbDataStore.addRecord(DbDataStore.java:295)
        at
org.apache.jackrabbit.core.value.BLOBInDataStore.getInstance(BLOBInDataStore.java:120)
        at
org.apache.jackrabbit.core.value.InternalValue.getBLOBFileValue(InternalValue.java:644)
        at
org.apache.jackrabbit.core.value.InternalValue.create(InternalValue.java:123)
        at
org.apache.jackrabbit.core.PropertyImpl.setValue(PropertyImpl.java:609)
        at
org.apache.jackrabbit.core.PropertyImpl.setValue(PropertyImpl.java:525)
        at
org.apache.jackrabbit.core.NodeImpl.setProperty(NodeImpl.java:2309)


If instead of  jndi datasource I use url/driver/use/password everything
seems to be working fine. 

I need to use jndi datasource as I don't want to maintain different copies
of repository.xml. 

Environment:

Websphere 6.1
Non XA JNDI DataSource
Oracle 9.1
Jackrabbit 1.4.5

Any help is really appreciated.
-- 
View this message in context: http://www.nabble.com/JNDI-DataSource-tp18829737p18829737.html
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.


Mime
View raw message