Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » [CDO] Can't get CDO Objectivity adapter running on Linux(Adapter tries to open a windows logging folder)
[CDO] Can't get CDO Objectivity adapter running on Linux [message #651462] Mon, 31 January 2011 09:03 Go to next message
ChrisC  is currently offline ChrisC Friend
Messages: 1
Registered: January 2011
Junior Member
I'm currently trying to setup a CDO server for Objectivity on Ubuntu Linux, using CDO 3.0. During the connection phase I get an exception:

com.veriluma.server.common.support.WrappedServerException: com.veriluma.server.common.support.WrappedServerException: com.objy.db.ooLogOpenFailed: Can't access log directory path "c:\data": No such file or directory
at com.veriluma.server.common.support.DefaultServerManager.star t(DefaultServerManager.java:293)
at com.veriluma.server.common.support.DefaultServerManager.run( DefaultServerManager.java:226)
at com.veriluma.server.objectivity.ObjectivityServer.run(Object ivityServer.java:43)
at com.veriluma.server.objectivity.ObjectivityServer.main(Objec tivityServer.java:59)
Caused by: com.veriluma.server.common.support.WrappedServerException: com.objy.db.ooLogOpenFailed: Can't access log directory path "c:\data": No such file or directory
at com.veriluma.server.common.support.DefaultServerManager.crea teRepository(DefaultServerManager.java:539)
at com.veriluma.server.common.support.DefaultServerManager.star t(DefaultServerManager.java:280)
... 3 more
Caused by: com.objy.db.ooLogOpenFailed: Can't access log directory path "c:\data": No such file or directory
at com.objy.pm.NonSessionConnection.jSetLoggingOptions(Native Method)
at com.objy.pm.NonSessionConnection.setLoggingOptions(Unknown Source)
at com.objy.pm.ConnectionPersistor.setLoggingOptions(Unknown Source)
at com.objy.pm.Access.setLoggingOptions(Unknown Source)
at com.objy.db.app.Connection.setLoggingOptions(Unknown Source)
at org.eclipse.emf.cdo.server.internal.objectivity.db.ObjyConne ction.connect(ObjyConnection.java:105)
at org.eclipse.emf.cdo.server.internal.objectivity.db.ObjyConne ction.connect(ObjyConnection.java:85)
at org.eclipse.emf.cdo.server.internal.objectivity.ObjectivityS tore.initStore(ObjectivityStore.java:110)
at org.eclipse.emf.cdo.server.internal.objectivity.ObjectivityS tore.doActivate(ObjectivityStore.java:260)
at org.eclipse.net4j.util.lifecycle.Lifecycle.activate(Lifecycl e.java:72)
at org.eclipse.net4j.util.lifecycle.LifecycleUtil.activate(Life cycleUtil.java:98)
at org.eclipse.net4j.util.lifecycle.LifecycleUtil.activate(Life cycleUtil.java:88)
at org.eclipse.emf.cdo.internal.server.Repository.doActivate(Re pository.java:1310)
at org.eclipse.net4j.util.lifecycle.Lifecycle.activate(Lifecycl e.java:72)
at org.eclipse.net4j.util.lifecycle.LifecycleUtil.activate(Life cycleUtil.java:98)
at org.eclipse.net4j.util.lifecycle.LifecycleUtil.activate(Life cycleUtil.java:88)
at org.eclipse.emf.cdo.server.CDOServerUtil.addRepository(CDOSe rverUtil.java:128)
at com.veriluma.server.common.support.DefaultServerManager.crea teRepository(DefaultServerManager.java:532)

I had a look in ObjyConnection.connect() and discovered the following lines:

