Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » [CDO] Problems running cdo-server-Windows (CDO Server)
[CDO] Problems running cdo-server-Windows [message #1086218] Wed, 14 August 2013 00:47 Go to next message
Keith Dorking is currently offline Keith DorkingFriend
Messages: 12
Registered: October 2012
Junior Member
I am new to CDO and thought that I would start by trying to run the cdo-sever.exe in emf-cdo-R20130613-1157-CDOServer-Windows.zip When I try this I get the exceptions shown below. I do not know if I need to make some configuration file changes or some environment changes. I am looking for any pointers to information that will help me understand the problem and set me on my way.

Thanks.


------------------------------------------------------------------------------------

!SESSION 2013-08-13 20:12:02.978 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.7.0_21
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Command-line arguments: -os win32 -ws win32 -arch x86 -debug -console

!ENTRY org.eclipse.osgi 4 0 2013-08-13 20:12:04.398
!MESSAGE Could not find bundle: org.eclipse.equinox.console
!STACK 0
org.osgi.framework.BundleException: Could not find bundle: org.eclipse.equinox.console
at org.eclipse.osgi.framework.internal.core.ConsoleManager.checkForConsoleBundle(ConsoleManager.java:211)
at org.eclipse.core.runtime.adaptor.EclipseStarter.startup(EclipseStarter.java:297)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
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:636)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:591)
at org.eclipse.equinox.launcher.Main.run(Main.java:1450)

!ENTRY org.eclipse.emf.cdo.server 1 0 2013-08-13 20:12:04.679
!MESSAGE CDO server starting

!ENTRY org.eclipse.net4j.util 4 0 2013-08-13 20:12:05.209
!MESSAGE java.lang.ClassNotFoundException: org.h2.jdbcx.JdbcDataSource
!STACK 0
org.eclipse.net4j.db.DBException: java.lang.ClassNotFoundException: org.h2.jdbcx.JdbcDataSource
at org.eclipse.net4j.db.DBUtil.createDataSource(DBUtil.java:368)
at org.eclipse.net4j.db.DBUtil.createDataSource(DBUtil.java:357)
at org.eclipse.net4j.db.DBUtil.createDataSource(DBUtil.java:352)
at org.eclipse.emf.cdo.server.internal.db.DBStoreFactory.getDataSource(DBStoreFactory.java:128)
at org.eclipse.emf.cdo.server.internal.db.DBStoreFactory.createStore(DBStoreFactory.java:53)
at org.eclipse.emf.cdo.spi.server.RepositoryConfigurator.createStore(RepositoryConfigurator.java:370)
at org.eclipse.emf.cdo.spi.server.RepositoryConfigurator.getRepository(RepositoryConfigurator.java:169)
at org.eclipse.emf.cdo.spi.server.RepositoryConfigurator.configure(RepositoryConfigurator.java:111)
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: java.lang.ClassNotFoundException: org.h2.jdbcx.JdbcDataSource
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:501)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:421)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:412)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
at java.lang.ClassLoader.loadClass(Unknown Source)
at org.eclipse.net4j.util.ReflectUtil.instantiate(ReflectUtil.java:437)
at org.eclipse.net4j.db.DBUtil.createDataSource(DBUtil.java:364)
... 12 more

!ENTRY org.eclipse.equinox.app 4 0 2013-08-13 20:12:05.209
!MESSAGE java.lang.ClassNotFoundException: org.h2.jdbcx.JdbcDataSource
!STACK 0
org.eclipse.net4j.db.DBException: java.lang.ClassNotFoundException: org.h2.jdbcx.JdbcDataSource
at org.eclipse.net4j.db.DBUtil.createDataSource(DBUtil.java:368)
at org.eclipse.net4j.db.DBUtil.createDataSource(DBUtil.java:357)
at org.eclipse.net4j.db.DBUtil.createDataSource(DBUtil.java:352)
at org.eclipse.emf.cdo.server.internal.db.DBStoreFactory.getDataSource(DBStoreFactory.java:128)
at org.eclipse.emf.cdo.server.internal.db.DBStoreFactory.createStore(DBStoreFactory.java:53)
at org.eclipse.emf.cdo.spi.server.RepositoryConfigurator.createStore(RepositoryConfigurator.java:370)
at org.eclipse.emf.cdo.spi.server.RepositoryConfigurator.getRepository(RepositoryConfigurator.java:169)
at org.eclipse.emf.cdo.spi.server.RepositoryConfigurator.configure(RepositoryConfigurator.java:111)
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: java.lang.ClassNotFoundException: org.h2.jdbcx.JdbcDataSource
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:501)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:421)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:412)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
at java.lang.ClassLoader.loadClass(Unknown Source)
at org.eclipse.net4j.util.ReflectUtil.instantiate(ReflectUtil.java:437)
at org.eclipse.net4j.db.DBUtil.createDataSource(DBUtil.java:364)
... 12 more


