jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Guggisberg" <stefan.guggisb...@gmail.com>
Subject Re: ItemManager warning
Date Wed, 01 Nov 2006 16:50:07 GMT
hi joshua

On 10/30/06, Joshua Levy <levy@csl.sri.com> wrote:
>
> I just got around to upgrading from 1.0.1 to 1.1, and am
> now seeing many "overwriting cached item" warnings.
> With debugging on,
>
>   DEBUG org.apache.jackrabbit.core.ItemManager: created item
> 1211f27e-e83e-4fa6-a0bf-4323e5b89d5d
>   DEBUG org.apache.jackrabbit.core.ItemManager: caching item
> 1211f27e-e83e-4fa6-a0bf-4323e5b89d5d
>   ...
>   DEBUG org.apache.jackrabbit.core.ItemManager: created item
> 1211f27e-e83e-4fa6-a0bf-4323e5b89d5d
>   WARN  org.apache.jackrabbit.core.ItemManager: overwriting cached item
> 1211f27e-e83e-4fa6-a0bf-4323e5b89d5d
>   DEBUG org.apache.jackrabbit.core.ItemManager: caching item
> 1211f27e-e83e-4fa6-a0bf-4323e5b89d5d
>
> It seems to be related to the fact that we use the slightly
> messy trick of a custom-extended AccessManager that
> actually accesses permission properties stored on nodes.
> However, it was working fine with v. 1.0.1.  (Then, the
> ItemManager logged only one item creation for each node id.)
>
> Is this logged at warning level for a reason, and worth
> worrying about?  And any quick thoughts on what might have
> changed?

it's logged as warning because normally it shouldn't happen.
i'd say it's definitely something worth to further investigate.
i can't find the warning in my logs therefore i guess it's
related to your custom AccessManager code.

do you share the same session with multiple threads?

cheers
stefan

>
> Many thanks!
>
> Joshua
> --
> View this message in context: http://www.nabble.com/ItemManager-warning-tf2541411.html#a7080795
> Sent from the Jackrabbit - Users mailing list archive at Nabble.com.
>
>

Mime
View raw message