Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » [CDO] Headless Server & Equinox
[CDO] Headless Server & Equinox [message #429281] Thu, 16 April 2009 17:44 Go to next message
Maurice O'Connor is currently offline Maurice O'ConnorFriend
Messages: 86
Registered: July 2009
Member
Hi

I'm looking to create a "headless", lightweight CDO server using Equinox
and I have a few newbie questions about this:

1) Is there a way of exporting the bundles from my Eclipse dev instance,
with their dependencies, automatically into Equinox? (I can export them
without the dependencies easily - it's all the copying of dependencies
that gets to me ;)

2) So I have my CDO server stuff exported from my Eclipse instance into
Equinox:

org.eclipse.net4j.jdbc
org.eclipse.net4j.jdbc.mysql
org.eclipse.net4j.util
(also SpringSource MySQL JDBC jar)

What further core CDO stuff will the server need to run and how can I get
it to read the configuration file? (cdo-server.xml)

Any vague tips about this would be much appreciated!

Thanks,

Maurice
Re: [CDO] Headless Server & Equinox [message #429282 is a reply to message #429281] Thu, 16 April 2009 17:49 Go to previous messageGo to next message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6682
Registered: July 2009
Senior Member
Maurice,

I believe a Product Definition could help you. Andre wrote a wiki page:
http://wiki.eclipse.org/Setting_up_a_CDO_Server

Cheers
/Eike

----
http://thegordian.blogspot.com



Maurice O'Connor schrieb:
> Hi
>
> I'm looking to create a "headless", lightweight CDO server using
> Equinox and I have a few newbie questions about this:
>
> 1) Is there a way of exporting the bundles from my Eclipse dev
> instance, with their dependencies, automatically into Equinox? (I can
> export them without the dependencies easily - it's all the copying of
> dependencies that gets to me ;)
>
> 2) So I have my CDO server stuff exported from my Eclipse instance
> into Equinox:
>
> org.eclipse.net4j.jdbc
> org.eclipse.net4j.jdbc.mysql
> org.eclipse.net4j.util
> (also SpringSource MySQL JDBC jar)
>
> What further core CDO stuff will the server need to run and how can I
> get it to read the configuration file? (cdo-server.xml)
>
> Any vague tips about this would be much appreciated!
>
> Thanks,
>
> Maurice
>
>
>
>
>


Re: [CDO] Headless Server & Equinox [message #429283 is a reply to message #429282] Thu, 16 April 2009 17:50 Go to previous messageGo to next message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6682
Registered: July 2009
Senior Member
.... And I think the trick is to use the "Add Required Plugins" button in
a launch config and then use this launch config in the product definition.

Cheers
/Eike

----
http://thegordian.blogspot.com



Eike Stepper schrieb:
> Maurice,
>
> I believe a Product Definition could help you. Andre wrote a wiki page:
> http://wiki.eclipse.org/Setting_up_a_CDO_Server
>
> Cheers
> /Eike
>
> ----
> http://thegordian.blogspot.com
>
>
>
> Maurice O'Connor schrieb:
>
>> Hi
>>
>> I'm looking to create a "headless", lightweight CDO server using
>> Equinox and I have a few newbie questions about this:
>>
>> 1) Is there a way of exporting the bundles from my Eclipse dev
>> instance, with their dependencies, automatically into Equinox? (I can
>> export them without the dependencies easily - it's all the copying of
>> dependencies that gets to me ;)
>>
>> 2) So I have my CDO server stuff exported from my Eclipse instance
>> into Equinox:
>>
>> org.eclipse.net4j.jdbc
>> org.eclipse.net4j.jdbc.mysql
>> org.eclipse.net4j.util
>> (also SpringSource MySQL JDBC jar)
>>
>> What further core CDO stuff will the server need to run and how can I
>> get it to read the configuration file? (cdo-server.xml)
>>
>> Any vague tips about this would be much appreciated!
>>
>> Thanks,
>>
>> Maurice
>>
>>
>>
>>
>>
>>


