Skip to main content



      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 #687213] Thu, 16 June 2011 12:24 Go to next message
Eclipse UserFriend
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)
Re: [CDO] CDO Hibernate Server causes " Not able to update container columns of CDOResource [message #687215 is a reply to message #687213] Thu, 16 June 2011 12:32 Go to previous messageGo to next message
Eclipse UserFriend
On 16/06/2011 17:24, Goetz Botterweck wrote:
> 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"

I do not know if this is related to the problem, but after switching to
a different database (Microsoft SQL Server) I now get the error messages
pasted below.

Could this be caused by combining the incompatible versions of the
various plugins?

------------------------
[ERROR] Unable to instantiate default tuplizer
[org.eclipse.emf.cdo.server.internal.hibernate.tuplizer.CDORevisionTuplizer]
org.hibernate.HibernateException: Unable to instantiate default tuplizer
[org.eclipse.emf.cdo.server.internal.hibernate.tuplizer.CDORevisionTuplizer]
at
org.hibernate.tuple.entity.EntityTuplizerFactory.constructTuplizer(EntityTuplizerFactory.java:108)
at
[... lines deleted...]

Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at
[... lines deleted...]

Caused by: java.lang.NoSuchMethodError:
org.hibernate.proxy.ProxyFactory.postInstantiate(Ljava/lang/String;Ljava/lang/Class;Ljava/util/Set;Ljava/lang/reflect/Method;Ljava/lang/reflect/Method;Lorg/hibernate/type/AbstractComponentType;)V
at
org.eclipse.emf.cdo.server.internal.hibernate.tuplizer.CDORevisionTuplizer.buildProxyFactory(CDORevisionTuplizer.java:301)
at
org.hibernate.tuple.entity.AbstractEntityTuplizer.<init>(AbstractEntityTuplizer.java:167)
at
org.eclipse.emf.cdo.server.internal.hibernate.tuplizer.CDORevisionTuplizer.<init>(CDORevisionTuplizer.java:59)
... 30 more
Re: [CDO] CDO Hibernate Server causes &quot; Not able to update container columns of CDOResource [message #687217 is a reply to message #687215] Thu, 16 June 2011 12:50 Go to previous messageGo to next message
Eclipse UserFriend
Hi Goetz,
This must indeed be related to wrong hibernate/cdo hibernate versions.

gr. Martin

On 06/16/2011 06:32 PM, Goetz Botterweck wrote:
> On 16/06/2011 17:24, Goetz Botterweck wrote:
>> 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"
>
> I do not know if this is related to the problem, but after switching to
> a different database (Microsoft SQL Server) I now get the error messages
> pasted below.
>
> Could this be caused by combining the incompatible versions of the
> various plugins?
>
> ------------------------
> [ERROR] Unable to instantiate default tuplizer
> [org.eclipse.emf.cdo.server.internal.hibernate.tuplizer.CDORevisionTuplizer]
> org.hibernate.HibernateException: Unable to instantiate default tuplizer
> [org.eclipse.emf.cdo.server.internal.hibernate.tuplizer.CDORevisionTuplizer]
> at
> org.hibernate.tuple.entity.EntityTuplizerFactory.constructTuplizer(EntityTuplizerFactory.java:108)
> at
> [... lines deleted...]
>
> Caused by: java.lang.reflect.InvocationTargetException
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
> at
> [... lines deleted...]
>
> Caused by: java.lang.NoSuchMethodError:
> org.hibernate.proxy.ProxyFactory.postInstantiate(Ljava/lang/String;Ljava/lang/Class;Ljava/util/Set;Ljava/lang/reflect/Method;Ljava/lang/reflect/Method;Lorg/hibernate/type/AbstractComponentType;)V
> at
> org.eclipse.emf.cdo.server.internal.hibernate.tuplizer.CDORevisionTuplizer.buildProxyFactory(CDORevisionTuplizer.java:301)
> at
> org.hibernate.tuple.entity.AbstractEntityTuplizer.<init>(AbstractEntityTuplizer.java:167)
> at
> org.eclipse.emf.cdo.server.internal.hibernate.tuplizer.CDORevisionTuplizer.<init>(CDORevisionTuplizer.java:59)
> ... 30 more


--

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] CDO Hibernate Server causes &quot; Not able to update container columns of CDOResource [message #687222 is a reply to message #687213] Thu, 16 June 2011 14:45 Go to previous messageGo to next message
Eclipse UserFriend
Hi Goetz,
I have encountered this error also, but now it does not occur with me. It is this bugzilla:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=345816
I committed a change for this bugzilla on the 15th of may, but I can't imagine that your version is older (if it is
rc4). Can you check the build date of the cdo.server.hibernate plugin (it is reflected in the version qualifier of the
plugin)?

