Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » [CDO] Failed to start derby database
[CDO] Failed to start derby database [message #552153] Wed, 11 August 2010 06:33 Go to next message
saurav sarkar is currently offline saurav sarkarFriend
Messages: 424
Registered: July 2009
Senior Member
Hi All,

I am trying to play around with CDO.I have setup according to the getting started with CDO Galileo.
I could start the server as well as mutliple clients and perform the necessary transactions.Then i close all of them and now if i want to start the server.I get the following exception.
I use Apache derby.

[INFO] CDO Server starting
!SESSION 2010-08-11 12:00:55.962 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.6.0_13
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Framework arguments:  -product org.eclipse.emf.cdo.server.product
Command-line arguments:  -product org.eclipse.emf.cdo.server.product -data  C:\Users\I054564\workspace_query2_cvs_eclipse/../runtime-New _configuration -dev  file:C:/Users/I054564/workspace_query2_cvs_eclipse/.metadata /.plugins/org.eclipse.pde.core/CDO Server/dev.properties -os win32 -ws win32 -arch x86 -consoleLog

!ENTRY org.eclipse.emf.cdo.server 1 0 2010-08-11 12:00:57.648
!MESSAGE CDO Server starting

!ENTRY org.eclipse.core.resources 2 10035 2010-08-11 12:00:57.819
!MESSAGE The workspace exited with unsaved changes in the previous session; refreshing workspace to recover changes.
[ERROR] SQL Exception: Failed to start database '/Temp/cdodb1', see the next exception for details.
org.eclipse.net4j.db.DBException: SQL Exception: Failed to start database '/Temp/cdodb1', see the next exception for details.
	at  org.eclipse.net4j.internal.db.DataSourceConnectionProvider.g etConnection(DataSourceConnectionProvider.java:46)
	at  org.eclipse.emf.cdo.server.internal.db.DBStore.getConnection (DBStore.java:180)
	at  org.eclipse.emf.cdo.server.internal.db.DBStore.doActivate(DB Store.java:230)
	at  org.eclipse.net4j.util.lifecycle.Lifecycle.activate(Lifecycl e.java:65)
	at  org.eclipse.net4j.util.lifecycle.LifecycleUtil.activate(Life cycleUtil.java:94)
!ENTRY org.eclipse.net4j.util 4 0 2010-08-11 12:00:58.335
!MESSAGE SQL Exception: Failed to start database '/Temp/cdodb1', see the next exception for details.
!STACK 0
org.eclipse.net4j.db.DBException: SQL Exception: Failed to start database '/Temp/cdodb1', see the next exception for details.
	at  org.eclipse.net4j.internal.db.DataSourceConnectionProvider.g etConnection(DataSourceConnectionProvider.java:46)
	at  org.eclipse.emf.cdo.server.internal.db.DBStore.getConnection (DBStore.java:180)
	at  org.eclipse.emf.cdo.server.internal.db.DBStore.doActivate(DB Store.java:230)
	at  org.eclipse.net4j.util.lifecycle.Lifecycle.activate(Lifecycl e.java:65)
	at  org.eclipse.net4j.util.lifecycle.LifecycleUtil.activate(Life cycleUtil.java:94)
	at  org.eclipse.net4j.util.lifecycle.LifecycleUtil.activate(Life cycleUtil.java:84)
	at  org.eclipse.emf.cdo.internal.server.Repository.doActivate(Re pository.java:581)
	at  org.eclipse.net4j.util.lifecycle.Lifecycle.activate(Lifecycl e.java:65)
	at  org.eclipse.net4j.util.lifecycle.LifecycleUtil.activate(Life cycleUtil.java:94)
	at  org.eclipse.net4j.util.lifecycle.LifecycleUtil.activate(Life cycleUtil.java:84)
	at  org.eclipse.emf.cdo.server.CDOServerUtil.addRepository(CDOSe rverUtil.java:73)
	at  org.eclipse.emf.cdo.internal.server.RepositoryConfigurator.c onfigure(RepositoryConfigurator.java:83)
	at  org.eclipse.emf.cdo.internal.server.bundle.CDOServerApplicat ion.doStart(CDOServerApplication.java:51)
	at  org.eclipse.net4j.util.om.OSGiApplication.start(OSGiApplicat ion.java:61)
	at  org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:194)
	at  org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:110)
	at  org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:79)
	at  org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:368)
	at  org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at  org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 559)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
	at org.eclipse.equinox.launcher.Main.main(Main.java:1287)
Caused by: SQL Exception: Failed to start database '/Temp/cdodb1', see the next exception for details.
	at  org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Unknown Source)
	at  org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Unknown Source)
	at  org.apache.derby.impl.jdbc.Util.generateCsSQLException(Unkno wn Source)
	at  org.apache.derby.impl.jdbc.EmbedConnection.newSQLException(U nknown Source)
	at  org.apache.derby.impl.jdbc.EmbedConnection.bootDatabase(Unkn own Source)
	at org.apache.derby.impl.jdbc.EmbedConnection.<init>(Unknown Source)
	at org.apache.derby.impl.jdbc.EmbedConnection30.<init>(Unknown Source)
	at  org.apache.derby.jdbc.Driver30.getNewEmbedConnection(Unknown Source)
	at org.apache.derby.jdbc.InternalDriver.connect(Unknown Source)
	at  org.apache.derby.jdbc.EmbeddedDataSource.getConnection(Unkno wn Source)
	at  org.apache.derby.jdbc.EmbeddedDataSource.getConnection(Unkno wn Source)
	at  org.eclipse.net4j.internal.db.DataSourceConnectionProvider.g etConnection(DataSourceConnectionProvider.java:42)
	... 26 more

!ENTRY org.eclipse.osgi 4 0 2010-08-11 12:00:58.335
!MESSAGE Application error
!STACK 1
org.eclipse.net4j.db.DBException: SQL Exception: Failed to start database '/Temp/cdodb1', see the next exception for details.
	at  org.eclipse.net4j.internal.db.DataSourceConnectionProvider.g etConnection(DataSourceConnectionProvider.java:46)
	at  org.eclipse.emf.cdo.server.internal.db.DBStore.getConnection (DBStore.java:180)
	at  org.eclipse.emf.cdo.server.internal.db.DBStore.doActivate(DB Store.java:230)
	at  org.eclipse.net4j.util.lifecycle.Lifecycle.activate(Lifecycl e.java:65)
	at  org.eclipse.net4j.util.lifecycle.LifecycleUtil.activate(Life cycleUtil.java:94)
	at  org.eclipse.net4j.util.lifecycle.LifecycleUtil.activate(Life cycleUtil.java:84)
	at  org.eclipse.emf.cdo.internal.server.Repository.doActivate(Re pository.java:581)
	at  org.eclipse.net4j.util.lifecycle.Lifecycle.activate(Lifecycl e.java:65)
	at  org.eclipse.net4j.util.lifecycle.LifecycleUtil.activate(Life cycleUtil.java:94)
	at  org.eclipse.net4j.util.lifecycle.LifecycleUtil.activate(Life cycleUtil.java:84)
	at  org.eclipse.emf.cdo.server.CDOServerUtil.addRepository(CDOSe rverUtil.java:73)
	at  org.eclipse.emf.cdo.internal.server.RepositoryConfigurator.c onfigure(RepositoryConfigurator.java:83)
	at  org.eclipse.emf.cdo.internal.server.bundle.CDOServerApplicat ion.doStart(CDOServerApplication.java:51)
	at  org.eclipse.net4j.util.om.OSGiApplication.start(OSGiApplicat ion.java:61)
	at  org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:194)
	at  org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:110)
	at  org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:79)
	at  org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:368)
	at  org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at  org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 559)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
	at org.eclipse.equinox.launcher.Main.main(Main.java:1287)