Re: [CDO] Problems running cdo-server-Windows [message #1086528 is a reply to message #1086218] Wed, 14 August 2013 09:55 Go to previous messageGo to next message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6690
Registered: July 2009
Senior Member
Hi Keith,

I've already noticed that the example products don't work properly anymore and it's on my list of things to fix. Sorry
for that!

For now I recommend to either install the CDO SDK and Net4j SDK into your target platform and then import the
org.eclipse.emf.cdo.server.product project into your workspace to launch the contained CDOServer configuration.

Cheers
/Eike

----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper


Am 14.08.2013 02:47, schrieb Keith Dorking:
> I am new to CDO and thought that I would start by trying to run the cdo-sever.exe in
> emf-cdo-R20130613-1157-CDOServer-Windows.zip When I try this I get the exceptions shown below. I do not know if I
> need to make some configuration file changes or some environment changes. I am looking for any pointers to
> information that will help me understand the problem and set me on my way.
>
> Thanks.
>
>
> ------------------------------------------------------------------------------------
>
> !SESSION 2013-08-13 20:12:02.978 -----------------------------------------------
> eclipse.buildId=unknown
> java.version=1.7.0_21
> java.vendor=Oracle Corporation
> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
> Command-line arguments: -os win32 -ws win32 -arch x86 -debug -console
>
> !ENTRY org.eclipse.osgi 4 0 2013-08-13 20:12:04.398
> !MESSAGE Could not find bundle: org.eclipse.equinox.console
> !STACK 0
> org.osgi.framework.BundleException: Could not find bundle: org.eclipse.equinox.console
> at org.eclipse.osgi.framework.internal.core.ConsoleManager.checkForConsoleBundle(ConsoleManager.java:211)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.startup(EclipseStarter.java:297)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
> 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:636)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:591)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1450)
>
> !ENTRY org.eclipse.emf.cdo.server 1 0 2013-08-13 20:12:04.679
> !MESSAGE CDO server starting
>
> !ENTRY org.eclipse.net4j.util 4 0 2013-08-13 20:12:05.209
> !MESSAGE java.lang.ClassNotFoundException: org.h2.jdbcx.JdbcDataSource
> !STACK 0
> org.eclipse.net4j.db.DBException: java.lang.ClassNotFoundException: org.h2.jdbcx.JdbcDataSource
> at org.eclipse.net4j.db.DBUtil.createDataSource(DBUtil.java:368)
> at org.eclipse.net4j.db.DBUtil.createDataSource(DBUtil.java:357)
> at org.eclipse.net4j.db.DBUtil.createDataSource(DBUtil.java:352)
> at org.eclipse.emf.cdo.server.internal.db.DBStoreFactory.getDataSource(DBStoreFactory.java:128)
> at org.eclipse.emf.cdo.server.internal.db.DBStoreFactory.createStore(DBStoreFactory.java:53)
> at org.eclipse.emf.cdo.spi.server.RepositoryConfigurator.createStore(RepositoryConfigurator.java:370)
> at org.eclipse.emf.cdo.spi.server.RepositoryConfigurator.getRepository(RepositoryConfigurator.java:169)
> at org.eclipse.emf.cdo.spi.server.RepositoryConfigurator.configure(RepositoryConfigurator.java:111)
> 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: java.lang.ClassNotFoundException: org.h2.jdbcx.JdbcDataSource
> at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:501)
> at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:421)
> at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:412)
> at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
> at java.lang.ClassLoader.loadClass(Unknown Source)
> at org.eclipse.net4j.util.ReflectUtil.instantiate(ReflectUtil.java:437)
> at org.eclipse.net4j.db.DBUtil.createDataSource(DBUtil.java:364)
> ... 12 more
>
> !ENTRY org.eclipse.equinox.app 4 0 2013-08-13 20:12:05.209
> !MESSAGE java.lang.ClassNotFoundException: org.h2.jdbcx.JdbcDataSource
> !STACK 0
> org.eclipse.net4j.db.DBException: java.lang.ClassNotFoundException: org.h2.jdbcx.JdbcDataSource
> at org.eclipse.net4j.db.DBUtil.createDataSource(DBUtil.java:368)
> at org.eclipse.net4j.db.DBUtil.createDataSource(DBUtil.java:357)
> at org.eclipse.net4j.db.DBUtil.createDataSource(DBUtil.java:352)
> at org.eclipse.emf.cdo.server.internal.db.DBStoreFactory.getDataSource(DBStoreFactory.java:128)
> at org.eclipse.emf.cdo.server.internal.db.DBStoreFactory.createStore(DBStoreFactory.java:53)
> at org.eclipse.emf.cdo.spi.server.RepositoryConfigurator.createStore(RepositoryConfigurator.java:370)
> at org.eclipse.emf.cdo.spi.server.RepositoryConfigurator.getRepository(RepositoryConfigurator.java:169)
> at org.eclipse.emf.cdo.spi.server.RepositoryConfigurator.configure(RepositoryConfigurator.java:111)
> 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: java.lang.ClassNotFoundException: org.h2.jdbcx.JdbcDataSource
> at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:501)
> at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:421)
> at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:412)
> at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
> at java.lang.ClassLoader.loadClass(Unknown Source)
> at org.eclipse.net4j.util.ReflectUtil.instantiate(ReflectUtil.java:437)
> at org.eclipse.net4j.db.DBUtil.createDataSource(DBUtil.java:364)
> ... 12 more
>
>
>


Re: [CDO] Problems running cdo-server-Windows [message #1087577 is a reply to message #1086528] Thu, 15 August 2013 21:35 Go to previous messageGo to next message
Keith Dorking is currently offline Keith DorkingFriend
Messages: 12
Registered: October 2012
Junior Member
Thanks Eike.

I will try your recommendation and see what happens.


Keith
Re: [CDO] Problems running cdo-server-Windows [message #1088093 is a reply to message #1087577] Fri, 16 August 2013 15:13 Go to previous message
Keith Dorking is currently offline Keith DorkingFriend
Messages: 12
Registered: October 2012
Junior Member
I now have a running server. Thanks again Eike.

Keith
Previous Topic:[xcore] synchronized
Next Topic:EMF XMl save config
Goto Forum:
  


Current Time: Mon Oct 07 16:54:30 GMT 2024

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

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

Back to the top