Re: [CDO] Headless Server & Equinox [message #429301 is a reply to message #429283] Fri, 17 April 2009 14:22 Go to previous messageGo to next message
Maurice O'Connor is currently offline Maurice O'ConnorFriend
Messages: 86
Registered: July 2009
Member
Hi,

This stuff is working as expected, or at least some of it is!

After importing my required plugins w/ dependencies into the workspace, I
run the product export. This creates a product folder with my plugins etc.

However, when I run the generated cdo-server.exe file, I get a message-box
saying 'No Exit Data available' and this message in the log:

java.io.IOException: Unable to initialize osgi.frameworkClassPath
at org.eclipse.equinox.launcher.Main.addBaseJars(Main.java:804)
at org.eclipse.equinox.launcher.Main.getDevPath(Main.java:690)

Do you happen to know what I need to look at from the workbench side to
sort this out?

Thanks!

Maurice


Eike Stepper wrote:

> .... And I think the trick is to use the "Add Required Plugins" button in
> a launch config and then use this launch config in the product definition.

> Cheers
> /Eike

> ----
> http://thegordian.blogspot.com



> Eike Stepper schrieb:
>> Maurice,
>>
>> I believe a Product Definition could help you. Andre wrote a wiki page:
>> http://wiki.eclipse.org/Setting_up_a_CDO_Server
>>
>> Cheers
>> /Eike
>>
>> ----
>> http://thegordian.blogspot.com
>>
>>
>>
>> Maurice O'Connor schrieb:
>>
>>> Hi
>>>
>>> I'm looking to create a "headless", lightweight CDO server using
>>> Equinox and I have a few newbie questions about this:
>>>
>>> 1) Is there a way of exporting the bundles from my Eclipse dev
>>> instance, with their dependencies, automatically into Equinox? (I can
>>> export them without the dependencies easily - it's all the copying of
>>> dependencies that gets to me ;)
>>>
>>> 2) So I have my CDO server stuff exported from my Eclipse instance
>>> into Equinox:
>>>
>>> org.eclipse.net4j.jdbc
>>> org.eclipse.net4j.jdbc.mysql
>>> org.eclipse.net4j.util
>>> (also SpringSource MySQL JDBC jar)
>>>
>>> What further core CDO stuff will the server need to run and how can I
>>> get it to read the configuration file? (cdo-server.xml)
>>>
>>> Any vague tips about this would be much appreciated!
>>>
>>> Thanks,
>>>
>>> Maurice
>>>
>>>
>>>
>>>
>>>
>>>
Re: [CDO] Headless Server & Equinox [message #429328 is a reply to message #429301] Mon, 20 April 2009 05:46 Go to previous messageGo to next message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6682
Registered: July 2009
Senior Member
Maurice,

I'm afraid I never saw this kind of message. Have you asked on the
Equinox newsgroup already?

Cheers
/Eike

----
http://thegordian.blogspot.com



Maurice O'Connor schrieb:
> Hi,
>
> This stuff is working as expected, or at least some of it is!
>
> After importing my required plugins w/ dependencies into the
> workspace, I run the product export. This creates a product folder
> with my plugins etc.
> However, when I run the generated cdo-server.exe file, I get a
> message-box saying 'No Exit Data available' and this message in the log:
>
> java.io.IOException: Unable to initialize osgi.frameworkClassPath
> at org.eclipse.equinox.launcher.Main.addBaseJars(Main.java:804)
> at org.eclipse.equinox.launcher.Main.getDevPath(Main.java:690)
>
> Do you happen to know what I need to look at from the workbench side
> to sort this out?
>
> Thanks!
>
> Maurice
>
>
> Eike Stepper wrote:
>
>> .... And I think the trick is to use the "Add Required Plugins"
>> button in
>> a launch config and then use this launch config in the product
>> definition.
>
>> Cheers
>> /Eike
>
>> ----
>> http://thegordian.blogspot.com
>
>
>
>> Eike Stepper schrieb:
>>> Maurice,
>>>
>>> I believe a Product Definition could help you. Andre wrote a wiki page:
>>> http://wiki.eclipse.org/Setting_up_a_CDO_Server
>>>
>>> Cheers
>>> /Eike
>>>
>>> ----
>>> http://thegordian.blogspot.com
>>>
>>>
>>>
>>> Maurice O'Connor schrieb:
>>>
>>>> Hi
>>>>
>>>> I'm looking to create a "headless", lightweight CDO server using
>>>> Equinox and I have a few newbie questions about this:
>>>>
>>>> 1) Is there a way of exporting the bundles from my Eclipse dev
>>>> instance, with their dependencies, automatically into Equinox? (I can
>>>> export them without the dependencies easily - it's all the copying of
>>>> dependencies that gets to me ;)
>>>>
>>>> 2) So I have my CDO server stuff exported from my Eclipse instance
>>>> into Equinox:
>>>>
>>>> org.eclipse.net4j.jdbc
>>>> org.eclipse.net4j.jdbc.mysql
>>>> org.eclipse.net4j.util
>>>> (also SpringSource MySQL JDBC jar)
>>>>
>>>> What further core CDO stuff will the server need to run and how can I
>>>> get it to read the configuration file? (cdo-server.xml)
>>>>
>>>> Any vague tips about this would be much appreciated!
>>>>
>>>> Thanks,
>>>>
>>>> Maurice
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>
>