Caused by: SQL Exception: Failed to start database '/Temp/cdodb1', see the next exception for details.
	at  org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Unknown Source)
	at  org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Unknown Source)
	at  org.apache.derby.impl.jdbc.Util.generateCsSQLException(Unkno wn Source)
	at  org.apache.derby.impl.jdbc.EmbedConnection.newSQLException(U nknown Source)
	at  org.apache.derby.impl.jdbc.EmbedConnection.bootDatabase(Unkn own Source)
	at org.apache.derby.impl.jdbc.EmbedConnection.<init>(Unknown Source)
	at org.apache.derby.impl.jdbc.EmbedConnection30.<init>(Unknown Source)
	at  org.apache.derby.jdbc.Driver30.getNewEmbedConnection(Unknown Source)
	at org.apache.derby.jdbc.InternalDriver.connect(Unknown Source)
	at  org.apache.derby.jdbc.EmbeddedDataSource.getConnection(Unkno wn Source)
	at  org.apache.derby.jdbc.EmbeddedDataSource.getConnection(Unkno wn Source)
	at  org.eclipse.net4j.internal.db.DataSourceConnectionProvider.g etConnection(DataSourceConnectionProvider.java:42)
	... 26 more

	at  org.eclipse.net4j.util.lifecycle.LifecycleUtil.activate(Life cycleUtil.java:84)
	at  org.eclipse.emf.cdo.internal.server.Repository.doActivate(Re pository.java:581)
	at  org.eclipse.net4j.util.lifecycle.Lifecycle.activate(Lifecycl e.java:65)
	at  org.eclipse.net4j.util.lifecycle.LifecycleUtil.activate(Life cycleUtil.java:94)
	at  org.eclipse.net4j.util.lifecycle.LifecycleUtil.activate(Life cycleUtil.java:84)
	at  org.eclipse.emf.cdo.server.CDOServerUtil.addRepository(CDOSe rverUtil.java:73)
	at  org.eclipse.emf.cdo.internal.server.RepositoryConfigurator.c onfigure(RepositoryConfigurator.java:83)
	at  org.eclipse.emf.cdo.internal.server.bundle.CDOServerApplicat ion.doStart(CDOServerApplication.java:51)
	at  org.eclipse.net4j.util.om.OSGiApplication.start(OSGiApplicat ion.java:61)
	at  org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:194)
	at  org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:110)
	at  org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:79)
	at  org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:368)
	at  org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at  org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 559)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
	at org.eclipse.equinox.launcher.Main.main(Main.java:1287)
Caused by: SQL Exception: Failed to start database '/Temp/cdodb1', see the next exception for details.
	at  org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Unknown Source)
	at  org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Unknown Source)
	at  org.apache.derby.impl.jdbc.Util.generateCsSQLException(Unkno wn Source)
	at  org.apache.derby.impl.jdbc.EmbedConnection.newSQLException(U nknown Source)
	at  org.apache.derby.impl.jdbc.EmbedConnection.bootDatabase(Unkn own Source)
	at org.apache.derby.impl.jdbc.EmbedConnection.<init>(Unknown Source)
	at org.apache.derby.impl.jdbc.EmbedConnection30.<init>(Unknown Source)
	at  org.apache.derby.jdbc.Driver30.getNewEmbedConnection(Unknown Source)
	at org.apache.derby.jdbc.InternalDriver.connect(Unknown Source)
	at  org.apache.derby.jdbc.EmbeddedDataSource.getConnection(Unkno wn Source)
	at  org.apache.derby.jdbc.EmbeddedDataSource.getConnection(Unkno wn Source)
	at  org.eclipse.net4j.internal.db.DataSourceConnectionProvider.g etConnection(DataSourceConnectionProvider.java:42)
	... 26 more

!ENTRY org.eclipse.jdt.core 4 4 2010-08-11 12:00:58.803
!MESSAGE Unable to read variable and containers file
!STACK 0
java.io.EOFException
	at java.io.DataInputStream.readInt(Unknown Source)
	at  org.eclipse.jdt.internal.core.JavaModelManager$VariablesAndC ontainersLoadHelper.loadInt(JavaModelManager.java:3275)
	at  org.eclipse.jdt.internal.core.JavaModelManager$VariablesAndC ontainersLoadHelper.loadVariables(JavaModelManager.java:3341 )
	at  org.eclipse.jdt.internal.core.JavaModelManager$VariablesAndC ontainersLoadHelper.load(JavaModelManager.java:3144)
	at  org.eclipse.jdt.internal.core.JavaModelManager.loadVariables AndContainers(JavaModelManager.java:2980)
	at  org.eclipse.jdt.internal.core.JavaModelManager.startup(JavaM odelManager.java:4623)
	at org.eclipse.jdt.core.JavaCore.start(JavaCore.java:4965)
	at  org.eclipse.osgi.framework.internal.core.BundleContextImpl$1 .run(BundleContextImpl.java:783)
	at java.security.AccessController.doPrivileged(Native Method)
	at  org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:774)
	at  org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleContextImpl.java:755)
	at  org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:352)
	at  org.eclipse.osgi.framework.internal.core.AbstractBundle.star t(AbstractBundle.java:280)
	at  org.eclipse.osgi.framework.util.SecureAction.start(SecureAct ion.java:408)
	at  org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter .postFindLocalClass(EclipseLazyStarter.java:111)
	at  org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc alClass(ClasspathManager.java:449)
	at  org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.fin dLocalClass(DefaultClassLoader.java:211)
	at  org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass (BundleLoader.java:381)
	at  org.eclipse.osgi.internal.loader.BundleLoader.findClassInter nal(BundleLoader.java:457)
	at  org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:410)
	at  org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:398)
	at  org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:105)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	at  org.eclipse.osgi.internal.loader.BundleLoader.loadClass(Bund leLoader.java:326)
	at  org.eclipse.osgi.framework.internal.core.BundleHost.loadClas s(BundleHost.java:231)
	at  org.eclipse.osgi.framework.internal.core.AbstractBundle.load Class(AbstractBundle.java:1193)
	at  org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI .createExecutableExtension(RegistryStrategyOSGI.java:160)
	at  org.eclipse.core.internal.registry.ExtensionRegistry.createE xecutableExtension(ExtensionRegistry.java:874)
	at  org.eclipse.core.internal.registry.ConfigurationElement.crea teExecutableExtension(ConfigurationElement.java:243)
	at  org.eclipse.core.internal.registry.ConfigurationElementHandl e.createExecutableExtension(ConfigurationElementHandle.java: 51)
	at  org.eclipse.core.internal.events.BuildManager.instantiateBui lder(BuildManager.java:782)
	at  org.eclipse.core.internal.events.BuildManager.initializeBuil der(BuildManager.java:735)
	at  org.eclipse.core.internal.events.BuildManager.getBuilder(Bui ldManager.java:480)
	at  org.eclipse.core.internal.events.BuildManager.basicBuild(Bui ldManager.java:199)
	at  org.eclipse.core.internal.events.BuildManager$1.run(BuildMan ager.java:253)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at  org.eclipse.core.internal.events.BuildManager.basicBuild(Bui ldManager.java:256)
	at  org.eclipse.core.internal.events.BuildManager.basicBuildLoop (BuildManager.java:309)
	at  org.eclipse.core.internal.events.BuildManager.build(BuildMan ager.java:341)
	at  org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBu ildJob.java:140)
	at  org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJ ob.java:238)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

