Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » [CDO] get IllegalStateException (Store does not support durable locking) with latest CDO build
[CDO] get IllegalStateException (Store does not support durable locking) with latest CDO build [message #686771] Tue, 17 May 2011 09:40 Go to next message
Martin Taal is currently offline Martin TaalFriend
Messages: 5468
Registered: July 2009
Senior Member
Hi,
With the latest CDO build in combination with the hibernate store, when starting up the CDO server, I end up in the
throw new IllegalStateException below.The CDO Hibernate store does not support durable locking. Is there a way to
prevent CDO from checking this? (can I disable durable locking somehow)? Maybe it is related but I am implementing a new
user manager.

private DurableLocking getDurableLocking()
{
IStoreAccessor accessor = StoreThreadLocal.getAccessor();
if (accessor instanceof DurableLocking)
{
return (DurableLocking)accessor;
}

throw new IllegalStateException("Store does not support durable locking");
}



--

With Regards, Martin Taal

Springsite/Elver.org
Office: Hardwareweg 4, 3821 BV Amersfoort
Postal: Nassaulaan 7, 3941 EC Doorn
The Netherlands
Cell: +31 (0)6 288 48 943
Tel: +31 (0)84 420 2397
Fax: +31 (0)84 225 9307
Mail: mtaal@springsite.com - mtaal@elver.org
Web: www.springsite.com - www.elver.org
Re: [CDO] get IllegalStateException (Store does not support durable locking) with latest CDO build [message #686773 is a reply to message #686771] Tue, 17 May 2011 11:01 Go to previous messageGo to next message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6690
Registered: July 2009
Senior Member
Am 17.05.2011 11:40, schrieb Martin Taal:
> Hi,
> With the latest CDO build in combination with the hibernate store, when starting up the CDO server, I end up in the throw new IllegalStateException below.
The stack trace could help ;-)

Cheers
/Eike

----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper


> The CDO Hibernate store does not support durable locking. Is there a way to prevent CDO from checking this? (can I disable durable locking somehow)? Maybe it is related but I am implementing a new user manager.
>
> private DurableLocking getDurableLocking()
> {
> IStoreAccessor accessor = StoreThreadLocal.getAccessor();
> if (accessor instanceof DurableLocking)
> {
> return (DurableLocking)accessor;
> }
>
> throw new IllegalStateException("Store does not support durable locking");
> }
>
>
>


Re: [CDO] get IllegalStateException (Store does not support durable locking) with latest CDO build [message #686775 is a reply to message #686773] Tue, 17 May 2011 11:04 Go to previous messageGo to next message
Martin Taal is currently offline Martin TaalFriend
Messages: 5468
Registered: July 2009
Senior Member
Yes ofcourse :-):
[ERROR] Store does not support durable locking
java.lang.IllegalStateException: Store does not support durable locking
at org.eclipse.emf.cdo.internal.server.LockManager.getDurableLocking(LockManager.java:330)
at org.eclipse.emf.cdo.internal.server.LockManager.getLockAreas(LockManager.java:246)
at org.eclipse.emf.cdo.internal.server.LockManager.loadDurableLocks(LockManager.java:344)
at org.eclipse.emf.cdo.internal.server.LockManager.doActivate(LockManager.java:305)
at org.eclipse.net4j.util.lifecycle.Lifecycle.activate(Lifecycle.java:72)
at org.eclipse.net4j.util.lifecycle.LifecycleUtil.activate(LifecycleUtil.java:99)
at org.eclipse.net4j.util.lifecycle.LifecycleUtil.activate(LifecycleUtil.java:89)
at org.eclipse.emf.cdo.internal.server.Repository.doActivate(Repository.java:1577)
at org.eclipse.net4j.util.lifecycle.Lifecycle.activate(Lifecycle.java:72)
at org.eclipse.net4j.util.lifecycle.LifecycleUtil.activate(LifecycleUtil.java:99)
at org.eclipse.net4j.util.lifecycle.LifecycleUtil.activate(LifecycleUtil.java:89)
at org.eclipse.emf.cdo.server.CDOServerUtil.addRepository(CDOServerUtil.java:201)
at org.eclipse.emf.cdo.spi.server.RepositoryConfigurator.configure(RepositoryConfigurator.java:110)
at org.eclipse.emf.cdo.internal.server.bundle.CDOServerApplication.doStart(CDOServerApplication.java:61)
at org.eclipse.net4j.util.om.OSGiApplication.start(OSGiApplication.java:61)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.equinox.internal.app.AnyThreadAppLauncher.run(AnyThreadAppLauncher.java:26)
at java.lang.Thread.run(Thread.java:679)

On 05/17/2011 01:01 PM, Eike Stepper wrote:
> Am 17.05.2011 11:40, schrieb Martin Taal:
>> Hi,
>> With the latest CDO build in combination with the hibernate store, when starting up the CDO server, I end up in the
>> throw new IllegalStateException below.
> The stack trace could help ;-)
>
> Cheers
> /Eike
>
> ----
> http://www.esc-net.de
> http://thegordian.blogspot.com
> http://twitter.com/eikestepper
>
>
>> The CDO Hibernate store does not support durable locking. Is there a way to prevent CDO from checking this? (can I
>> disable durable locking somehow)? Maybe it is related but I am implementing a new user manager.
>>
>> private DurableLocking getDurableLocking()
>> {
>> IStoreAccessor accessor = StoreThreadLocal.getAccessor();
>> if (accessor instanceof DurableLocking)
>> {
>> return (DurableLocking)accessor;
>> }
>>
>> throw new IllegalStateException("Store does not support durable locking");
>> }
>>
>>
>>


