Missing child entry in cafebabe-cafe-babe-cafe-babecafebabe

3 messages Options
Embed this post
Permalink
aasoj j

Missing child entry in cafebabe-cafe-babe-cafe-babecafebabe

Reply Threaded More More options
Print post
Permalink
Hi,

Correcting the subject thread...

Thanks
aasoj

On Thu, Jul 9, 2009 at 2:18 PM, aasoj j <[hidden email]> wrote:

> Hi Alex,
>
> Apologies for the confusing subject. You have identified the problem
> correctly.
>
> i also noticed the following logs ...
>
> 2009-07-07 21:12:58 ERROR
> org.apache.jackrabbit.core.persistence.bundle.BundleDbPersistenceManager:1395
> rollback failed
> 2009-07-07 21:12:58 ERROR
> org.apache.jackrabbit.core.persistence.bundle.BundleDbPersistenceManager:1397
> Reason: Connection.close() has already been called. Invalid operation in
> this state.
> 2009-07-07 21:12:58 ERROR
> org.apache.jackrabbit.core.persistence.bundle.BundleDbPersistenceManager:1398
> State/Code: 08003/0
> 2009-07-07 21:12:58 ERROR
> org.apache.jackrabbit.core.persistence.bundle.util.ConnectionRecoveryManager:453
> failed to close connection, reason: Connection.close() has already been
> called. Invalid operation in this state., state/code: 08003/0
> 2009-07-07 21:12:59 INFO
> org.apache.jackrabbit.core.persistence.bundle.util.ConnectionRecoveryManager:345
> Database: MySQL / 5.1.30-Yahoo-SMP-log
> 2009-07-07 21:12:59 INFO
> org.apache.jackrabbit.core.persistence.bundle.util.ConnectionRecoveryManager:346
> Driver: MySQL-AB JDBC Driver / mysql-connector-java-5.1.6 ( Revision:
> ${svn.Revision} )
>
> When can this happen?
>
> For me, even more important is to get fix the repository once this happens?
>
>
> Thanks much
>
> Regards
> aasoj
>
>
>
>
> On Thu, Jul 9, 2009 at 2:08 PM, Alexander Klimetschek <[hidden email]>wrote:
>
>> On Thu, Jul 9, 2009 at 10:11 AM, Sébastien
>> Launay<[hidden email]> wrote:
>> > The UUID not found (cafebabe-cafe-babe-cafe-babecafebabe) is the
>> > root node (jcr:root) which is mandatory and is the entry point for
>> > reconstructing node hierarchy.
>>
>> No, it's not the root node that is not found, the subject of the
>> thread is incorrect. The exception says:
>>
>> javax.jcr.ItemNotFoundException: failed to build path of
>> b91e0f2a-844e-4c7e-97d9-1efa03878956: cafebabe-cafe-babe-cafe-babecafebabe
>> has no child entry for b91e0f2a-844e-4c7e-97d9-1efa03878956
>>
>> Which means that the root node doesn't have b91* as a child, whereas
>> b91* seems to have the root node as parent, ie. it is an orphaned
>> node.
>>
>> But I don't know where the issue could be. Maybe you try with the
>> latest Jackrabbit 1.5.6 and see if the issue persists.
>>
>> Regards,
>> Alex
>>
>> --
>> Alexander Klimetschek
>> [hidden email]
>>
>
>
aasoj j

Re: Missing child entry in cafebabe-cafe-babe-cafe-babecafebabe

Reply Threaded More More options
Print post
Permalink
Hi,

Is there a way i can manually fix the inconsistencies by creating a few DB
rows etc etc...?

Regards
aasoj


On Thu, Jul 9, 2009 at 2:20 PM, aasoj j <[hidden email]> wrote:

