Expand my Community achievements bar.

Broken DB collation when restart with Apache Oak

Avatar

Level 1

Hi all,

I use Jackrabbit Oak v1.6.1,  Postgres database for datastore and run on OGSi (Eclipse Equinox).

It's ok run on Windows OS but on Linux it didn't works when I restart server.

Some of logs when restart:

"apache.jackrabbit.oak.plugins.document.DocumentStoreStats.perf  findAndModify [1:/jcr:system] [took 2ms] 
o.apache.jackrabbit.oak.plugins.document.DocumentStoreStats.perf  findAndModify [3:/jcr:system/rep:namespaces/rep:nsdata] [took 2ms] "

 

When run application I got logs:

"Caused by: org.apache.jackrabbit.oak.plugins.document.DocumentStoreException: org.apache.jackrabbit.oak.plugins.document.DocumentStoreException: unexpected query result: 
'10:/oak:index/nodetype/:index/rep%3APropertyDefinition/jcr:system/jcr:nodeTypes/rep:AuthorizableFolder/rep:namedPropertyDefinitions/rep:primaryType/NAME' 
'10:/oak:index/nodetype/:index/rep%3APropertyDefinition/jcr:system/jcr:nodeTypes/rep:Authorizable/rep:namedPropertyDefinitions/jcr:createdBy/STRING' < 'null' - broken DB collation?"

Anyone can help me for this?

Thanks.

Long.

2 Replies