jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dominique de Waleffe" <dominique.dewale...@denali.be>
Subject Suspected data corruption
Date Tue, 27 Jun 2006 10:59:39 GMT
We are using JackRabbit 1.0 in an application. 

We are experiencing failures as shown below [*] , i.e. things not findable
anymore in the repository.


We are trying to see whether our code is doing the right thing... But as we
have also seen failures like the one below in our traces [**], we are
suspecting some data corruption.

Do these traces ring any bell to any one?

Would upgrading to 1.0.1 improve our chances of getting over this?

Is there any existing tool that could check the consistency of an existing
JackRabbit contents?

Are there any level of running JackRabbit that would trigger inconsistencies
as soon as they happen?

What logs can we activate to try spotting the source of our problems?


Thanks,

D.

[*] failure a
com.webobjects.appserver._private.WOWorkerThread.run(WOWorkerThread.java:254
)
    at java.lang.Thread.run(Unknown Source) Caused by:
java.lang.OutOfMemoryError: Java heap space

javax.jcr.ItemNotFoundException: 98bd3e72-9255-42c5-b157-a68939f4d546
    at
org.apache.jackrabbit.core.HierarchyManagerImpl.getName(HierarchyManagerImpl
.java:393)
    at
org.apache.jackrabbit.core.CachingHierarchyManager.getName(CachingHierarchyM
anager.java:235)
    at org.apache.jackrabbit.core.NodeImpl.getName(NodeImpl.java:1721)
    at DLJRDA.downloadAction(DLJRDA.java:28)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at
com.webobjects.appserver.WODirectAction.performActionNamed(WODirectAction.ja
va:128)