Re: [CDO] Headless Server & Equinox [message #429354 is a reply to message #429328] Tue, 21 April 2009 10:09 Go to previous messageGo to next message
Maurice O'Connor is currently offline Maurice O'ConnorFriend
Messages: 86
Registered: July 2009
Member
My error disappeared after I followed this:

http://dev.eclipse.org/newslists/news.eclipse.platform.rcp/m sg12468.html

(Note the step about deleting the jar's dir after moving the jar - that's
vital)

Why I should need to do it, I haven't figured out.

Maurice

Eike Stepper wrote:

> Maurice,

> I'm afraid I never saw this kind of message. Have you asked on the
> Equinox newsgroup already?

> Cheers
> /Eike

> ----
> http://thegordian.blogspot.com



> Maurice O'Connor schrieb:
>> Hi,
>>
>> This stuff is working as expected, or at least some of it is!
>>
>> After importing my required plugins w/ dependencies into the
>> workspace, I run the product export. This creates a product folder
>> with my plugins etc.
>> However, when I run the generated cdo-server.exe file, I get a
>> message-box saying 'No Exit Data available' and this message in the log:
>>
>> java.io.IOException: Unable to initialize osgi.frameworkClassPath
>> at org.eclipse.equinox.launcher.Main.addBaseJars(Main.java:804)
>> at org.eclipse.equinox.launcher.Main.getDevPath(Main.java:690)
>>
>> Do you happen to know what I need to look at from the workbench side
>> to sort this out?
>>
>> Thanks!
>>
>> Maurice
>>
>>
>> Eike Stepper wrote:
>>
>>> .... And I think the trick is to use the "Add Required Plugins"
>>> button in
>>> a launch config and then use this launch config in the product
>>> definition.
>>
>>> Cheers
>>> /Eike
>>
>>> ----
>>> http://thegordian.blogspot.com
>>
>>
>>
>>> Eike Stepper schrieb:
>>>> Maurice,
>>>>
>>>> I believe a Product Definition could help you. Andre wrote a wiki page:
>>>> http://wiki.eclipse.org/Setting_up_a_CDO_Server
>>>>
>>>> Cheers
>>>> /Eike
>>>>
>>>> ----
>>>> http://thegordian.blogspot.com
>>>>
>>>>
>>>>
>>>> Maurice O'Connor schrieb:
>>>>
>>>>> Hi
>>>>>
>>>>> I'm looking to create a "headless", lightweight CDO server using
>>>>> Equinox and I have a few newbie questions about this:
>>>>>
>>>>> 1) Is there a way of exporting the bundles from my Eclipse dev
>>>>> instance, with their dependencies, automatically into Equinox? (I can
>>>>> export them without the dependencies easily - it's all the copying of
>>>>> dependencies that gets to me ;)
>>>>>
>>>>> 2) So I have my CDO server stuff exported from my Eclipse instance
>>>>> into Equinox:
>>>>>
>>>>> org.eclipse.net4j.jdbc
>>>>> org.eclipse.net4j.jdbc.mysql
>>>>> org.eclipse.net4j.util
>>>>> (also SpringSource MySQL JDBC jar)
>>>>>
>>>>> What further core CDO stuff will the server need to run and how can I
>>>>> get it to read the configuration file? (cdo-server.xml)
>>>>>
>>>>> Any vague tips about this would be much appreciated!
>>>>>
>>>>> Thanks,
>>>>>
>>>>> Maurice
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>
>>
Re: [CDO] Headless Server & Equinox [message #429500 is a reply to message #429354] Fri, 24 April 2009 09:00 Go to previous messageGo to next message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6682
Registered: July 2009
Senior Member
Maurice,

Thanks for the update!
Stuff like this makes our life interesting :P

Cheers
/Eike

----
http://thegordian.blogspot.com



Maurice O'Connor schrieb:
> My error disappeared after I followed this:
>
> http://dev.eclipse.org/newslists/news.eclipse.platform.rcp/m sg12468.html
>
> (Note the step about deleting the jar's dir after moving the jar -
> that's vital)
>
> Why I should need to do it, I haven't figured out.
>
> Maurice
>
> Eike Stepper wrote:
>
>> Maurice,
>
>> I'm afraid I never saw this kind of message. Have you asked on the
>> Equinox newsgroup already?
>
>> Cheers
>> /Eike
>
>> ----
>> http://thegordian.blogspot.com
>
>
>
>> Maurice O'Connor schrieb:
>>> Hi,
>>>
>>> This stuff is working as expected, or at least some of it is!
>>>
>>> After importing my required plugins w/ dependencies into the
>>> workspace, I run the product export. This creates a product folder
>>> with my plugins etc.
>>> However, when I run the generated cdo-server.exe file, I get a
>>> message-box saying 'No Exit Data available' and this message in the
>>> log:
>>>
>>> java.io.IOException: Unable to initialize osgi.frameworkClassPath
>>> at org.eclipse.equinox.launcher.Main.addBaseJars(Main.java:804)
>>> at org.eclipse.equinox.launcher.Main.getDevPath(Main.java:690)
>>>
>>> Do you happen to know what I need to look at from the workbench side
>>> to sort this out?
>>>
>>> Thanks!
>>>
>>> Maurice
>>>
>>>
>>> Eike Stepper wrote:
>>>
>>>> .... And I think the trick is to use the "Add Required Plugins"
>>>> button in
>>>> a launch config and then use this launch config in the product
>>>> definition.
>>>
>>>> Cheers
>>>> /Eike
>>>
>>>> ----
>>>> http://thegordian.blogspot.com
>>>
>>>
>>>
>>>> Eike Stepper schrieb:
>>>>> Maurice,
>>>>>
>>>>> I believe a Product Definition could help you. Andre wrote a wiki
>>>>> page:
>>>>> http://wiki.eclipse.org/Setting_up_a_CDO_Server
>>>>>
>>>>> Cheers
>>>>> /Eike
>>>>>
>>>>> ----
>>>>> http://thegordian.blogspot.com
>>>>>
>>>>>
>>>>>
>>>>> Maurice O'Connor schrieb:
>>>>>
>>>>>> Hi
>>>>>>
>>>>>> I'm looking to create a "headless", lightweight CDO server using
>>>>>> Equinox and I have a few newbie questions about this:
>>>>>>
>>>>>> 1) Is there a way of exporting the bundles from my Eclipse dev
>>>>>> instance, with their dependencies, automatically into Equinox? (I
>>>>>> can
>>>>>> export them without the dependencies easily - it's all the
>>>>>> copying of
>>>>>> dependencies that gets to me ;)
>>>>>>
>>>>>> 2) So I have my CDO server stuff exported from my Eclipse instance
>>>>>> into Equinox:
>>>>>>
>>>>>> org.eclipse.net4j.jdbc
>>>>>> org.eclipse.net4j.jdbc.mysql
>>>>>> org.eclipse.net4j.util
>>>>>> (also SpringSource MySQL JDBC jar)
>>>>>>
>>>>>> What further core CDO stuff will the server need to run and how
>>>>>> can I
>>>>>> get it to read the configuration file? (cdo-server.xml)
>>>>>>
>>>>>> Any vague tips about this would be much appreciated!
>>>>>>
>>>>>> Thanks,
>>>>>>
>>>>>> Maurice
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>
>>>
>
>


