You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@jackrabbit.apache.org by Neil Corbet <nc...@towerhillservices.com> on 2010/05/20 16:10:55 UTC
Jackrabbit, OraclePM, and open scoped lock time outs.
Hello Everyone,
I am currently developing a GWT application that uses RPC calls to retrieve
objects from a jackrabbit(1.5.7 in Tomcat6) repository through JCROM.The
repository is in an oracle database and I am using the
OraclePersistenceManager.
Due to the stateless nature of my web-app, I do not have active
jcr sessions that I can session scope locks on a node. Therefore,
I need to create an open-scoped lock. I will manually maintain
the lock token and attach it to the next session I open when I am
ready to perform some function on the locked node.
However,I am concerned about users shutting the app down
and leaving these nodes locked. So, I am wanting to set a lock
timeout for my repo, does anyone know how this is done using an
Oracle db and the OraclePM?
Thanks,
Neil
Re: Jackrabbit, OraclePM, and open scoped lock time outs.
Posted by Neil Corbet <nc...@towerhillservices.com>.
>
> Hello Everyone,
>
> I am currently developing a GWT application that uses RPC calls to
retrieve
> objects from a jackrabbit(1.5.7 in Tomcat6) repository through JCROM.The
> repository is in an oracle database and I am using the
> OraclePersistenceManager.
> Due to the stateless nature of my web-app, I do not have active
> jcr sessions that I can session scope locks on a node. Therefore,
> I need to create an open-scoped lock. I will manually maintain
> the lock token and attach it to the next session I open when I am
> ready to perform some function on the locked node.
> However,I am concerned about users shutting the app down
> and leaving these nodes locked. So, I am wanting to set a lock
> timeout for my repo, does anyone know how this is done using an
> Oracle db and the OraclePM?
>
> Thanks,
> Neil
>
>
Neil Corbet <ncorbet <at> towerhillservices.com> writes:
Judging from the cricket sounds, no-one has timed out open scoped locks in a
repo that uses the oraclePM?
Does anyone have any advice on open-scoped locks?
Neil