gr. Martin

On 06/16/2011 06:24 PM, Goetz Botterweck wrote:
> 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)


--

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] CDO Hibernate Server causes &quot; Not able to update container columns of CDOResource [message #687225 is a reply to message #687222] Thu, 16 June 2011 15:43 Go to previous messageGo to next message
Eclipse UserFriend
On 16/06/2011 19:45, Martin Taal wrote:
> Hi Goetz,
> I have encountered this error also, but now it does not occur with me.
> It is this bugzilla:
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=345816
> I committed a change for this bugzilla on the 15th of may, but I can't
> imagine that your version is older (if it is rc4). Can you check the
> build date of the cdo.server.hibernate plugin (it is reflected in the
> version qualifier of the plugin)?

For some reason that was a version from April. I started an update (Help
> Check for Updates) and was offered a new version from 2011-06-07.

Now the problem is gone :)

Thanks.
Re: [CDO] CDO Hibernate Server causes &quot; Not able to update container columns of CDOResource [message #687226 is a reply to message #687225] Thu, 16 June 2011 16:33 Go to previous message
Eclipse UserFriend
Good to hear, it was kind of an annoying issue to find... So happy that it is not back :-).

gr. Martin

On 06/16/2011 09:43 PM, Goetz Botterweck wrote:
> On 16/06/2011 19:45, Martin Taal wrote:
>> Hi Goetz,
>> I have encountered this error also, but now it does not occur with me.
>> It is this bugzilla:
>> https://bugs.eclipse.org/bugs/show_bug.cgi?id=345816
>> I committed a change for this bugzilla on the 15th of may, but I can't
>> imagine that your version is older (if it is rc4). Can you check the
>> build date of the cdo.server.hibernate plugin (it is reflected in the
>> version qualifier of the plugin)?
>
> For some reason that was a version from April. I started an update (Help
>> Check for Updates) and was offered a new version from 2011-06-07.
>
> Now the problem is gone :)
>
> Thanks.