--

With Regards, Martin Taal

Springsite/Elver.org
Office: Hardwareweg 4, 3821 BV Amersfoort
Postal: Nassaulaan 7, 3941 EC Doorn
The Netherlands
Cell: +31 (0)6 288 48 943
Tel: +31 (0)84 420 2397
Fax: +31 (0)84 225 9307
Mail: mtaal@springsite.com - mtaal@elver.org
Web: www.springsite.com - www.elver.org
Re: [CDO] get IllegalStateException (Store does not support durable locking) with latest CDO build [message #686776 is a reply to message #686775] Tue, 17 May 2011 11:13 Go to previous message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6690
Registered: July 2009
Senior Member
Am 17.05.2011 13:04, schrieb Martin Taal:
> Yes ofcourse :-):
> [ERROR] Store does not support durable locking
> java.lang.IllegalStateException: Store does not support durable locking
> at org.eclipse.emf.cdo.internal.server.LockManager.getDurableLocking(LockManager.java:330)
> at org.eclipse.emf.cdo.internal.server.LockManager.getLockAreas(LockManager.java:246)
> at org.eclipse.emf.cdo.internal.server.LockManager.loadDurableLocks(LockManager.java:344)
> at org.eclipse.emf.cdo.internal.server.LockManager.doActivate(LockManager.java:305)
> at org.eclipse.net4j.util.lifecycle.Lifecycle.activate(Lifecycle.java:72)
> at org.eclipse.net4j.util.lifecycle.LifecycleUtil.activate(LifecycleUtil.java:99)
> at org.eclipse.net4j.util.lifecycle.LifecycleUtil.activate(LifecycleUtil.java:89)
> at org.eclipse.emf.cdo.internal.server.Repository.doActivate(Repository.java:1577)
> at org.eclipse.net4j.util.lifecycle.Lifecycle.activate(Lifecycle.java:72)
> at org.eclipse.net4j.util.lifecycle.LifecycleUtil.activate(LifecycleUtil.java:99)
> at org.eclipse.net4j.util.lifecycle.LifecycleUtil.activate(LifecycleUtil.java:89)
> at org.eclipse.emf.cdo.server.CDOServerUtil.addRepository(CDOServerUtil.java:201)
> at org.eclipse.emf.cdo.spi.server.RepositoryConfigurator.configure(RepositoryConfigurator.java:110)
> at org.eclipse.emf.cdo.internal.server.bundle.CDOServerApplication.doStart(CDOServerApplication.java:61)
> at org.eclipse.net4j.util.om.OSGiApplication.start(OSGiApplication.java:61)
> at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
> at org.eclipse.equinox.internal.app.AnyThreadAppLauncher.run(AnyThreadAppLauncher.java:26)
> at java.lang.Thread.run(Thread.java:679)
Good catch! I committed a fix.

Cheers
/Eike

----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper


>
> On 05/17/2011 01:01 PM, Eike Stepper wrote:
>> Am 17.05.2011 11:40, schrieb Martin Taal:
>>> Hi,
>>> With the latest CDO build in combination with the hibernate store, when starting up the CDO server, I end up in the
>>> throw new IllegalStateException below.
>> The stack trace could help ;-)
>>
>> Cheers
>> /Eike
>>
>> ----
>> http://www.esc-net.de
>> http://thegordian.blogspot.com
>> http://twitter.com/eikestepper
>>
>>
>>> The CDO Hibernate store does not support durable locking. Is there a way to prevent CDO from checking this? (can I
>>> disable durable locking somehow)? Maybe it is related but I am implementing a new user manager.
>>>
>>> private DurableLocking getDurableLocking()
>>> {
>>> IStoreAccessor accessor = StoreThreadLocal.getAccessor();
>>> if (accessor instanceof DurableLocking)
>>> {
>>> return (DurableLocking)accessor;
>>> }
>>>
>>> throw new IllegalStateException("Store does not support durable locking");
>>> }
>>>
>>>
>>>
>
>


Re: [CDO] get IllegalStateException (Store does not support durable locking) with latest CDO build [message #686941 is a reply to message #686771] Tue, 17 May 2011 11:01 Go to previous message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6690
Registered: July 2009
Senior Member
Am 17.05.2011 11:40, schrieb Martin Taal:
> Hi,
> With the latest CDO build in combination with the hibernate store, when starting up the CDO server, I end up in the throw new IllegalStateException below.
The stack trace could help ;-)

Cheers
/Eike

----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper


> The CDO Hibernate store does not support durable locking. Is there a way to prevent CDO from checking this? (can I disable durable locking somehow)? Maybe it is related but I am implementing a new user manager.
>
> private DurableLocking getDurableLocking()
> {
> IStoreAccessor accessor = StoreThreadLocal.getAccessor();
> if (accessor instanceof DurableLocking)
> {
> return (DurableLocking)accessor;
> }
>
> throw new IllegalStateException("Store does not support durable locking");
> }
>
>
>


Re: [CDO] get IllegalStateException (Store does not support durable locking) with latest CDO build [message #686943 is a reply to message #686773] Tue, 17 May 2011 11:04 Go to previous message
Martin Taal is currently offline Martin TaalFriend
Messages: 5468
Registered: July 2009
Senior Member
Yes ofcourse :-):
[ERROR] Store does not support durable locking
java.lang.IllegalStateException: Store does not support durable locking
at org.eclipse.emf.cdo.internal.server.LockManager.getDurableLocking(LockManager.java:330)
at org.eclipse.emf.cdo.internal.server.LockManager.getLockAreas(LockManager.java:246)
at org.eclipse.emf.cdo.internal.server.LockManager.loadDurableLocks(LockManager.java:344)
at org.eclipse.emf.cdo.internal.server.LockManager.doActivate(LockManager.java:305)
at org.eclipse.net4j.util.lifecycle.Lifecycle.activate(Lifecycle.java:72)
at org.eclipse.net4j.util.lifecycle.LifecycleUtil.activate(LifecycleUtil.java:99)
at org.eclipse.net4j.util.lifecycle.LifecycleUtil.activate(LifecycleUtil.java:89)
at org.eclipse.emf.cdo.internal.server.Repository.doActivate(Repository.java:1577)
at org.eclipse.net4j.util.lifecycle.Lifecycle.activate(Lifecycle.java:72)
at org.eclipse.net4j.util.lifecycle.LifecycleUtil.activate(LifecycleUtil.java:99)
at org.eclipse.net4j.util.lifecycle.LifecycleUtil.activate(LifecycleUtil.java:89)
at org.eclipse.emf.cdo.server.CDOServerUtil.addRepository(CDOServerUtil.java:201)
at org.eclipse.emf.cdo.spi.server.RepositoryConfigurator.configure(RepositoryConfigurator.java:110)
at org.eclipse.emf.cdo.internal.server.bundle.CDOServerApplication.doStart(CDOServerApplication.java:61)
at org.eclipse.net4j.util.om.OSGiApplication.start(OSGiApplication.java:61)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.equinox.internal.app.AnyThreadAppLauncher.run(AnyThreadAppLauncher.java:26)
at java.lang.Thread.run(Thread.java:679)

On 05/17/2011 01:01 PM, Eike Stepper wrote:
> Am 17.05.2011 11:40, schrieb Martin Taal:
>> Hi,
>> With the latest CDO build in combination with the hibernate store, when starting up the CDO server, I end up in the
>> throw new IllegalStateException below.
> The stack trace could help ;-)
>
> Cheers
> /Eike
>
> ----
> http://www.esc-net.de
> http://thegordian.blogspot.com
> http://twitter.com/eikestepper
>
>
>> The CDO Hibernate store does not support durable locking. Is there a way to prevent CDO from checking this? (can I
>> disable durable locking somehow)? Maybe it is related but I am implementing a new user manager.
>>
>> private DurableLocking getDurableLocking()
>> {
>> IStoreAccessor accessor = StoreThreadLocal.getAccessor();
>> if (accessor instanceof DurableLocking)
>> {
>> return (DurableLocking)accessor;
>> }
>>
>> throw new IllegalStateException("Store does not support durable locking");
>> }
>>
>>
>>