!ENTRY org.eclipse.core.resources 4 2 2010-08-11 12:00:58.944
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.core.resources".
!STACK 0
java.lang.NullPointerException
	at org.eclipse.core.runtime.Plugin$1.run(Plugin.java:369)
	at  org.eclipse.core.runtime.Plugin.getPluginPreferences(Plugin. java:372)
	at  org.eclipse.jdt.internal.launching.environments.Environments Manager. <init>(EnvironmentsManager.java:148)
	at  org.eclipse.jdt.internal.launching.environments.Environments Manager.getDefault(EnvironmentsManager.java:138)
	at  org.eclipse.jdt.launching.JavaRuntime.getExecutionEnvironmen tsManager(JavaRuntime.java:2550)
	at  org.eclipse.jdt.internal.launching.JREContainerInitializer.g etExecutionEnvironmentId(JREContainerInitializer.java:175)
	at  org.eclipse.jdt.internal.launching.JREContainerInitializer.g etDescription(JREContainerInitializer.java:332)
	at  org.eclipse.jdt.internal.core.JavaModelManager.initializeCon tainer(JavaModelManager.java:2638)
	at  org.eclipse.jdt.internal.core.JavaModelManager.getClasspathC ontainer(JavaModelManager.java:1813)
	at  org.eclipse.jdt.core.JavaCore.getClasspathContainer(JavaCore .java:2652)
	at  org.eclipse.jdt.internal.core.JavaProject.resolveClasspath(J avaProject.java:2578)
	at  org.eclipse.jdt.internal.core.JavaProject.resolveClasspath(J avaProject.java:2679)
	at  org.eclipse.jdt.internal.core.JavaProject.getResolvedClasspa th(JavaProject.java:1866)
	at  org.eclipse.jdt.internal.core.JavaProject.computeExpandedCla sspath(JavaProject.java:469)
	at  org.eclipse.jdt.internal.core.JavaProject.getExpandedClasspa th(JavaProject.java:1485)
	at  org.eclipse.jdt.internal.core.builder.NameEnvironment.comput eClasspathLocations(NameEnvironment.java:93)
	at org.eclipse.jdt.internal.core.builder.NameEnvironment.<init >(NameEnvironment.java:41)
	at  org.eclipse.jdt.internal.core.builder.JavaBuilder.initialize Builder(JavaBuilder.java:603)
	at  org.eclipse.jdt.internal.core.builder.JavaBuilder.build(Java Builder.java:167)
	at  org.eclipse.core.internal.events.BuildManager$2.run(BuildMan ager.java:627)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at  org.eclipse.core.internal.events.BuildManager.basicBuild(Bui ldManager.java:170)
	at  org.eclipse.core.internal.events.BuildManager.basicBuild(Bui ldManager.java:201)
	at  org.eclipse.core.internal.events.BuildManager$1.run(BuildMan ager.java:253)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at  org.eclipse.core.internal.events.BuildManager.basicBuild(Bui ldManager.java:256)
	at  org.eclipse.core.internal.events.BuildManager.basicBuildLoop (BuildManager.java:309)
	at  org.eclipse.core.internal.events.BuildManager.build(BuildMan ager.java:341)
	at  org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBu ildJob.java:140)
	at  org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJ ob.java:238)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

!ENTRY org.eclipse.core.resources 4 2 2010-08-11 12:00:59.428
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.core.resources".
!STACK 0
java.lang.NullPointerException
	at  org.eclipse.jdt.internal.core.JavaModelManager$VariablesAndC ontainersSaveHelper.save(JavaModelManager.java:3794)
	at  org.eclipse.jdt.internal.core.JavaModelManager.saveVariables AndContainers(JavaModelManager.java:3746)
	at  org.eclipse.jdt.internal.core.JavaModelManager.saving(JavaMo delManager.java:3992)
	at  org.eclipse.core.internal.resources.SaveManager.executeLifec ycle(SaveManager.java:343)
	at  org.eclipse.core.internal.resources.SaveManager$1.run(SaveMa nager.java:160)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at  org.eclipse.core.internal.resources.SaveManager.broadcastLif ecycle(SaveManager.java:163)
	at  org.eclipse.core.internal.resources.SaveManager.save(SaveMan ager.java:1012)
	at  org.eclipse.core.internal.resources.SaveManager.save(SaveMan ager.java:991)
	at  org.eclipse.core.internal.resources.DelayedSnapshotJob.run(D elayedSnapshotJob.java:44)
	at  org.eclipse.core.internal.resources.SaveManager.shutdown(Sav eManager.java:1216)
	at  org.eclipse.core.internal.resources.Workspace.close(Workspac e.java:414)
	at  org.eclipse.core.resources.ResourcesPlugin.stop(ResourcesPlu gin.java:356)
	at  org.eclipse.osgi.framework.internal.core.BundleContextImpl$2 .run(BundleContextImpl.java:843)
	at java.security.AccessController.doPrivileged(Native Method)
	at  org.eclipse.osgi.framework.internal.core.BundleContextImpl.s top(BundleContextImpl.java:836)
	at  org.eclipse.osgi.framework.internal.core.BundleHost.stopWork er(BundleHost.java:474)
	at  org.eclipse.osgi.framework.internal.core.AbstractBundle.susp end(AbstractBundle.java:546)
	at  org.eclipse.osgi.framework.internal.core.Framework.suspendBu ndle(Framework.java:1098)
	at  org.eclipse.osgi.framework.internal.core.StartLevelManager.d ecFWSL(StartLevelManager.java:593)
	at  org.eclipse.osgi.framework.internal.core.StartLevelManager.d oSetStartLevel(StartLevelManager.java:261)
	at  org.eclipse.osgi.framework.internal.core.StartLevelManager.s hutdown(StartLevelManager.java:216)
	at  org.eclipse.osgi.framework.internal.core.InternalSystemBundl e.suspend(InternalSystemBundle.java:266)
	at  org.eclipse.osgi.framework.internal.core.Framework.shutdown( Framework.java:685)
	at  org.eclipse.osgi.framework.internal.core.Framework.close(Fra mework.java:583)
	at  org.eclipse.core.runtime.adaptor.EclipseStarter.shutdown(Ecl ipseStarter.java:409)
	at  org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:200)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at  org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 559)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
	at org.eclipse.equinox.launcher.Main.main(Main.java:1287)