Connection.setLoggingOptions(options, true, // boolean logToFiles
true, // boolean appendLogFiles,
"c:\\data", // String logDirPath,
"MainLog.txt"// String mainLogFileName

Which I suspect might cause problems on a non-Windows OS. Is there any way to work around this?
Re: [CDO] Can't get CDO Objectivity adapter running on Linux [message #651509 is a reply to message #651462] Mon, 31 January 2011 13:14 Go to previous messageGo to next message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6446
Registered: July 2009
Senior Member
Hi Chris,

I hope that Ibe can help withObjectivity questions...

Cheers
/Eike

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



Am 31.01.2011 10:03, schrieb ChrisC:
> I'm currently trying to setup a CDO server for Objectivity on Ubuntu Linux, using CDO 3.0. During the connection phase I get an exception:
>
> com.veriluma.server.common.support.WrappedServerException: com.veriluma.server.common.support.WrappedServerException: com.objy.db.ooLogOpenFailed: Can't access log directory path "c:\data": No such file or directory
> at com.veriluma.server.common.support.DefaultServerManager.star t(DefaultServerManager.java:293)
> at com.veriluma.server.common.support.DefaultServerManager.run( DefaultServerManager.java:226)
> at com.veriluma.server.objectivity.ObjectivityServer.run(Object ivityServer.java:43)
> at com.veriluma.server.objectivity.ObjectivityServer.main(Objec tivityServer.java:59)
> Caused by: com.veriluma.server.common.support.WrappedServerException: com.objy.db.ooLogOpenFailed: Can't access log directory path "c:\data": No such file or directory
> at com.veriluma.server.common.support.DefaultServerManager.crea teRepository(DefaultServerManager.java:539)
> at com.veriluma.server.common.support.DefaultServerManager.star t(DefaultServerManager.java:280)
> ... 3 more
> Caused by: com.objy.db.ooLogOpenFailed: Can't access log directory path "c:\data": No such file or directory
> at com.objy.pm.NonSessionConnection.jSetLoggingOptions(Native Method)
> at com.objy.pm.NonSessionConnection.setLoggingOptions(Unknown Source)
> at com.objy.pm.ConnectionPersistor.setLoggingOptions(Unknown Source)
> at com.objy.pm.Access.setLoggingOptions(Unknown Source)
> at com.objy.db.app.Connection.setLoggingOptions(Unknown Source)
> at org.eclipse.emf.cdo.server.internal.objectivity.db.ObjyConne ction.connect(ObjyConnection.java:105)
> at org.eclipse.emf.cdo.server.internal.objectivity.db.ObjyConne ction.connect(ObjyConnection.java:85)
> at org.eclipse.emf.cdo.server.internal.objectivity.ObjectivityS tore.initStore(ObjectivityStore.java:110)
> at org.eclipse.emf.cdo.server.internal.objectivity.ObjectivityS tore.doActivate(ObjectivityStore.java:260)
> at org.eclipse.net4j.util.lifecycle.Lifecycle.activate(Lifecycl e.java:72)
> at org.eclipse.net4j.util.lifecycle.LifecycleUtil.activate(Life cycleUtil.java:98)
> at org.eclipse.net4j.util.lifecycle.LifecycleUtil.activate(Life cycleUtil.java:88)
> at org.eclipse.emf.cdo.internal.server.Repository.doActivate(Re pository.java:1310)
> at org.eclipse.net4j.util.lifecycle.Lifecycle.activate(Lifecycl e.java:72)
> at org.eclipse.net4j.util.lifecycle.LifecycleUtil.activate(Life cycleUtil.java:98)
> at org.eclipse.net4j.util.lifecycle.LifecycleUtil.activate(Life cycleUtil.java:88)
> at org.eclipse.emf.cdo.server.CDOServerUtil.addRepository(CDOSe rverUtil.java:128)
> at com.veriluma.server.common.support.DefaultServerManager.crea teRepository(DefaultServerManager.java:532)
>
> I had a look in ObjyConnection.connect() and discovered the following lines:
>
> Connection.setLoggingOptions(options, true, // boolean logToFiles
> true, // boolean appendLogFiles,
> "c:\\data", // String logDirPath,
> "MainLog.txt"// String mainLogFileName
>
> Which I suspect might cause problems on a non-Windows OS. Is there any way to work around this?


Re: [CDO] Can't get CDO Objectivity adapter running on Linux [message #659776 is a reply to message #651462] Tue, 15 March 2011 15:05 Go to previous messageGo to next message
kaab  is currently offline kaab Friend
Messages: 43
Registered: July 2009
Member
This is still not fixed, and would cause problems to anyone trying to run this store on a linux system.

This should be exposed in a configuation file somewhere.

Should I fill a bug report ?

Thanks,
Re: [CDO] Can't get CDO Objectivity adapter running on Linux [message #659813 is a reply to message #659776] Tue, 15 March 2011 16:57 Go to previous messageGo to next message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6446
Registered: July 2009
Senior Member
Am 15.03.2011 16:05, schrieb kaab:
> This is still not fixed, and would cause problems to anyone trying to run this store on a linux system.
>
> This should be exposed in a configuation file somewhere.
>
> Should I fill a bug report ?
I can not reach Ibe at the moment. Maybe he's off for a while. A bugzilla sounds like a good idea to remind us...

Cheers
/Eike

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


Re: [CDO] Can't get CDO Objectivity adapter running on Linux [message #659845 is a reply to message #659813] Tue, 15 March 2011 18:50 Go to previous messageGo to next message
Ibrahim Sallam is currently offline Ibrahim SallamFriend
Messages: 2
Registered: July 2009
Junior Member
Sure, a bugzilla will do. I'll make sure that issue is addressed with my next code drop.
Re: [CDO] Can't get CDO Objectivity adapter running on Linux [message #660020 is a reply to message #659845] Wed, 16 March 2011 14:56 Go to previous message
kaab  is currently offline kaab Friend
Messages: 43
Registered: July 2009
Member
Entered in bugzilla :

https://bugs.eclipse.org/bugs/show_bug.cgi?id=340169

Cheers,
Previous Topic:Generate Ecore facade model from POJO API
Next Topic:EMF Support for xsd:override
Goto Forum:
  


Current Time: Fri Oct 18 01:11:12 GMT 2019

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

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

Back to the top