jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Harris" <michael.e.har...@gmail.com>
Subject Re: Exception while checkin node(jackrabbit with oracle)
Date Mon, 18 Aug 2008 14:18:54 GMT
Vijay

i saw that happen when I changed the repo.xml after already heaving run JR.
Have you changed your configuration?

On Mon, Aug 18, 2008 at 8:40 AM, dada_ganguly <dada_ganguly@cooltoad.com>wrote:

>
> Hi,
>
>   I have hooked jackrabbit with oracle(with configuration &nbsp;
> http://www.nabble.com/file/p19030880/repository.xml repository.xml ). When
> I
> try to checkin() any node with following code:
>
>    Node root = session.getRootNode();
>        // Store content
>        Node hello = root.addNode("hello");
>        hello.addMixin("mix:versionable");
>       session.save();
>        hello.checkin();
>
>
> I get item not found exception. However, I can see
> node(954f3ce6-0445-4144-9c26-e4e9feac6dcc)  in "node" table.
>
> Exception in thread "main" javax.jcr.RepositoryException: /hello: unable to
> update item.: 954f3ce6-0445-4144-9c26-e4e9feac6dcc:
> 954f3ce6-0445-4144-9c26-e4e9feac6dcc
>        at org.apache.jackrabbit.core.ItemImpl.save(ItemImpl.java:1255)
>        at org.apache.jackrabbit.core.NodeImpl.checkin(NodeImpl.java:2961)
>        at com.infy.test.Test.main(Test.java:24)
> Caused by: org.apache.jackrabbit.core.state.NoSuchItemStateException:
> 954f3ce6-0445-4144-9c26-e4e9feac6dcc
>        at
>
> org.apache.jackrabbit.core.state.SharedItemStateManager.getNodeReferences(SharedItemStateManager.java:330)
>        at
>
> org.apache.jackrabbit.core.state.SharedItemStateManager.updateReferences(SharedItemStateManager.java:1288)
>        at
>
> org.apache.jackrabbit.core.state.SharedItemStateManager$Update.begin(SharedItemStateManager.java:551)
>        at
>
> org.apache.jackrabbit.core.state.SharedItemStateManager.beginUpdate(SharedItemStateManager.java:843)
>        at
>
> org.apache.jackrabbit.core.state.SharedItemStateManager.update(SharedItemStateManager.java:873)
>        at
>
> org.apache.jackrabbit.core.state.LocalItemStateManager.update(LocalItemStateManager.java:334)
>        at
>
> org.apache.jackrabbit.core.state.XAItemStateManager.update(XAItemStateManager.java:337)
>        at
>
> org.apache.jackrabbit.core.state.LocalItemStateManager.update(LocalItemStateManager.java:310)
>        at
>
> org.apache.jackrabbit.core.state.SessionItemStateManager.update(SessionItemStateManager.java:317)
>        at org.apache.jackrabbit.core.ItemImpl.save(ItemImpl.java:1247)
>        ... 2 more
> org.apache.jackrabbit.core.state.NoSuchItemStateException:
> 954f3ce6-0445-4144-9c26-e4e9feac6dcc
>        at
>
> org.apache.jackrabbit.core.state.SharedItemStateManager.getNodeReferences(SharedItemStateManager.java:330)
>        at
>
> org.apache.jackrabbit.core.state.SharedItemStateManager.updateReferences(SharedItemStateManager.java:1288)
>        at
>
> org.apache.jackrabbit.core.state.SharedItemStateManager$Update.begin(SharedItemStateManager.java:551)
>        at
>
> org.apache.jackrabbit.core.state.SharedItemStateManager.beginUpdate(SharedItemStateManager.java:843)
>        at
>
> org.apache.jackrabbit.core.state.SharedItemStateManager.update(SharedItemStateManager.java:873)
>        at
>
> org.apache.jackrabbit.core.state.LocalItemStateManager.update(LocalItemStateManager.java:334)
>        at
>
> org.apache.jackrabbit.core.state.XAItemStateManager.update(XAItemStateManager.java:337)
>        at
>
> org.apache.jackrabbit.core.state.LocalItemStateManager.update(LocalItemStateManager.java:310)
>        at
>
> org.apache.jackrabbit.core.state.SessionItemStateManager.update(SessionItemStateManager.java:317)
>        at org.apache.jackrabbit.core.ItemImpl.save(ItemImpl.java:1247)
>        at org.apache.jackrabbit.core.NodeImpl.checkin(NodeImpl.java:2961)
>        at com.infy.test.Test.main(Test.java:24)
>
>
> what can be possible reason for the same?
>
> Regards,
> Vijay
> --
> View this message in context:
> http://www.nabble.com/Exception-while-checkin-node%28jackrabbit-with-oracle%29-tp19030880p19030880.html
> Sent from the Jackrabbit - Users mailing list archive at Nabble.com.
>



-- 
---------------------
Michael Harris

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message