|
|
|
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 |
|
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");
>>> }
>>>
>>>
>>>
>
>
Cheers
/Eike
----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper
|
|
|
|
|
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 |
|
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");
>>> }
>>>
>>>
>>>
>
>
Cheers
/Eike
----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper
|
|
|
Powered by
FUDForum. Page generated in 0.04034 seconds