[CDO] Error initializing server for PostgreSQL DB in CDO M6 [message #1027072] |
Tue, 26 March 2013 10:25  |
Eclipse User |
|
|
|
Hi,
Due to the error posted in this thread (http://www.eclipse.org/forums/index.php/t/464208/), I decided to update CDO version to 4.2-M6, released one week ago.
I try it with my PostgreSQL server 9.1 and also 9.2, using the last drivers (9.2 Build 1002, both jdbc3 and jdbc4), and an exception is raised when starting the server (without having the database created):
!ENTRY org.eclipse.equinox.app 4 0 2013-03-26 15:20:15.676
!MESSAGE DELETE FROM CDO_PROPERTIES WHERE NAME=?
!STACK 0
org.eclipse.net4j.db.DBException: DELETE FROM CDO_PROPERTIES WHERE NAME=?
at org.eclipse.emf.cdo.server.internal.db.DBStore.setPersistentProperties(DBStore.java:394)
at org.eclipse.emf.cdo.server.internal.db.DBStore.setCreationTime(DBStore.java:544)
at org.eclipse.emf.cdo.server.internal.db.DBStore.firstStart(DBStore.java:712)
at org.eclipse.emf.cdo.server.internal.db.DBStore.doActivate(DBStore.java:645)
at org.eclipse.net4j.util.lifecycle.Lifecycle.internalActivate(Lifecycle.java:76)
at org.eclipse.net4j.util.lifecycle.Lifecycle.activate(Lifecycle.java:162)
at org.eclipse.net4j.util.lifecycle.LifecycleUtil.activate(LifecycleUtil.java:114)
at org.eclipse.net4j.util.lifecycle.LifecycleUtil.activate(LifecycleUtil.java:104)
at org.eclipse.emf.cdo.internal.server.Repository.doActivate(Repository.java:1874)
at org.eclipse.net4j.util.lifecycle.Lifecycle.internalActivate(Lifecycle.java:76)
at org.eclipse.net4j.util.lifecycle.ShareableLifecycle.internalActivate(ShareableLifecycle.java:43)
at org.eclipse.net4j.util.lifecycle.Lifecycle.activate(Lifecycle.java:162)
at org.eclipse.net4j.util.lifecycle.LifecycleUtil.activate(LifecycleUtil.java:114)
at org.eclipse.net4j.util.lifecycle.LifecycleUtil.activate(LifecycleUtil.java:104)
at org.eclipse.emf.cdo.server.CDOServerUtil.addRepository(CDOServerUtil.java:291)
at org.eclipse.emf.cdo.spi.server.RepositoryConfigurator.configure(RepositoryConfigurator.java:116)
at org.eclipse.emf.cdo.internal.server.bundle.CDOServerApplication.doStart(CDOServerApplication.java:61)
at org.eclipse.net4j.util.om.OSGiApplication.start(OSGiApplication.java:63)
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)
Caused by: org.postgresql.util.PSQLException: ERROR: no existe la relación «cdo_properties»
Position: 13
at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2157)
at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1886)
at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:255)
at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:555)
at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:417)
at org.postgresql.jdbc2.AbstractJdbc2Statement.executeUpdate(AbstractJdbc2Statement.java:363)
at org.eclipse.net4j.internal.db.DBPreparedStatement.executeUpdate(DBPreparedStatement.java:149)
at org.eclipse.emf.cdo.server.internal.db.DBStore.setPersistentProperties(DBStore.java:381)
... 20 more
Any suggestion?
Thanks,
Marc Gil
|
|
|
|
|
|
|
Re: [CDO] Error initializing server for PostgreSQL DB in CDO M6 [message #1031025 is a reply to message #1027072] |
Mon, 01 April 2013 00:27  |
Eclipse User |
|
|
|
Hi Marc,
Sorry for the late reply, I've just returned from the EclipseCon in Boston.
M6 includes a major redesign of the entire schema handling (compare
http://download.eclipse.org/modeling/emf/cdo/drops/S20130319-1538/relnotes.html ) that could lead to regressions.
Unfortunately I'm not able to install PostgreSQL, so I rely on the community to debug this and provide a patch.
Cheers
/Eike
----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper
Am 26.03.2013 15:25, schrieb Marc Gil:
> Hi,
>
> Due to the error posted in this thread (http://www.eclipse.org/forums/index.php/t/464208/), I decided to update CDO
> version to 4.2-M6, released one week ago.
>
> I try it with my PostgreSQL server 9.1 and also 9.2, using the last drivers (9.2 Build 1002, both jdbc3 and jdbc4),
> and an exception is raised when starting the server (without having the database created):
>
>
> !ENTRY org.eclipse.equinox.app 4 0 2013-03-26 15:20:15.676
> !MESSAGE DELETE FROM CDO_PROPERTIES WHERE NAME=?
> !STACK 0
> org.eclipse.net4j.db.DBException: DELETE FROM CDO_PROPERTIES WHERE NAME=?
> at org.eclipse.emf.cdo.server.internal.db.DBStore.setPersistentProperties(DBStore.java:394)
> at org.eclipse.emf.cdo.server.internal.db.DBStore.setCreationTime(DBStore.java:544)
> at org.eclipse.emf.cdo.server.internal.db.DBStore.firstStart(DBStore.java:712)
> at org.eclipse.emf.cdo.server.internal.db.DBStore.doActivate(DBStore.java:645)
> at org.eclipse.net4j.util.lifecycle.Lifecycle.internalActivate(Lifecycle.java:76)
> at org.eclipse.net4j.util.lifecycle.Lifecycle.activate(Lifecycle.java:162)
> at org.eclipse.net4j.util.lifecycle.LifecycleUtil.activate(LifecycleUtil.java:114)
> at org.eclipse.net4j.util.lifecycle.LifecycleUtil.activate(LifecycleUtil.java:104)
> at org.eclipse.emf.cdo.internal.server.Repository.doActivate(Repository.java:1874)
> at org.eclipse.net4j.util.lifecycle.Lifecycle.internalActivate(Lifecycle.java:76)
> at org.eclipse.net4j.util.lifecycle.ShareableLifecycle.internalActivate(ShareableLifecycle.java:43)
> at org.eclipse.net4j.util.lifecycle.Lifecycle.activate(Lifecycle.java:162)
> at org.eclipse.net4j.util.lifecycle.LifecycleUtil.activate(LifecycleUtil.java:114)
> at org.eclipse.net4j.util.lifecycle.LifecycleUtil.activate(LifecycleUtil.java:104)
> at org.eclipse.emf.cdo.server.CDOServerUtil.addRepository(CDOServerUtil.java:291)
> at org.eclipse.emf.cdo.spi.server.RepositoryConfigurator.configure(RepositoryConfigurator.java:116)
> at org.eclipse.emf.cdo.internal.server.bundle.CDOServerApplication.doStart(CDOServerApplication.java:61)
> at org.eclipse.net4j.util.om.OSGiApplication.start(OSGiApplication.java:63)
> 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)
> Caused by: org.postgresql.util.PSQLException: ERROR: no existe la relación «cdo_properties»
> Position: 13
> at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2157)
> at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1886)
> at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:255)
> at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:555)
> at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:417)
> at org.postgresql.jdbc2.AbstractJdbc2Statement.executeUpdate(AbstractJdbc2Statement.java:363)
> at org.eclipse.net4j.internal.db.DBPreparedStatement.executeUpdate(DBPreparedStatement.java:149)
> at org.eclipse.emf.cdo.server.internal.db.DBStore.setPersistentProperties(DBStore.java:381)
> ... 20 more
>
>
> Any suggestion?
>
> Thanks,
> Marc Gil
|
|
|
Powered by
FUDForum. Page generated in 0.05270 seconds