[**] failure b
INFO   | jvm 1    | 2006/06/26 17:54:40 | Caused by:
org.apache.jackrabbit.core.state.ItemStateException: failed to read node
state: cf6e1436-553c-4850-a836-950286ac242e
INFO   | jvm 1    | 2006/06/26 17:54:40 | 	at
org.apache.jackrabbit.core.state.db.DatabasePersistenceManager.load(Database
PersistenceManager.java:390)
INFO   | jvm 1    | 2006/06/26 17:54:40 | 	at
org.apache.jackrabbit.core.state.SharedItemStateManager.loadItemState(Shared
ItemStateManager.java:862)
INFO   | jvm 1    | 2006/06/26 17:54:40 | 	at
org.apache.jackrabbit.core.state.SharedItemStateManager.getNonVirtualItemSta
te(SharedItemStateManager.java:789)
INFO   | jvm 1    | 2006/06/26 17:54:40 | 	at
org.apache.jackrabbit.core.state.SharedItemStateManager.getItemState(SharedI
temStateManager.java:207)
INFO   | jvm 1    | 2006/06/26 17:54:40 | 	at
org.apache.jackrabbit.core.state.LocalItemStateManager.getNodeState(LocalIte
mStateManager.java:86)
INFO   | jvm 1    | 2006/06/26 17:54:40 | 	at
org.apache.jackrabbit.core.state.LocalItemStateManager.getItemState(LocalIte
mStateManager.java:141)
INFO   | jvm 1    | 2006/06/26 17:54:40 | 	at
org.apache.jackrabbit.core.state.XAItemStateManager.getItemState(XAItemState
Manager.java:235)
INFO   | jvm 1    | 2006/06/26 17:54:40 | 	at
org.apache.jackrabbit.core.state.SessionItemStateManager.getItemState(Sessio
nItemStateManager.java:127)
INFO   | jvm 1    | 2006/06/26 17:54:40 | 	at
org.apache.jackrabbit.core.ItemManager.createItemInstance(ItemManager.java:4
62)
INFO   | jvm 1    | 2006/06/26 17:54:40 | 	... 42 more
INFO   | jvm 1    | 2006/06/26 17:54:40 | Caused by: java.io.EOFException
INFO   | jvm 1    | 2006/06/26 17:54:40 | 	at
java.io.DataInputStream.readUnsignedShort(DataInputStream.java:310)
INFO   | jvm 1    | 2006/06/26 17:54:40 | 	at
java.io.DataInputStream.readUTF(DataInputStream.java:545)
INFO   | jvm 1    | 2006/06/26 17:54:40 | 	at
java.io.DataInputStream.readUTF(DataInputStream.java:522)
INFO   | jvm 1    | 2006/06/26 17:54:40 | 	at
org.apache.jackrabbit.core.state.util.Serializer.deserialize(Serializer.java
:123)
INFO   | jvm 1    | 2006/06/26 17:54:40 | 	at
org.apache.jackrabbit.core.state.db.DatabasePersistenceManager.load(Database
PersistenceManager.java:381)
INFO   | jvm 1    | 2006/06/26 17:54:40 | 	... 50 more
INFO   | jvm 1    | 2006/06/26 17:54:40 |
org.apache.jackrabbit.core.state.ItemStateException: failed to read node
state: cf6e1436-553c-4850-a836-950286ac242e
INFO   | jvm 1    | 2006/06/26 17:54:40 | 	at
org.apache.jackrabbit.core.state.db.DatabasePersistenceManager.load(Database
PersistenceManager.java:390)
INFO   | jvm 1    | 2006/06/26 17:54:40 | 	at
org.apache.jackrabbit.core.state.SharedItemStateManager.loadItemState(Shared
ItemStateManager.java:862)
INFO   | jvm 1    | 2006/06/26 17:54:40 | 	at
org.apache.jackrabbit.core.state.SharedItemStateManager.getNonVirtualItemSta
te(SharedItemStateManager.java:789)
INFO   | jvm 1    | 2006/06/26 17:54:40 | 	at
org.apache.jackrabbit.core.state.SharedItemStateManager.getItemState(SharedI
temStateManager.java:207)
INFO   | jvm 1    | 2006/06/26 17:54:40 | 	at
org.apache.jackrabbit.core.state.LocalItemStateManager.getNodeState(LocalIte
mStateManager.java:86)
INFO   | jvm 1    | 2006/06/26 17:54:40 | 	at
org.apache.jackrabbit.core.state.LocalItemStateManager.getItemState(LocalIte
mStateManager.java:141)
INFO   | jvm 1    | 2006/06/26 17:54:40 | 	at
org.apache.jackrabbit.core.state.XAItemStateManager.getItemState(XAItemState
Manager.java:235)
INFO   | jvm 1    | 2006/06/26 17:54:40 | 	at
org.apache.jackrabbit.core.state.SessionItemStateManager.getItemState(Sessio
nItemStateManager.java:127)
INFO   | jvm 1    | 2006/06/26 17:54:40 | 	at
org.apache.jackrabbit.core.ItemManager.createItemInstance(ItemManager.java:4
62)
INFO   | jvm 1    | 2006/06/26 17:54:40 | 	at
org.apache.jackrabbit.core.ItemManager.getItem(ItemManager.java:320)
INFO   | jvm 1    | 2006/06/26 17:54:40 | 	at
org.apache.jackrabbit.core.NodeImpl.getNode(NodeImpl.java:2372)
INFO   | jvm 1    | 2006/06/26 17:54:40 | 	at
DLJRDA.downloadAction(DLJRDA.java:26)
INFO   | jvm 1    | 2006/06/26 17:54:40 | 	at
sun.reflect.GeneratedMethodAccessor73.invoke(Unknown Source) [which I do not
have handy


Dominique de Waleffe
Technical director

Denali s.a., "Bridging the gap between Business and IT"
Ch√Ęteau de Clerlande, B-1340 Ottignies, Belgium
Office: +32 10 43 99 51 Fax: +32 10 43 99 52
Web: http://www.denali.be Email: Dominique.dewaleffe@Denali.be

Legal Notice: this message may contain confidential and/or privileged
information. If you are not the addressee or authorized to receive this for
the addressee, you must not use, copy, disclose or take any action based on
this message or any information herein. If you have received this message by
mistake, please advise the sender immediately by return e-mail and delete
this message from your system. Thank you for your cooperation.



Mime
View raw message