Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » [CDO] CDO Hibernate Server causes " Not able to update container columns of CDOResource wit
[CDO] CDO Hibernate Server causes " Not able to update container columns of CDOResource wit [message #687488] Thu, 16 June 2011 16:24
Goetz Botterweck is currently offline Goetz BotterweckFriend
Messages: 71
Registered: July 2009
Member
SHORT STORY
When starting CDO Hibernate Server I get
"Not able to update container columns of CDOResource with id
OID:http://www.eclipse.org/emf/CDO/Eresource/4.0.0#CDOResource#1"


LONG STORY
I want to get started with a current installation of CDO Hibernate Store.

I installed Eclipse 3.7RC4
+ Hibernate 3.6.0
+ CDO Model Repository SDK 4.0.0
+ EMF Teneo CDO SDK 1.2.0
+ CDO Model Repository Server Hibernate 4.0.0
+ some other plugins
(Mostly following instructions at
http://wiki.eclipse.org/CDO/Hibernate_Store/Quick_Start)

I then checked out example projects from
http://dev.eclipse.org/svnroot/modeling/org.eclipse.emf.cdo/trunk/plugins/org.eclipse.emf.cdo.examples.*

I added
org.hsqldb;bundle-version="1.8.1"
to the MANIFEST.MF to get around a class not found error.

Then, when running
org.eclipse.emf.cdo.examples.hibernate.server/CDOHibernateServer.launch
again I get the error message
Not able to update container columns of CDOResource with id
OID:http://www.eclipse.org/emf/CDO/Eresource/4.0.0#CDOResource#1

Any hints?

Thanks,
Goetz


----------------excerpt from console log ----------------------

[ERROR] Not able to update container columns of CDOResource with id
OID:http://www.eclipse.org/emf/CDO/Eresource/4.0.0#CDOResource#1
java.lang.IllegalStateException: Not able to update container columns of
CDOResource with id
OID:http://www.eclipse.org/emf/CDO/Eresource/4.0.0#CDOResource#1
at
org.eclipse.emf.cdo.server.internal.hibernate.HibernateStoreAccessor.repairResourceIDs(HibernateStoreAccessor.java:746)
at
org.eclipse.emf.cdo.server.internal.hibernate.HibernateStoreAccessor.doWrite(HibernateStoreAccessor.java:669)
at
org.eclipse.emf.cdo.spi.server.StoreAccessorBase.write(StoreAccessorBase.java:149)
at
org.eclipse.emf.cdo.internal.server.TransactionCommitContext.write(TransactionCommitContext.java:425)
at
org.eclipse.emf.cdo.internal.server.Repository.initRootResource(Repository.java:1449)
at
org.eclipse.emf.cdo.internal.server.Repository.doActivate(Repository.java:1562)
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(Unknown Source)
[ERROR] Not able to update container columns of CDOResource with id
OID:http://www.eclipse.org/emf/CDO/Eresource/4.0.0#CDOResource#1
java.lang.IllegalStateException: Not able to update container columns of
CDOResource with id
OID:http://www.eclipse.org/emf/CDO/Eresource/4.0.0#CDOResource#1
at
org.eclipse.emf.cdo.server.internal.hibernate.HibernateStoreAccessor.repairResourceIDs(HibernateStoreAccessor.java:746)
at
org.eclipse.emf.cdo.server.internal.hibernate.HibernateStoreAccessor.doWrite(HibernateStoreAccessor.java:669)
at
org.eclipse.emf.cdo.spi.server.StoreAccessorBase.write(StoreAccessorBase.java:149)
at
org.eclipse.emf.cdo.internal.server.TransactionCommitContext.write(TransactionCommitContext.java:425)
at
org.eclipse.emf.cdo.internal.server.Repository.initRootResource(Repository.java:1449)
at
org.eclipse.emf.cdo.internal.server.Repository.doActivate(Repository.java:1562)
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(Unknown Source)
Previous Topic:(no subject)
Next Topic:[CDO] Getting started with CDO Hibernate Store
Goto Forum:
  


Current Time: Mon Sep 23 11:20:37 GMT 2019

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

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

Back to the top