[Updated on: Wed, 11 August 2010 06:34]

Report message to a moderator

Re: Failed to start derby database [message #552170 is a reply to message #552153] Wed, 11 August 2010 07:24 Go to previous messageGo to next message
Stefan Winkler is currently offline Stefan WinklerFriend
Messages: 277
Registered: July 2009
Location: Germany
Senior Member
Saurav,

is this reproducible? Because the first log message

> !ENTRY org.eclipse.core.resources 2 10035 2010-08-11 12:00:57.819
> !MESSAGE The workspace exited with unsaved changes in the previous
> session; refreshing workspace to recover changes.

Looks like you've killed your application instead of exiting cleanly.
This could be a reason why the derby DB is inconsistent on disc.

Also
> database '/Temp/cdodb1', see the next exception for details.
'/Temp/cdodb1' does not look like a very good location to have the
database at (except for unit testing). So you might want to make sure
that the DB is stored somewhere safer.

Finally, let me state, that you'd better use Helios and CDO 3.0 if you
can, because CDO 2.0 (Galileo) is out of maintenance.

Cheers,
Stefan
Re: Failed to start derby database [message #552196 is a reply to message #552170] Wed, 11 August 2010 08:05 Go to previous messageGo to next message
Eike Stepper is currently offline Eike StepperFriend
Messages: 5590
Registered: July 2009
Senior Member
Am 11.08.2010 09:24, schrieb Stefan Winkler:
> Saurav,
>
> is this reproducible? Because the first log message
>
>> !ENTRY org.eclipse.core.resources 2 10035 2010-08-11 12:00:57.819
>> !MESSAGE The workspace exited with unsaved changes in the previous
>> session; refreshing workspace to recover changes.
>
> Looks like you've killed your application instead of exiting cleanly.
> This could be a reason why the derby DB is inconsistent on disc.
Yes, shutting down the repository gracefully is extremely important. Are you running the repo in OSGi? Then try to use the "close" command on the OSGI console and verify the various "Deactivating..." traces.

Cheers
/Eike


>
> Also
>> database '/Temp/cdodb1', see the next exception for details.
> '/Temp/cdodb1' does not look like a very good location to have the database at (except for unit testing). So you might want to make sure that the DB is stored somewhere safer.
>
> Finally, let me state, that you'd better use Helios and CDO 3.0 if you can, because CDO 2.0 (Galileo) is out of maintenance.
>
> Cheers,
> Stefan
>
Re: [CDO] Failed to start derby database [message #552199 is a reply to message #552153] Wed, 11 August 2010 08:33 Go to previous messageGo to next message
saurav sarkar is currently offline saurav sarkarFriend
Messages: 424
Registered: July 2009
Senior Member
Thanks a lot Stefan and Eike for your replies.

I have one feature which only works in Galielo thats why i was using it, once i fix that i will move to Helios

and Yes Eike is spot on ...i have overlooked the webinar where the close command was shown to be executed specifically .I did not do that.
Now i have restarted the Eclipse instance and its working now.

Thanks again folks for the helpful replies.

cheers,
Saurav


Re: [CDO] Failed to start derby database [message #552389 is a reply to message #552153] Thu, 12 August 2010 03:14 Go to previous messageGo to next message
saurav sarkar is currently offline saurav sarkarFriend
Messages: 424
Registered: July 2009
Senior Member
Now i try to get the Audit view for my resource but whenever i try to open this i get 'Could not open the view as its a read only view'.
I wonder i may be doing something wrong here.

Please help.

cheers,
Saurav


Re: [CDO] Failed to start derby database [message #552414 is a reply to message #552389] Thu, 12 August 2010 07:31 Go to previous messageGo to next message
Eike Stepper is currently offline Eike StepperFriend
Messages: 5590
Registered: July 2009
Senior Member
This is a multi-part message in MIME format.
--------------030000040706000009030209
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit

Hi Saurav,

Can you please explain in more detail what you mean by "get the Audit view for my resource"? Do you have a code snippet or are you referring to the UI?

Are you getting an exception? Do you have a stack trace?

Cheers
/Eike

Contact: http://www.esc-net.de Blogger <http://thegordian.blogspot.com>Twitter <http://twitter.com/eikestepper>Linkedin <http://de.linkedin.com/in/eikestepper>Xing <http://www.xing.com/profile/Eike_Stepper>
Article: What exactly is inside that p2 repository? < http://thegordian.blogspot.com/2010/05/what-exactly-is-insid e-that-p2.html>

I'm going to Eclipse Summit Europe 2010 <http://www.eclipsesummit.org/>



Am 12.08.2010 05:14, schrieb saurav:
> Now i try to get the Audit view for my resource but whenever i try to open this i get 'Could not open the view as its a read only view'.
> I wonder i may be doing something wrong here.
>
> Please help.
>
> cheers,
> Saurav

--------------030000040706000009030209
Content-Type: multipart/related;
boundary="------------050500010303010505080301"


--------------050500010303010505080301
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 7bit

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
Hi Saurav,<br>
<br>
Can you please explain in more detail what you mean by "get the
Audit view for my resource"? Do you have a code snippet or are you
referring to the UI?<br>
<br>
Are you getting an exception? Do you have a stack trace?<br>
<br>
<!--WISESTAMP_SIG_80383_START--><span style="color: black;">
<div dir="ltr">
<div>Cheers<br>
/Eike<br>
<br>
</div>
<div style="padding: 5px 0pt; font-family: arial,sans-serif;
font-size: 13.3px;"><span style="color: gray;">Contact: <a
href="http://www.esc-net.de">http://www.esc-net.de</a></span>
<a href="http://thegordian.blogspot.com" style="padding: 0pt
2px; color: blue; font-size: 10pt;" _service=""><img
src="cid:part1.01090206.00000100@esc-net.de" alt="Blogger"
style="vertical-align: middle; padding-bottom: 5px;"
border="0" height="16" width="16"></a><a
href="http://twitter.com/eikestepper" style="padding: 0pt
2px; color: blue; font-size: 10pt;" _service=""><img
src="cid:part2.04040905.05090708@esc-net.de" alt="Twitter"
style="vertical-align: middle; padding-bottom: 5px;"
border="0" height="16" width="16"></a><a
href="http://de.linkedin.com/in/eikestepper" style="padding:
0pt 2px; color: blue; font-size: 10pt;" _service=""><img
src="cid:part3.04080306.04040107@esc-net.de"
alt="Linkedin" style="vertical-align: middle;
padding-bottom: 5px;" border="0" height="16" width="16"></a><a
href="http://www.xing.com/profile/Eike_Stepper"
style="padding: 0pt 2px; color: blue; font-size: 10pt;"
_service=""><img
src="cid:part4.01070908.02010000@esc-net.de" alt="Xing"
style="vertical-align: middle; padding-bottom: 5px;"
border="0" height="16" width="16"></a></div>
<div style="color: gray; font-size: 13.3px; padding-bottom:
5px;">Article: <span style="color: blue; text-decoration:
underline;"><a
href=" http://thegordian.blogspot.com/2010/05/what-exactly-is-insid e-that-p2.html"
undefined="">What exactly is inside that p2 repository?</a></span></div>
<div><br>
<a href="http://www.eclipsesummit.org/"><img
src="cid:part5.02000108.06040008@esc-net.de" alt="I'm
going to Eclipse Summit Europe 2010" border="0"
height="100" width="130"></a>
<br>
<br>
</div>
</div>
</span><!--WISESTAMP_SIG_80383_END--><br>
<br>
Am 12.08.2010 05:14, schrieb saurav:
<blockquote cite="mid:i3vou3$6fp$1@build.eclipse.org" type="cite">Now
i try to get the Audit view for my resource but whenever i try to
open this i get 'Could not open the view as its a read only view'.
<br>
I wonder i may be doing something wrong here.
<br>
<br>
Please help.
<br>
<br>
cheers,
<br>
Saurav
<br>
</blockquote>
</body>
</html>

--------------050500010303010505080301
Content-Type: image/png;
name="blogger.png"
Content-Transfer-Encoding: base64
Content-ID: <part1.01090206.00000100@esc-net.de>
Content-Disposition: inline;
filename="blogger.png"

iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAABGdBTUEAAK/I NwWK6QAAABl0
RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAADkUExURf9xEv9m AP////9lAP+Q
SP9kAP9jAP9fAP9nAf9vD//x5/9hAP/iz/9iAP9eAP/s4P9vEP9yEv9qAP9q B/+LRP+we/90
I/+RSP/z6/+jZv/y6P+8kP/59f5yE//awf/Ttv9hAf9nAv/17v+4if9sC/9o BP+bWP/r3v/k
0v+wfP+QRv/o2f9gAP+OQ/93HP/l0/+0gv/Rsv/9/P/j0P+pcP+0hf/dx//D m//+/v+td/9o
AP+NQv/Yvf+zgv/x6P/q2/9xG//p2f9pAP/s3//8+fxxE//ex/+AK/9oCP/j 0f/Uuv///4Xw
StcAAABMdFJOU/////////////////////////////////////////////// ////////////
/////////////////////////////////////////wCejeTMAAAAsklEQVR4 2kSP1w6DMBAE
7cMGQg0hvffee++d//+f2IaIeTlppNXtIo88UAjxEIlhjCUG5lwJQuwoulqh FuUGcWGSiTF7
bt40EEoXBKtyIPQS5PffFqyHlhCS2obTK5kDmJ8lXxgA0zsPXer0L3zSUVmI D9ip3SC+hKwQ
2CxCtXYYL25gu1S8bf4jib5fTM+MNE079jom/+KwJUojwnAVifcQ46jM4M23 BHmkEK53iPcT
YACE/Q4KzoVQVwAAAABJRU5ErkJggg==
--------------050500010303010505080301
Content-Type: image/png;
name="twitter.png"
Content-Transfer-Encoding: base64
Content-ID: <part2.04040905.05090708@esc-net.de>
Content-Disposition: inline;
filename="twitter.png"

iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QA/wD/ AP+gvaeTAAAA
CXBIWXMAAABIAAAASABGyWs+AAAACXZwQWcAAAAQAAAAEABcxq3DAAABxUlE QVQ4y4WTMW4U
QRBFX3X3zoy8FgZphTCYAEg4gAPEYbgBJEgEXIALkHMfAjIwItnAAfLK2JYB r3dmuj7BzI5m
2WBLqqzq//q/fxt9NTmrzo7MCIhgRpWSsaMSgEta5czcjYtWTKPxfALZXTEE 2wmAxLXD11VL
BZy2MAuJB/iuA3oAoJb4lUUCVkAGTM5t06gjATMjBiPFaFsADvx1MTFoBd/q zHkMeLcLgCEe
JqjbrCJ1IAkghGDz20Z/XEzMMMTnZTsSYANMAl7fq7YlZOBaUCCk4WowwyRA mBmL7CxcmwDu
rh+rzKU71YhQ/dnr8VbiaRF4MgmbAAZkxJU7lRk3Wby5W3FcJlbSICAjZjFS jJ42rSXWgoWL
fYPfLvaCMTVxJ0XoJTmQ/stF6GPABDhzcepi7uJ74yQDuXcDErjjGhkwNvHx xCjMOMkCg3eX
S85zyVEMtGt24GWVxvsM5yi3+nBV8/7iBmJv0gaZQMZhNL4cHXBYdDkY7HQL vD0oebVfQuud
a8FGHSAaP1vnpMmbHgDEECwafLq/x8fZlGfJKCVKiapvXLyoEsdl3JYwBMpd uW1YEjlz4aMh
AY+iURiU/Vf/B6EE4kjfs5YLAAAAAElFTkSuQmCC
--------------050500010303010505080301
Content-Type: image/png;
name="linkedin.png"
Content-Transfer-Encoding: base64
Content-ID: <part3.04080306.04040107@esc-net.de>
Content-Disposition: inline;
filename="linkedin.png"

iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QA/wD/ AP+gvaeTAAAA
CXBIWXMAAABIAAAASABGyWs+AAAACXZwQWcAAAAQAAAAEABcxq3DAAACGklE QVQ4y6WTO2sU
URTHf3dmdp0kTnZJzErSrPjKYqNY2GljodhoLRLB1sLCD2DrZxAsfCAE/AaC grY+SBQSFTSC
xizGzZ3MTiYz92UxY5KNYuOBP+eew/3/73lwxfWHT9yjuR8YL0CwyxygAAPo Cqr0ntFcvjBB
cH++x8WzJzm8v/EnWVdks0PEgNWO95/XePD4HZ4ADk6MAhD6Hs26/08yBjwr ODrZBK0JADyv
LP7GsX2Evse9xR5Lsvgr+XfsO7ctoKwj9AWh7wEQIFCF+3sFGjCmgiJwQFwY Yge3X3cZrwXM
r2SDg9tJ1rokaw1alRXI3NAO61w60AAHTkE7qtNu1PjSUywsb3L60AgjNcHz hZgXb39WApoA
C3FqsIGjMxYC8OZbxlQU0GmFTLdCznWireV0pobYSDKevuzilMZDg0wN/cxu XdrMLVqX53TT
cu3OJ87cmmdlrQBgemoYKTMwqhSI+4Z0QMBhjANgcTnj1UdJHGd8Xc0AmBit Ecu0moGGODH0
h7cF8tyidSmgjSWWG6AUWpkypw1xLwXA4z8tQINcN/T3moEWtLZbr0mZQV5s 55RFJuU8RHR1
1iWtIzQ8nxOtIVCw9D2lWbM06w4ZZ8wtrEJRcLw9TDMUyKRg7kOPSHQR0ZVZ lyRjMDkOOVAU
FfLS57viHRaJLsHM+THuPtuDUgLTW2U0X672t47rrw82vOu/z9w8xS+MkDzV Boy6+QAAAABJ
RU5ErkJggg==
--------------050500010303010505080301
Content-Type: image/png;
name="xing.png"
Content-Transfer-Encoding: base64
Content-ID: <part4.01070908.02010000@esc-net.de>
Content-Disposition: inline;
filename="xing.png"

iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAACQkWg2AAAACXBIWXMAAAsT AAALEwEAmpwY
AAABsklEQVR42mP8//8/AymAEb+G1x9333hU9fffZy52ZTONrQQ0/P7z7sLd hJfvN7Mw80mL
ROkqTodqAIKvv379+fuXhZmZh50dpv7f49dLLt1LYWD4ryRZCETsrJIIDYdu 3y5fu16AizPE
0CTFzgoo8fPXoxPX/T9/v8DHbWCito6LXRHFDw/evnXpm3D39Ws1Eck9xVmy wqLP3/SevlXC
ysKtLtuoJFmMxdObL17ymzqN8S9LnZddua/VrUcWD149FRNwNFFby8oiiEXD itNnImfN5WTi
nBhu7Gvw5OLdiv+MQnqKU6WEI7AE6+vPnx17+68+fmGrJL0wRe/rl/jbL94r isfqKs1kZuJE
1/Dt16/27TtatmzjYeZcnuZpqnDi3J16FmZxYDhKCAViibiVp8+Ur1v39N0H X12DFRkJ33/u
O3LVk+E/i5xYqq7iNCwaXn769PLTZ0ZGBnFePjE+3j9/3155kPvk9XIudgV9 5XnCfI6Ek8a7
T4dO3vD4+++HlHC4kepywhr+/P0ITEIPXk5jZxXTVpgE1EY48X36euHs7fBv P+8CVespzYGH
FSOpyRsAAuDh4a3m5z0AAAAASUVORK5CYII=
--------------050500010303010505080301
Content-Type: image/gif;
name="130x100_going.gif"
Content-Transfer-Encoding: base64
Content-ID: <part5.02000108.06040008@esc-net.de>
Content-Disposition: inline;
filename="130x100_going.gif"

R0lGODlhggBkANU/AAI6m5unzAFEnevmBBdYp26MwSdhrezv9ShbpkdJl8zT 5iosTk5RczdZ
pUxws4+Vujlhq296sauxNTZpsY6cUjtLl0pBjWmLbMzM3yVUngxDnzQ/j1B0 fjRTnm1skRRN
oxsaNCVKlb3I30JPnEY+iQVRojY+ZzhskyVDhEdbok5DlIh+smNfLmNYlS5l r1dSmztQhUZa
iV1eg93b6MTJIx5eq0xMfdvh7UJAaGtipL24E7W50CtOm4CAWP///////yH5 BAEAAD8ALAAA
AACCAGQAAAb/wJ9wOLwVPoCkcslsOp/QqHRKrX4KN6J2K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As+3GgU3dyX3dt83c2r3a GwAAJL0HQrAD
ZWDV2F3e173d6I3XGzAGOwDeWvAAPJAEq6vG9F3f9n3f+J3frWsMAMADD+De bHAAP02sBF7g
Bn7gCH7gEQCd7h0EADs=
--------------050500010303010505080301--

--------------030000040706000009030209--
Re: [CDO] Failed to start derby database [message #552428 is a reply to message #552153] Thu, 12 August 2010 08:25 Go to previous messageGo to next message
saurav sarkar is currently offline saurav sarkarFriend
Messages: 424
Registered: July 2009
Senior Member
Hi Eike,

I try to do it through UI and i get the following error


org.eclipse.emf.cdo.util.ReadOnlyException: CDO view is read-only: CDOAudit(2)
	at org.eclipse.emf.internal.cdo.view.CDOViewImpl.toTransaction(CDOViewImpl.java:369)
	at org.eclipse.emf.internal.cdo.CDOStateMachine$WriteTransition.execute(CDOStateMachine.java:758)
	at org.eclipse.emf.internal.cdo.CDOStateMachine$WriteTransition.execute(CDOStateMachine.java:1)
	at org.eclipse.net4j.util.fsm.FiniteStateMachine.process(FiniteStateMachine.java:161)
	at org.eclipse.emf.internal.cdo.CDOStateMachine.write(CDOStateMachine.java:348)
	at org.eclipse.emf.internal.cdo.CDOStore.getRevisionForWriting(CDOStore.java:603)
	at org.eclipse.emf.internal.cdo.CDOStore.set(CDOStore.java:334)
	at org.eclipse.emf.internal.cdo.CDOLegacyWrapper.revisionToInstanceFeature(CDOLegacyWrapper.java:282)
	at org.eclipse.emf.internal.cdo.CDOLegacyWrapper.revisionToInstance(CDOLegacyWrapper.java:255)
	at org.eclipse.emf.internal.cdo.CDOLegacyWrapper.cdoInternalPostLoad(CDOLegacyWrapper.java:151)
	at org.eclipse.emf.internal.cdo.view.CDOViewImpl.cleanObject(CDOViewImpl.java:888)
	at org.eclipse.emf.internal.cdo.view.CDOViewImpl.createObject(CDOViewImpl.java:839)
	at org.eclipse.emf.internal.cdo.view.CDOViewImpl.getObject(CDOViewImpl.java:722)
	at org.eclipse.emf.internal.cdo.view.CDOViewImpl.convertIDToObject(CDOViewImpl.java:1016)
	at org.eclipse.emf.internal.cdo.CDOStore.convertToEMF(CDOStore.java:384)
	at org.eclipse.emf.internal.cdo.CDOStore.get(CDOStore.java:177)
	at org.eclipse.emf.ecore.impl.EStoreEObjectImpl$BasicEStoreEList.delegateGet(EStoreEObjectImpl.java:225)
	at org.eclipse.emf.common.util.DelegatingEList.get(DelegatingEList.java:236)
	at org.eclipse.emf.common.util.AbstractEList$EIterator.doNext(AbstractEList.java:709)
	at org.eclipse.emf.common.util.AbstractEList$EIterator.next(AbstractEList.java:696)
	at org.eclipse.emf.edit.provider.ItemProviderAdapter.getChildren(ItemProviderAdapter.java:340)
	at org.eclipse.emf.edit.provider.ItemProviderAdapter.getElements(ItemProviderAdapter.java:310)
	at org.eclipse.emf.edit.ui.provider.AdapterFactoryContentProvider.getElements(AdapterFactoryContentProvider.java:160)
	at org.eclipse.jface.viewers.StructuredViewer.getRawChildren(StructuredViewer.java:959)
	at org.eclipse.jface.viewers.ColumnViewer.getRawChildren(ColumnViewer.java:703)
	at org.eclipse.jface.viewers.AbstractTreeViewer.getRawChildren(AbstractTreeViewer.java:1330)
	at org.eclipse.jface.viewers.TreeViewer.getRawChildren(TreeViewer.java:390)
	at org.eclipse.jface.viewers.AbstractTreeViewer.getFilteredChildren(AbstractTreeViewer.java:636)
	at org.eclipse.jface.viewers.AbstractTreeViewer.getSortedChildren(AbstractTreeViewer.java:602)
	at org.eclipse.jface.viewers.AbstractTreeViewer$1.run(AbstractTreeViewer.java:799)
	at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
	at org.eclipse.jface.viewers.AbstractTreeViewer.createChildren(AbstractTreeViewer.java:776)
	at org.eclipse.jface.viewers.TreeViewer.createChildren(TreeViewer.java:639)
	at org.eclipse.jface.viewers.AbstractTreeViewer.internalInitializeTree(AbstractTreeViewer.java:1490)
	at org.eclipse.jface.viewers.TreeViewer.internalInitializeTree(TreeViewer.java:828)
	at org.eclipse.jface.viewers.AbstractTreeViewer$5.run(AbstractTreeViewer.java:1474)
	at org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1392)
	at org.eclipse.jface.viewers.TreeViewer.preservingSelection(TreeViewer.java:402)
	at org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1353)
	at org.eclipse.jface.viewers.AbstractTreeViewer.inputChanged(AbstractTreeViewer.java:1467)
	at org.eclipse.jface.viewers.ContentViewer.setInput(ContentViewer.java:274)
	at org.eclipse.jface.viewers.StructuredViewer.setInput(StructuredViewer.java:1634)
	at org.eclipse.emf.cdo.internal.ui.editor.CDOEditor.createPages(CDOEditor.java:1216)
	at org.eclipse.ui.part.MultiPageEditorPart.createPartControl(MultiPageEditorPart.java:357)
	at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:662)
	at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:462)
	at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:595)
	at org.eclipse.ui.internal.EditorReference.getEditor(EditorReference.java:286)
	at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2857)
	at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2762)
	at org.eclipse.ui.internal.WorkbenchPage.access$11(WorkbenchPage.java:2754)
	at org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.java:2705)
	at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
	at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2701)
	at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2685)
	at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2668)
	at org.eclipse.emf.cdo.ui.CDOEditorUtil$1.run(CDOEditorUtil.java:80)
	at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
	at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
	at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3885)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3506)
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405)
	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
	at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
	at org.eclipse.equinox.launcher.Main.main(Main.java:1287)



