I found error. It in jena configuration.
<?xml version="1.0"?>
<component
name="org.nuxeo.ecm.platform.relations.services.DefaultJenaGraph">
<require>org.nuxeo.ecm.platform.relations.services.RelationService</require>
<require>org.nuxeo.ecm.platform.relations.jena</require>
<extension
target="org.nuxeo.ecm.platform.relations.services.RelationService"
point="resourceadapters">
<adapter namespace="http://www.nuxeo.org/document/uid/"
class="org.nuxeo.ecm.platform.relations.adapters.DocumentModelResourceAdapte
r" />
</extension>
<extension
target="org.nuxeo.ecm.platform.relations.services.RelationService"
point="graphs">
<documentation>see http://jena.sourceforge.net/DB/</documentation>
<graph name="default" type="jena">
<option name="backend">sql</option>
<option
name="databaseType">${org.nuxeo.ecm.sql.jena.databaseType}</option>
<option name="datasource">java:/nxrelations-default-jena</option>
<option name="databaseDoCompressUri">false</option>
<option name="databaseTransactionEnabled">true</option>
<namespaces>
<namespace name="rdf">
http://www.w3.org/1999/02/22-rdf-syntax-ns#
</namespace>
<namespace name="dcterms">http://purl.org/dc/terms/</namespace>
<namespace
name="nuxeo">http://www.nuxeo.org/document/uid/</namespace>
</namespaces>
</graph>
</extension>
</component>
Default <option name="databaseTransactionEnabled">true</option> - is
false. After I had changed it to true - it worked under Oracle. I think this
property must be in sql.properties.
-----Original Message-----
From: Florent Guillaume [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 11, 2007 2:11 PM
To: Filipchik Alexander
Cc: [email protected]
Subject: Re: [Ecm] Error when clicking Relationship
The last time I had such a problem was Jena sending incorrect SQL
(due to bad dialect) and dealing with the error message by thinking
the lock didn't work (it locks the tables by creating a special
temporary table, so the SQL dialect is important).
Florent
On 11 Jul 2007, at 13:08, Filipchik Alexander wrote:
> Yes. I use org.nuxeo.ecm.sql.jena.databaseType=Oracle
>
> -----Original Message-----
> From: Florent Guillaume [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, July 11, 2007 2:02 PM
> To: Filipchik Alexander
> Cc: [email protected]
> Subject: Re: [Ecm] Error when clicking Relationship
>
> Did you configure the dialect for Jena in sql.properties ?
>
> Florent
>
> On 11 Jul 2007, at 11:10, Filipchik Alexander wrote:
>> We prepare Oracle configuration for Oracle. And now I have an
>> exception when
>> clicking on document relationship tab (it's 11.07.2007 morning
>> update. I
>> didn't test it yestarday):
>>
>> org.nuxeo.ecm.core.api.ClientException:
>> com.hp.hpl.jena.db.RDFRDBException:
>> Failed to lock database after 5 attempts.
>>
>
> --
> Florent Guillaume, Director of R&D, Nuxeo
> Open Source Enterprise Content Management (ECM)
> http://www.nuxeo.com http://www.nuxeo.org +33 1 40 33 79 87
>
>
>
>
--
Florent Guillaume, Director of R&D, Nuxeo
Open Source Enterprise Content Management (ECM)
http://www.nuxeo.com http://www.nuxeo.org +33 1 40 33 79 87
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm