Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » exporting cdo server feature product
exporting cdo server feature product [message #1047640] Tue, 23 April 2013 13:18 Go to next message
Lakhveer Singh is currently offline Lakhveer Singh
Messages: 26
Registered: March 2013
Junior Member
hello friends,

i m working for an organization and designing a cdo server plugin.
i have created a feature cdo-server product and it is running successfully inside of eclipse. but when i tries it to export it as a eclipse product it gives and error that
<b>org.eclipse.emf.cdo.server.product is not present in your workspace</b>. then i imported the the plugin org.eclispe.emf.cdo.server in my working workspace then i was succeeded in exporting the plugin but after exporting it the product is not running i have also included the cdo-server.xml file in build configuration file. instead of that i m getting an error message in log file.
here is it.

!SESSION 2013-04-23 12:01:51.748 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.7.0_17
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Command-line arguments: -os win32 -ws win32 -arch x86

!ENTRY org.eclipse.emf.cdo.server 1 0 2013-04-23 12:01:53.358
!MESSAGE CDO server starting

!ENTRY org.eclipse.net4j.util 4 0 2013-04-23 12:01:53.361
!MESSAGE Config folder C:\Users\9\Desktop\products\server\server\${resource_loc:\com.wicked.demo.server\rootfiles\configuration} could not be created

!ENTRY org.eclipse.net4j.util 4 0 2013-04-23 12:01:53.383
!MESSAGE NullPointerException
!STACK 0
java.lang.NullPointerException
at org.eclipse.emf.cdo.internal.server.bundle.CDOServerApplication.doStart(CDOServerApplication.java:77)
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)


please help me out.

thanks in advance.

[Updated on: Wed, 24 April 2013 07:04]

Report message to a moderator

Re: exporting cdo server feature product [message #1050593 is a reply to message #1047640] Sat, 27 April 2013 12:24 Go to previous messageGo to next message
Lakhveer Singh is currently offline Lakhveer Singh
Messages: 26
Registered: March 2013
Junior Member
hey guys i got the solution for problem

there is no issue with the project,
after exporting the project we will get a configuration file named eclipse.ini
the file will contian stuff like>>
-startup
plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.200.v20120913-144807
-vmargs
-Dnet4j.config=${resource_loc:/com.wicked.demo.server/rootfiles/configuration}


com.wicked.demo.server_1.0.0.201304261605 is my feature project name with version no. and /rootfiles/configuration is path for directory containing cdo-server.xml inside of project

what u have to do is change the parameter value of -Dnet4j.config to -Dnet4j.config=./features/com.wicked.demo.server_1.0.0.201304261605/rootfiles/configuration

so that your eclipse.ini will look like

-startup
plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.200.v20120913-144807
-vmargs
-Dnet4j.config=./features/com.wicked.demo.server_1.0.0.201304261605/rootfiles/configuration

[Updated on: Sat, 27 April 2013 12:25]

Report message to a moderator

Re: exporting cdo server feature product [message #1051712 is a reply to message #1050593] Mon, 29 April 2013 06:23 Go to previous message
Eike Stepper is currently offline Eike Stepper
Messages: 5524
Registered: July 2009
Senior Member
Am 27.04.2013 14:24, schrieb Lakhveer Singh:
> hey guys i got the solution for problem
Good that you solved it and sorry for my late reply (have been on a conference last week).

Cheers
/Eike

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


>
> there is no issue with the project,
> after exporting the project we will get a configuration file named eclipse.ini
> the file will contian stuff like>> -startup
> plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
> --launcher.library
> plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.200.v20120913-144807
> -vmargs
> -Dnet4j.config=${resource_loc:/com.wicked.demo.server/rootfiles/configuration}
>
> com.wicked.demo.server_1.0.0.201304261605 is my feature project name and /rootfiles/configuration is path for
> directory containing cdo-server.xml inside of project
>
> what u have to do is change the parameter value of -Dnet4j.config to
> -Dnet4j.config=./features/com.wicked.demo.server_1.0.0.201304261605/rootfiles/configuration
>
> so that your eclipse.ini will look like
>
> -startup
> plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
> --launcher.library
> plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.200.v20120913-144807
> -vmargs
> -Dnet4j.config=./features/com.wicked.demo.server_1.0.0.201304261605/rootfiles/configuration
Previous Topic:Is this a bug? Databindings don't seem to check isSet
Next Topic:[Databinding] EMF and JFace Master/Detail Databinding going in the wrong direction
Goto Forum:
  


Current Time: Sat Sep 20 10:00:57 GMT 2014

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

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