Thanks and Regards,
Saurav


Re: [CDO] Failed to start derby database [message #552452 is a reply to message #552428] Thu, 12 August 2010 09:45 Go to previous messageGo to next message
Eike Stepper is currently offline Eike StepperFriend
Messages: 5590
Registered: July 2009
Senior Member
Am 12.08.2010 10:25, schrieb saurav:
> Hi Eike,
>
> I try to do it through UI and i get the following error
And what exactly is "it" that you're trying to do? Exact steps, clicks, ...

Cheers
/Eike


>
>
>
> org.eclipse.emf.cdo.util.ReadOnlyException: CDO view is read-only: CDOAudit(2)
> at org.eclipse.emf.internal.cdo.view.CDOViewImpl.toTransaction( CDOViewImpl.java:369)
> at org.eclipse.emf.internal.cdo.CDOStateMachine$WriteTransition .execute(CDOStateMachine.java:758)
> at org.eclipse.emf.internal.cdo.CDOStateMachine$WriteTransition .execute(CDOStateMachine.java:1)
> at org.eclipse.net4j.util.fsm.FiniteStateMachine.process(Finite StateMachine.java:161)
> at org.eclipse.emf.internal.cdo.CDOStateMachine.write(CDOStateM achine.java:348)
> at org.eclipse.emf.internal.cdo.CDOStore.getRevisionForWriting( CDOStore.java:603)
> at org.eclipse.emf.internal.cdo.CDOStore.set(CDOStore.java:334)
> at org.eclipse.emf.internal.cdo.CDOLegacyWrapper.revisionToInst anceFeature(CDOLegacyWrapper.java:282)
> at org.eclipse.emf.internal.cdo.CDOLegacyWrapper.revisionToInst ance(CDOLegacyWrapper.java:255)
> at org.eclipse.emf.internal.cdo.CDOLegacyWrapper.cdoInternalPos tLoad(CDOLegacyWrapper.java:151)
> at org.eclipse.emf.internal.cdo.view.CDOViewImpl.cleanObject(CD OViewImpl.java:888)
> at org.eclipse.emf.internal.cdo.view.CDOViewImpl.createObject(C DOViewImpl.java:839)
> at org.eclipse.emf.internal.cdo.view.CDOViewImpl.getObject(CDOV iewImpl.java:722)
> at org.eclipse.emf.internal.cdo.view.CDOViewImpl.convertIDToObj ect(CDOViewImpl.java:1016)
> at org.eclipse.emf.internal.cdo.CDOStore.convertToEMF(CDOStore. java:384)
> at org.eclipse.emf.internal.cdo.CDOStore.get(CDOStore.java:177)
> at org.eclipse.emf.ecore.impl.EStoreEObjectImpl$BasicEStoreELis t.delegateGet(EStoreEObjectImpl.java:225)
> at org.eclipse.emf.common.util.DelegatingEList.get(DelegatingEL ist.java:236)
> at org.eclipse.emf.common.util.AbstractEList$EIterator.doNext(A bstractEList.java:709)
> at org.eclipse.emf.common.util.AbstractEList$EIterator.next(Abs tractEList.java:696)
> at org.eclipse.emf.edit.provider.ItemProviderAdapter.getChildre n(ItemProviderAdapter.java:340)
> at org.eclipse.emf.edit.provider.ItemProviderAdapter.getElement s(ItemProviderAdapter.java:310)
> at org.eclipse.emf.edit.ui.provider.AdapterFactoryContentProvid er.getElements(AdapterFactoryContentProvider.java:160)
> at org.eclipse.jface.viewers.StructuredViewer.getRawChildren(St ructuredViewer.java:959)
> at org.eclipse.jface.viewers.ColumnViewer.getRawChildren(Column Viewer.java:703)
> at org.eclipse.jface.viewers.AbstractTreeViewer.getRawChildren( AbstractTreeViewer.java:1330)
> at org.eclipse.jface.viewers.TreeViewer.getRawChildren(TreeView er.java:390)
> at org.eclipse.jface.viewers.AbstractTreeViewer.getFilteredChil dren(AbstractTreeViewer.java:636)
> at org.eclipse.jface.viewers.AbstractTreeViewer.getSortedChildr en(AbstractTreeViewer.java:602)
> at org.eclipse.jface.viewers.AbstractTreeViewer$1.run(AbstractT reeViewer.java:799)
> at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:70)
> at org.eclipse.jface.viewers.AbstractTreeViewer.createChildren( AbstractTreeViewer.java:776)
> at org.eclipse.jface.viewers.TreeViewer.createChildren(TreeView er.java:639)
> at org.eclipse.jface.viewers.AbstractTreeViewer.internalInitial izeTree(AbstractTreeViewer.java:1490)
> at org.eclipse.jface.viewers.TreeViewer.internalInitializeTree( TreeViewer.java:828)
> at org.eclipse.jface.viewers.AbstractTreeViewer$5.run(AbstractT reeViewer.java:1474)
> at org.eclipse.jface.viewers.StructuredViewer.preservingSelecti on(StructuredViewer.java:1392)
> at org.eclipse.jface.viewers.TreeViewer.preservingSelection(Tre eViewer.java:402)
> at org.eclipse.jface.viewers.StructuredViewer.preservingSelecti on(StructuredViewer.java:1353)
> at org.eclipse.jface.viewers.AbstractTreeViewer.inputChanged(Ab stractTreeViewer.java:1467)
> at org.eclipse.jface.viewers.ContentViewer.setInput(ContentView er.java:274)
> at org.eclipse.jface.viewers.StructuredViewer.setInput(Structur edViewer.java:1634)
> at org.eclipse.emf.cdo.internal.ui.editor.CDOEditor.createPages (CDOEditor.java:1216)
> at org.eclipse.ui.part.MultiPageEditorPart.createPartControl(Mu ltiPageEditorPart.java:357)
> at org.eclipse.ui.internal.EditorReference.createPartHelper(Edi torReference.java:662)
> at org.eclipse.ui.internal.EditorReference.createPart(EditorRef erence.java:462)
> at org.eclipse.ui.internal.WorkbenchPartReference.getPart(Workb enchPartReference.java:595)
> at org.eclipse.ui.internal.EditorReference.getEditor(EditorRefe rence.java:286)
> at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched( WorkbenchPage.java:2857)
> at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(Workben chPage.java:2762)
> at org.eclipse.ui.internal.WorkbenchPage.access$11(WorkbenchPag e.java:2754)
> at org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.j ava:2705)
> at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:70)
> at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPa ge.java:2701)
> at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPa ge.java:2685)
> at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPa ge.java:2668)
> at org.eclipse.emf.cdo.ui.CDOEditorUtil$1.run(CDOEditorUtil.jav a:80)
> at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5)
> at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:134)
> at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:3885)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3506)
> at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2405)
> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
> at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:22 21)
> at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
> at org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:332)
> at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:493)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
> at org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.java:113)
> at org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:194)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:110)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:79)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:368)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 559)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
> at org.eclipse.equinox.launcher.Main.main(Main.java:1287)
>
>
>
> Thanks and Regards,
> Saurav
Re: [CDO] Failed to start derby database [message #552514 is a reply to message #552153] Thu, 12 August 2010 12:54 Go to previous messageGo to next message
saurav sarkar is currently offline saurav sarkarFriend
Messages: 424
Registered: July 2009
Senior Member
Hi Eike,

I did following.

1. I created a resource
2. Opened the transaction view.Added some child nodes under it.
3. Then i try to open the audit view for that particular resource.
4. I get the above mentioned error.


cheers,
Saurav


Re: [CDO] Failed to start derby database [message #552686 is a reply to message #552514] Fri, 13 August 2010 07:45 Go to previous messageGo to next message
Eike Stepper is currently offline Eike StepperFriend
Messages: 5590
Registered: July 2009
Senior Member
Am 12.08.2010 14:54, schrieb saurav:
> Hi Eike,
>
> I did following.
>
> 1. I created a resource
How could you do this before opening the transaction?

> 2. Opened the transaction view.Added some child nodes under it.
"it" == transaction? Or the resource from step 1)?

> 3. Then i try to open the audit view for that particular resource.
> 4. I get the above mentioned error.
The stack trace you have given contains CDOLegacyWrapper. That's starnge because you claimed to use CDO 2.0 (Galileo). This class did not exist in 2.0. What exact version of CDO are you using?

Assuming you're really using CDO 3.0, are you sure you do not want to regenerate your model for CDO, but rather use it as a "legacy" model? Please compare http://wiki.eclipse.org/Preparing_EMF_Models_for_CDO

Cheers
/Eike


>
>
> cheers,
> Saurav
Re: [CDO] Failed to start derby database [message #552757 is a reply to message #552153] Fri, 13 August 2010 12:11 Go to previous message
saurav sarkar is currently offline saurav sarkarFriend
Messages: 424
Registered: July 2009
Senior Member
Hi Eike,

While doing commiting resource i get this error

org.eclipse.net4j.util.transaction.TransactionException: Rollback in DBStore: org.eclipse.net4j.util.ImplementationError: Unrecognized CDOType: FEATURE_MAP_ENTRY


then i saw this forum post

http://www.eclipse.org/forums/index.php?t=msg&goto=54269 0&#msg_542690.

Now i have decided to move into Helios with CDO 3.0

cheers,
Saurac


Previous Topic:Transformaing a CMOF model to an ECore model
Next Topic:Looking for a tool for generating intuitive UI for instantiating Ecore Model entities
Goto Forum:
  


Current Time: Sun Dec 21 03:19:06 GMT 2014

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

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