> Hi,
>
> Correcting the subject thread...
>
> Thanks
> aasoj
>
> On Thu, Jul 9, 2009 at 2:18 PM, aasoj j <[hidden email]> wrote:
>
>> Hi Alex,
>>
>> Apologies for the confusing subject. You have identified the problem
>> correctly.
>>
>> i also noticed the following logs ...
>>
>> 2009-07-07 21:12:58 ERROR
>> org.apache.jackrabbit.core.persistence.bundle.BundleDbPersistenceManager:1395
>> rollback failed
>> 2009-07-07 21:12:58 ERROR
>> org.apache.jackrabbit.core.persistence.bundle.BundleDbPersistenceManager:1397
>> Reason: Connection.close() has already been called. Invalid operation in
>> this state.
>> 2009-07-07 21:12:58 ERROR
>> org.apache.jackrabbit.core.persistence.bundle.BundleDbPersistenceManager:1398
>> State/Code: 08003/0
>> 2009-07-07 21:12:58 ERROR
>> org.apache.jackrabbit.core.persistence.bundle.util.ConnectionRecoveryManager:453
>> failed to close connection, reason: Connection.close() has already been
>> called. Invalid operation in this state., state/code: 08003/0
>> 2009-07-07 21:12:59 INFO
>> org.apache.jackrabbit.core.persistence.bundle.util.ConnectionRecoveryManager:345
>> Database: MySQL / 5.1.30-Yahoo-SMP-log
>> 2009-07-07 21:12:59 INFO
>> org.apache.jackrabbit.core.persistence.bundle.util.ConnectionRecoveryManager:346
>> Driver: MySQL-AB JDBC Driver / mysql-connector-java-5.1.6 ( Revision:
>> ${svn.Revision} )
>>
>> When can this happen?
>>
>> For me, even more important is to get fix the repository once this
>> happens?
>>
>>
>> Thanks much
>>
>> Regards
>> aasoj
>>
>>
>>
>>
>> On Thu, Jul 9, 2009 at 2:08 PM, Alexander Klimetschek <[hidden email]>wrote:
>>
>>> On Thu, Jul 9, 2009 at 10:11 AM, Sébastien
>>> Launay<[hidden email]> wrote:
>>> > The UUID not found (cafebabe-cafe-babe-cafe-babecafebabe) is the
>>> > root node (jcr:root) which is mandatory and is the entry point for
>>> > reconstructing node hierarchy.
>>>
>>> No, it's not the root node that is not found, the subject of the
>>> thread is incorrect. The exception says:
>>>
>>> javax.jcr.ItemNotFoundException: failed to build path of
>>> b91e0f2a-844e-4c7e-97d9-1efa03878956:
>>> cafebabe-cafe-babe-cafe-babecafebabe
>>> has no child entry for b91e0f2a-844e-4c7e-97d9-1efa03878956
>>>
>>> Which means that the root node doesn't have b91* as a child, whereas
>>> b91* seems to have the root node as parent, ie. it is an orphaned
>>> node.
>>>
>>> But I don't know where the issue could be. Maybe you try with the
>>> latest Jackrabbit 1.5.6 and see if the issue persists.
>>>
>>> Regards,
>>> Alex
>>>
>>> --
>>> Alexander Klimetschek
>>> [hidden email]
>>>
>>
>>
>
Alexander Klimetschek

Re: Missing child entry in cafebabe-cafe-babe-cafe-babecafebabe

Reply Threaded More More options
Print post
Permalink
On Fri, Jul 10, 2009 at 8:35 AM, aasoj j<[hidden email]> wrote:
> Is there a way i can manually fix the inconsistencies by creating a few DB
> rows etc etc...?

You can enable consistencyCheck/Fix for the persistence manager. Here
is a nice description:

http://wiki.gxdeveloperweb.com/confluence/display/GXDEV/How+to+repair+a+'corrupt'+JCR

Modifying the DB manually is hard, since the bundle pm stores nodes +
its properties + its list of child nodes in a compact binary blob.

Regards,
Alex

--
Alexander Klimetschek
[hidden email]