jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "sbarriba" <sbarr...@yahoo.co.uk>
Subject RE: Strange "ignoring nonexistent item" and removeitem fails
Date Mon, 30 Jul 2007 11:03:50 GMT
Hi Stefan,

"what persistence manager are you using?"
We're using MySql 5.0.27, mysql-connector-java-5.0.6-bin.jar and

        <PersistenceManager
class="org.apache.jackrabbit.core.persistence.bundle.MySqlPersistenceManager
">
          <param name="driver" value="com.mysql.jdbc.Driver"/>
          <param name="url" value="jdbc:mysql://mysql-host:3306/[SID]"/>
          <param name="schemaObjectPrefix" value="${wsp.name}_"/>
          <param name="user" value="[SID]"/>
          <param name="password" value="[SID]"/>
          <param name="schema" value="mysql"/>
          <param name="externalBlobs" value="false"/>
        </PersistenceManager>

The nodes were deleted using the JCR API.

Sounds like I need to open up the bonnet and get the spanners out?

Regards,
Shaun.

-----Original Message-----
From: Stefan Guggisberg [mailto:stefan.guggisberg@gmail.com] 
Sent: 30 July 2007 11:31
To: users@jackrabbit.apache.org
Subject: Re: Strange "ignoring nonexistent item" and removeitem fails

hi shaun,

On 7/30/07, sbarriba <sbarriba@yahoo.co.uk> wrote:
> Hi all,
>
> We have a fairly complex structured node - Node A. Node A contains various
> child nodes that have references.
>
>
>
> When attempting to delete the Node A using removeitem in the command line:
>
>
>
> exception: javax.jcr.ItemNotFoundException
>
> message: eb76dc5d-4d56-4ceb-9586-fdcedd53a2e7
>
>
>
> No exception is reporting in the JackRabbit log. Note that I can find no
> nodes relating to the above ID (using a query) - the uuid of the node
we're
> trying to delete is cd2a933a-1da8-42c0-9236-d128c2cc9825.
>
>
>
> As further info when performing a 'dump' on the node we see the following
in
> the JackRabbit logs:
>
>
>
> 30 Jul 2007 11:00:53,472 DEBUG org.apache.jackrabbit.core.LazyItemIterator
> - ignoring nonexistent item eb76dc5d-4d56-4ceb-9586-fdcedd53a2e7
>

seems like there's a dangling reference, i.e. a child node entry refering to
an nonexistent item. that shouldn't happen :-( what persistence manager
are you using?

>
>
> Immediately before this problem occurred some subnodes were successfully
> deleted from Node A. This is the first time we've seen any kind of
> corruption issues of this type.

how did you delete the subnodes? using the jcr api or using the cmd line
tool?

cheers
stefan

>
>
>
> Any recommendations on how to resolve this issue?
>
>
>
> Regards,
>
> Shaun.
>
>
>
>
>
>
>
>
>
>


Mime
View raw message