Re: [CDO] Headless Server & Equinox [message #429690 is a reply to message #429328] Wed, 29 April 2009 16:52 Go to previous messageGo to next message
Maurice O'Connor is currently offline Maurice O'ConnorFriend
Messages: 86
Registered: July 2009
Member
The solution to this is here:

http://www.eclipse.org/newsportal/article.php?id=1519&gr oup=eclipse.platform.pde#1519

Maurice

Eike Stepper wrote:

> Maurice,

> I'm afraid I never saw this kind of message. Have you asked on the
> Equinox newsgroup already?

> Cheers
> /Eike

> ----
> http://thegordian.blogspot.com



> Maurice O'Connor schrieb:
>> Hi,
>>
>> This stuff is working as expected, or at least some of it is!
>>
>> After importing my required plugins w/ dependencies into the
>> workspace, I run the product export. This creates a product folder
>> with my plugins etc.
>> However, when I run the generated cdo-server.exe file, I get a
>> message-box saying 'No Exit Data available' and this message in the log:
>>
>> java.io.IOException: Unable to initialize osgi.frameworkClassPath
>> at org.eclipse.equinox.launcher.Main.addBaseJars(Main.java:804)
>> at org.eclipse.equinox.launcher.Main.getDevPath(Main.java:690)
>>
>> Do you happen to know what I need to look at from the workbench side
>> to sort this out?
>>
>> Thanks!
>>
>> Maurice
>>
>>
>> Eike Stepper wrote:
>>
>>> .... And I think the trick is to use the "Add Required Plugins"
>>> button in
>>> a launch config and then use this launch config in the product
>>> definition.
>>
>>> Cheers
>>> /Eike
>>
>>> ----
>>> http://thegordian.blogspot.com
>>
>>
>>
>>> Eike Stepper schrieb:
>>>> Maurice,
>>>>
>>>> I believe a Product Definition could help you. Andre wrote a wiki page:
>>>> http://wiki.eclipse.org/Setting_up_a_CDO_Server
>>>>
>>>> Cheers
>>>> /Eike
>>>>
>>>> ----
>>>> http://thegordian.blogspot.com
>>>>
>>>>
>>>>
>>>> Maurice O'Connor schrieb:
>>>>
>>>>> Hi
>>>>>
>>>>> I'm looking to create a "headless", lightweight CDO server using
>>>>> Equinox and I have a few newbie questions about this:
>>>>>
>>>>> 1) Is there a way of exporting the bundles from my Eclipse dev
>>>>> instance, with their dependencies, automatically into Equinox? (I can
>>>>> export them without the dependencies easily - it's all the copying of
>>>>> dependencies that gets to me ;)
>>>>>
>>>>> 2) So I have my CDO server stuff exported from my Eclipse instance
>>>>> into Equinox:
>>>>>
>>>>> org.eclipse.net4j.jdbc
>>>>> org.eclipse.net4j.jdbc.mysql
>>>>> org.eclipse.net4j.util
>>>>> (also SpringSource MySQL JDBC jar)
>>>>>
>>>>> What further core CDO stuff will the server need to run and how can I
>>>>> get it to read the configuration file? (cdo-server.xml)
>>>>>
>>>>> Any vague tips about this would be much appreciated!
>>>>>
>>>>> Thanks,
>>>>>
>>>>> Maurice
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>
>>
Re: [CDO] Headless Server & Equinox [message #429699 is a reply to message #429690] Wed, 29 April 2009 19:17 Go to previous message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6682
Registered: July 2009
Senior Member
Maurice O'Connor schrieb:
> The solution to this is here:
>
> http://www.eclipse.org/newsportal/article.php?id=1519&gr oup=eclipse.platform.pde#1519
>
Darn it :P

>
> Maurice
>
> Eike Stepper wrote:
>
>> Maurice,
>
>> I'm afraid I never saw this kind of message. Have you asked on the
>> Equinox newsgroup already?
>
>> Cheers
>> /Eike
>
>> ----
>> http://thegordian.blogspot.com
>
>
>
>> Maurice O'Connor schrieb:
>>> Hi,
>>>
>>> This stuff is working as expected, or at least some of it is!
>>>
>>> After importing my required plugins w/ dependencies into the
>>> workspace, I run the product export. This creates a product folder
>>> with my plugins etc.
>>> However, when I run the generated cdo-server.exe file, I get a
>>> message-box saying 'No Exit Data available' and this message in the
>>> log:
>>>
>>> java.io.IOException: Unable to initialize osgi.frameworkClassPath
>>> at org.eclipse.equinox.launcher.Main.addBaseJars(Main.java:804)
>>> at org.eclipse.equinox.launcher.Main.getDevPath(Main.java:690)
>>>
>>> Do you happen to know what I need to look at from the workbench side
>>> to sort this out?
>>>
>>> Thanks!
>>>
>>> Maurice
>>>
>>>
>>> Eike Stepper wrote:
>>>
>>>> .... And I think the trick is to use the "Add Required Plugins"
>>>> button in
>>>> a launch config and then use this launch config in the product
>>>> definition.
>>>
>>>> Cheers
>>>> /Eike
>>>
>>>> ----
>>>> http://thegordian.blogspot.com
>>>
>>>
>>>
>>>> Eike Stepper schrieb:
>>>>> Maurice,
>>>>>
>>>>> I believe a Product Definition could help you. Andre wrote a wiki
>>>>> page:
>>>>> http://wiki.eclipse.org/Setting_up_a_CDO_Server
>>>>>
>>>>> Cheers
>>>>> /Eike
>>>>>
>>>>> ----
>>>>> http://thegordian.blogspot.com
>>>>>
>>>>>
>>>>>
>>>>> Maurice O'Connor schrieb:
>>>>>
>>>>>> Hi
>>>>>>
>>>>>> I'm looking to create a "headless", lightweight CDO server using
>>>>>> Equinox and I have a few newbie questions about this:
>>>>>>
>>>>>> 1) Is there a way of exporting the bundles from my Eclipse dev
>>>>>> instance, with their dependencies, automatically into Equinox? (I
>>>>>> can
>>>>>> export them without the dependencies easily - it's all the
>>>>>> copying of
>>>>>> dependencies that gets to me ;)
>>>>>>
>>>>>> 2) So I have my CDO server stuff exported from my Eclipse instance
>>>>>> into Equinox:
>>>>>>
>>>>>> org.eclipse.net4j.jdbc
>>>>>> org.eclipse.net4j.jdbc.mysql
>>>>>> org.eclipse.net4j.util
>>>>>> (also SpringSource MySQL JDBC jar)
>>>>>>
>>>>>> What further core CDO stuff will the server need to run and how
>>>>>> can I
>>>>>> get it to read the configuration file? (cdo-server.xml)
>>>>>>
>>>>>> Any vague tips about this would be much appreciated!
>>>>>>
>>>>>> Thanks,
>>>>>>
>>>>>> Maurice
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>
>>>
>
>


Previous Topic:is it possible to get xsd for a modeled class
Next Topic:Get a list of all subclasses of a given class
Goto Forum:
  


Current Time: Wed Apr 24 14:39:37 GMT 2024

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

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

Back to the top