Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Problem when running a RCP product
icon8.gif  Problem when running a RCP product [message #878021] Mon, 28 May 2012 10:37 Go to next message
Brooks Tran is currently offline Brooks TranFriend
Messages: 2
Registered: May 2012
Junior Member
Hi, can anyone help me with this problem.

I have a RCP product, it works fine in the ide. But it can't work after I exported it as an Eclipse product. Here is the log :

!SESSION 2012-05-28 18:05:43.447 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.7.0_03
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=zh_CN
Command-line arguments:  -os win32 -ws win32 -arch x86 -consoleLog

!ENTRY org.eclipse.osgi 4 0 2012-05-28 18:05:44.101
!MESSAGE Startup error
!STACK 1
java.lang.IllegalArgumentException: The System Bundle's start level can not be modified.
	at org.eclipse.osgi.framework.internal.core.StartLevelManager.setBundleStartLevel(StartLevelManager.java:364)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.installBundles(EclipseStarter.java:1041)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.loadBasicBundles(EclipseStarter.java:613)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.startup(EclipseStarter.java:276)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:175)
	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:622)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1410)



and the config.ini file in ./configuration/config.ini

#Product Runtime Configuration File
eclipse.application=org.test.my.application
osgi.bundles.defaultStartLevel=4
eclipse.product=org.test.my.application.product
osgi.splashPath=platform:/base/plugins/org.test.my.application
osgi.bundles=org.eclipse.core.runtime@start,org.eclipse.osgi@start,org.eclipse.equinox.common@2:start,org.eclipse.update.configurator@3:start



thanks for any help.
Re: Problem when running a RCP product [message #878128 is a reply to message #878021] Mon, 28 May 2012 16:04 Go to previous messageGo to next message
Thorsten Schlathölter is currently offline Thorsten SchlathölterFriend
Messages: 312
Registered: February 2012
Location: Düsseldorf
Senior Member
I got exactly the same message a couple of days ago. Reason was that I had put the org.eclipse.osgi bundle into the startup configuration of my serverside osgi webapp. After removal of the specification of the respective bundle (within the configuration file) everything worked well.

Regards
Thorsten
Re: Problem when running a RCP product [message #878149 is a reply to message #878128] Mon, 28 May 2012 17:17 Go to previous message
Brooks Tran is currently offline Brooks TranFriend
Messages: 2
Registered: May 2012
Junior Member
Thanks Thorsten. I just remove the org.eclipse.osgi bundle in the configure file. Now it works well.

Thanks again.
Previous Topic:Bit9 Parity Agent and RCP apps
Next Topic:Adding accelerator keys (how?)
Goto Forum:
  


Current Time: Fri Apr 26 17:57:02 GMT 2024

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

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

Back to the top