--

With Regards, Martin Taal

Springsite/Elver.org
Office: Hardwareweg 4, 3821 BV Amersfoort
Postal: Nassaulaan 7, 3941 EC Doorn
The Netherlands
Cell: +31 (0)6 288 48 943
Tel: +31 (0)84 420 2397
Fax: +31 (0)84 225 9307
Mail: mtaal@springsite.com - mtaal@elver.org
Web: www.springsite.com - www.elver.org
Re: [CDO] get IllegalStateException (Store does not support durable locking) with latest CDO build [message #686944 is a reply to message #686775] Tue, 17 May 2011 11:13 Go to previous message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6690
Registered: July 2009
Senior Member
Am 17.05.2011 13:04, schrieb Martin Taal:
> Yes ofcourse :-):
> [ERROR] Store does not support durable locking
> java.lang.IllegalStateException: Store does not support durable locking
> at org.eclipse.emf.cdo.internal.server.LockManager.getDurableLocking(LockManager.java:330)
> at org.eclipse.emf.cdo.internal.server.LockManager.getLockAreas(LockManager.java:246)
> at org.eclipse.emf.cdo.internal.server.LockManager.loadDurableLocks(LockManager.java:344)
> at org.eclipse.emf.cdo.internal.server.LockManager.doActivate(LockManager.java:305)
> at org.eclipse.net4j.util.lifecycle.Lifecycle.activate(Lifecycle.java:72)
> at org.eclipse.net4j.util.lifecycle.LifecycleUtil.activate(LifecycleUtil.java:99)
> at org.eclipse.net4j.util.lifecycle.LifecycleUtil.activate(LifecycleUtil.java:89)
> at org.eclipse.emf.cdo.internal.server.Repository.doActivate(Repository.java:1577)
> at org.eclipse.net4j.util.lifecycle.Lifecycle.activate(Lifecycle.java:72)
> at org.eclipse.net4j.util.lifecycle.LifecycleUtil.activate(LifecycleUtil.java:99)
> at org.eclipse.net4j.util.lifecycle.LifecycleUtil.activate(LifecycleUtil.java:89)
> at org.eclipse.emf.cdo.server.CDOServerUtil.addRepository(CDOServerUtil.java:201)
> at org.eclipse.emf.cdo.spi.server.RepositoryConfigurator.configure(RepositoryConfigurator.java:110)
> at org.eclipse.emf.cdo.internal.server.bundle.CDOServerApplication.doStart(CDOServerApplication.java:61)
> at org.eclipse.net4j.util.om.OSGiApplication.start(OSGiApplication.java:61)
> at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
> at org.eclipse.equinox.internal.app.AnyThreadAppLauncher.run(AnyThreadAppLauncher.java:26)
> at java.lang.Thread.run(Thread.java:679)
Good catch! I committed a fix.

Cheers
/Eike

----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper


>
> On 05/17/2011 01:01 PM, Eike Stepper wrote:
>> Am 17.05.2011 11:40, schrieb Martin Taal:
>>> Hi,
>>> With the latest CDO build in combination with the hibernate store, when starting up the CDO server, I end up in the
>>> throw new IllegalStateException below.
>> The stack trace could help ;-)
>>
>> Cheers
>> /Eike
>>
>> ----
>> http://www.esc-net.de
>> http://thegordian.blogspot.com
>> http://twitter.com/eikestepper
>>
>>
>>> The CDO Hibernate store does not support durable locking. Is there a way to prevent CDO from checking this? (can I
>>> disable durable locking somehow)? Maybe it is related but I am implementing a new user manager.
>>>
>>> private DurableLocking getDurableLocking()
>>> {
>>> IStoreAccessor accessor = StoreThreadLocal.getAccessor();
>>> if (accessor instanceof DurableLocking)
>>> {
>>> return (DurableLocking)accessor;
>>> }
>>>
>>> throw new IllegalStateException("Store does not support durable locking");
>>> }
>>>
>>>
>>>
>
>


Previous Topic:(no subject)
Next Topic:(no subject)
Goto Forum:
  


Current Time: Mon Sep 23 04:19:28 GMT 2024

Powered by FUDForum. Page generated in 0.04034 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top