--

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] CDO Hibernate Server causes &quot; Not able to update container columns of CDOResource [message #687490 is a reply to message #687213] Thu, 16 June 2011 12:32 Go to previous message
Eclipse UserFriend
On 16/06/2011 17:24, Goetz Botterweck wrote:
> 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"

I do not know if this is related to the problem, but after switching to
a different database (Microsoft SQL Server) I now get the error messages
pasted below.

Could this be caused by combining the incompatible versions of the
various plugins?

------------------------
[ERROR] Unable to instantiate default tuplizer
[org.eclipse.emf.cdo.server.internal.hibernate.tuplizer.CDORevisionTuplizer]
org.hibernate.HibernateException: Unable to instantiate default tuplizer
[org.eclipse.emf.cdo.server.internal.hibernate.tuplizer.CDORevisionTuplizer]
at
org.hibernate.tuple.entity.EntityTuplizerFactory.constructTuplizer(EntityTuplizerFactory.java:108)
at
[... lines deleted...]

Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at
[... lines deleted...]

Caused by: java.lang.NoSuchMethodError:
org.hibernate.proxy.ProxyFactory.postInstantiate(Ljava/lang/String;Ljava/lang/Class;Ljava/util/Set;Ljava/lang/reflect/Method;Ljava/lang/reflect/Method;Lorg/hibernate/type/AbstractComponentType;)V
at
org.eclipse.emf.cdo.server.internal.hibernate.tuplizer.CDORevisionTuplizer.buildProxyFactory(CDORevisionTuplizer.java:301)
at
org.hibernate.tuple.entity.AbstractEntityTuplizer.<init>(AbstractEntityTuplizer.java:167)
at
org.eclipse.emf.cdo.server.internal.hibernate.tuplizer.CDORevisionTuplizer.<init>(CDORevisionTuplizer.java:59)
... 30 more
Re: [CDO] CDO Hibernate Server causes &quot; Not able to update container columns of CDOResource [message #687492 is a reply to message #687215] Thu, 16 June 2011 12:50 Go to previous message
Eclipse UserFriend
Hi Goetz,
This must indeed be related to wrong hibernate/cdo hibernate versions.

gr. Martin

On 06/16/2011 06:32 PM, Goetz Botterweck wrote:
> On 16/06/2011 17:24, Goetz Botterweck wrote:
>> 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"
>
> I do not know if this is related to the problem, but after switching to
> a different database (Microsoft SQL Server) I now get the error messages
> pasted below.
>
> Could this be caused by combining the incompatible versions of the
> various plugins?
>
> ------------------------
> [ERROR] Unable to instantiate default tuplizer
> [org.eclipse.emf.cdo.server.internal.hibernate.tuplizer.CDORevisionTuplizer]
> org.hibernate.HibernateException: Unable to instantiate default tuplizer
> [org.eclipse.emf.cdo.server.internal.hibernate.tuplizer.CDORevisionTuplizer]
> at
> org.hibernate.tuple.entity.EntityTuplizerFactory.constructTuplizer(EntityTuplizerFactory.java:108)
> at
> [... lines deleted...]
>
> Caused by: java.lang.reflect.InvocationTargetException
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
> at
> [... lines deleted...]
>
> Caused by: java.lang.NoSuchMethodError:
> org.hibernate.proxy.ProxyFactory.postInstantiate(Ljava/lang/String;Ljava/lang/Class;Ljava/util/Set;Ljava/lang/reflect/Method;Ljava/lang/reflect/Method;Lorg/hibernate/type/AbstractComponentType;)V
> at
> org.eclipse.emf.cdo.server.internal.hibernate.tuplizer.CDORevisionTuplizer.buildProxyFactory(CDORevisionTuplizer.java:301)
> at
> org.hibernate.tuple.entity.AbstractEntityTuplizer.<init>(AbstractEntityTuplizer.java:167)
> at
> org.eclipse.emf.cdo.server.internal.hibernate.tuplizer.CDORevisionTuplizer.<init>(CDORevisionTuplizer.java:59)
> ... 30 more


--

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] CDO Hibernate Server causes &quot; Not able to update container columns of CDOResource [message #687497 is a reply to message #687213] Thu, 16 June 2011 14:45 Go to previous message
Eclipse UserFriend
Hi Goetz,
I have encountered this error also, but now it does not occur with me. It is this bugzilla:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=345816
I committed a change for this bugzilla on the 15th of may, but I can't imagine that your version is older (if it is
rc4). Can you check the build date of the cdo.server.hibernate plugin (it is reflected in the version qualifier of the
plugin)?

gr. Martin

On 06/16/2011 06:24 PM, Goetz Botterweck wrote:
> 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)


--

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] CDO Hibernate Server causes &quot; Not able to update container columns of CDOResource [message #687501 is a reply to message #687222] Thu, 16 June 2011 15:43 Go to previous message
Eclipse UserFriend
On 16/06/2011 19:45, Martin Taal wrote:
> Hi Goetz,
> I have encountered this error also, but now it does not occur with me.
> It is this bugzilla:
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=345816
> I committed a change for this bugzilla on the 15th of may, but I can't
> imagine that your version is older (if it is rc4). Can you check the
> build date of the cdo.server.hibernate plugin (it is reflected in the
> version qualifier of the plugin)?

For some reason that was a version from April. I started an update (Help
> Check for Updates) and was offered a new version from 2011-06-07.

Now the problem is gone :)

Thanks.
Re: [CDO] CDO Hibernate Server causes &quot; Not able to update container columns of CDOResource [message #687502 is a reply to message #687225] Thu, 16 June 2011 16:33 Go to previous message
Eclipse UserFriend
Good to hear, it was kind of an annoying issue to find... So happy that it is not back :-).

gr. Martin

On 06/16/2011 09:43 PM, Goetz Botterweck wrote:
> On 16/06/2011 19:45, Martin Taal wrote:
>> Hi Goetz,
>> I have encountered this error also, but now it does not occur with me.
>> It is this bugzilla:
>> https://bugs.eclipse.org/bugs/show_bug.cgi?id=345816
>> I committed a change for this bugzilla on the 15th of may, but I can't
>> imagine that your version is older (if it is rc4). Can you check the
>> build date of the cdo.server.hibernate plugin (it is reflected in the
>> version qualifier of the plugin)?
>
> For some reason that was a version from April. I started an update (Help
>> Check for Updates) and was offered a new version from 2011-06-07.
>
> Now the problem is gone :)
>
> Thanks.


--

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
Previous Topic:(no subject)
Next Topic:[CDO] Getting started with CDO Hibernate Store
Goto Forum:
  


Current Time: Fri Jul 25 15:46:44 EDT 2025

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

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

Back to the top