Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » 3.5 Stand Alone RCP Missing Bundles
3.5 Stand Alone RCP Missing Bundles [message #483536] Tue, 01 September 2009 22:44 Go to next message
Geoffry Roberts is currently offline Geoffry RobertsFriend
Messages: 71
Registered: July 2009
Member
All,

eclipse 3.5

I am attempting to build a stand alone RCP app from a working plug in. I
go through the export using the wizard steps, as prescribed, and the
export succeeds with out incident.

When I run the app I get and error dialog referring me to the log file.
(See below)

It seems that org.eclipse.core.runtime bundle is not starting. The bundle
is being deployed but there is no entry for it following
"osgi.bundles=..." in the generated config.ini file. I have tried adding
it in as follows;

osgi.bundles=reference\:file\:org.eclipse.core.runtime_3.5.0.v20090525.jar@start,
... more bundles ...

But I get the same error.

What's going on?

Log file:

!SESSION 2009-09-01 14:27:52.917
-----------------------------------------------
eclipse.buildId=unknown
java.version=1.6.0_15
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Command-line arguments: -os win32 -ws win32 -arch x86

!ENTRY org.eclipse.osgi 4 0 2009-09-01 14:27:54.073
!MESSAGE Application error
!STACK 1
java.lang.IllegalStateException: Unable to acquire application service.
Ensure that the org.eclipse.core.runtime bundle is resolved and started
(see config.ini).
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:74)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:368)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
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: 559)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
Re: 3.5 Stand Alone RCP Missing Bundles [message #483540 is a reply to message #483536] Wed, 02 September 2009 00:36 Go to previous messageGo to next message
Aashish Patil is currently offline Aashish PatilFriend
Messages: 39
Registered: July 2009
Member
Hi Geoff,

I was running into a similar issue.

It turned out that the .ini file that is generated by the RCP product export
wizard was inserting the variables instead of the actual values. After
deleting this file, my RCP app launched correctly. This file is in the same
folder as the executable.


These were the values in the log file,

BootLoader constants: OS=${target.os}, ARCH=${target.arch}, WS=${target.ws},
NL=${target.nl}
Command-line arguments: -os ${target.os} -ws ${target.ws} -arch
${target.arch}


While the following were the values used when launching the app from within
Eclipse using the 'Run ..' command -

-os

win32

-ws

win32

-arch

x86

-nl

en_US


Thanks,
Aashish

"Geoffry Roberts" <geoff.roberts@qinetiq-na.com> wrote in message
news:eac176f2c1ff3fd3cdf30263a4167630$1@www.eclipse.org...
> All,
>
> eclipse 3.5
>
> I am attempting to build a stand alone RCP app from a working plug in. I
> go through the export using the wizard steps, as prescribed, and the
> export succeeds with out incident.
>
> When I run the app I get and error dialog referring me to the log file.
> (See below)
>
> It seems that org.eclipse.core.runtime bundle is not starting. The bundle
> is being deployed but there is no entry for it following
> "osgi.bundles=..." in the generated config.ini file. I have tried adding
> it in as follows;
>
> osgi.bundles=reference\:file\:org.eclipse.core.runtime_3.5.0.v20090525.jar@start,
> .. more bundles ...
>
> But I get the same error.
>
> What's going on?
>
> Log file:
>
> !SESSION 2009-09-01
> 14:27:52.917 -----------------------------------------------
> eclipse.buildId=unknown
> java.version=1.6.0_15
> java.vendor=Sun Microsystems Inc.
> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
> Command-line arguments: -os win32 -ws win32 -arch x86
>
> !ENTRY org.eclipse.osgi 4 0 2009-09-01 14:27:54.073
> !MESSAGE Application error
> !STACK 1
> java.lang.IllegalStateException: Unable to acquire application service.
> Ensure that the org.eclipse.core.runtime bundle is resolved and started
> (see config.ini).
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:74)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:368)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
> 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: 559)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
>
Re: 3.5 Stand Alone RCP Missing Bundles [message #483708 is a reply to message #483540] Wed, 02 September 2009 16:11 Go to previous message
Geoffry Roberts is currently offline Geoffry RobertsFriend
Messages: 71
Registered: July 2009
Member
Thanks to Aashish for his response.

I tried your suggestion but to no avail. Does 3.5 have a bug?

Aashish Patil wrote:

> Hi Geoff,

> I was running into a similar issue.

> It turned out that the .ini file that is generated by the RCP product export
> wizard was inserting the variables instead of the actual values. After
> deleting this file, my RCP app launched correctly. This file is in the same
> folder as the executable.


> These were the values in the log file,

> BootLoader constants: OS=${target.os}, ARCH=${target.arch}, WS=${target.ws},
> NL=${target.nl}
> Command-line arguments: -os ${target.os} -ws ${target.ws} -arch
> ${target.arch}


> While the following were the values used when launching the app from within
> Eclipse using the 'Run ..' command -

> -os

> win32

> -ws

> win32

> -arch

> x86

> -nl

> en_US


> Thanks,
> Aashish

> "Geoffry Roberts" <geoff.roberts@qinetiq-na.com> wrote in message
> news:eac176f2c1ff3fd3cdf30263a4167630$1@www.eclipse.org...
>> All,
>>
>> eclipse 3.5
>>
>> I am attempting to build a stand alone RCP app from a working plug in. I
>> go through the export using the wizard steps, as prescribed, and the
>> export succeeds with out incident.
>>
>> When I run the app I get and error dialog referring me to the log file.
>> (See below)
>>
>> It seems that org.eclipse.core.runtime bundle is not starting. The bundle
>> is being deployed but there is no entry for it following
>> "osgi.bundles=..." in the generated config.ini file. I have tried adding
>> it in as follows;
>>
>>
osgi.bundles=reference:file:org.eclipse.core.runtime_3.5.0.v20090525.jar@start,
>> .. more bundles ...
>>
>> But I get the same error.
>>
>> What's going on?
>>
>> Log file:
>>
>> !SESSION 2009-09-01
>> 14:27:52.917 -----------------------------------------------
>> eclipse.buildId=unknown
>> java.version=1.6.0_15
>> java.vendor=Sun Microsystems Inc.
>> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
>> Command-line arguments: -os win32 -ws win32 -arch x86
>>
>> !ENTRY org.eclipse.osgi 4 0 2009-09-01 14:27:54.073
>> !MESSAGE Application error
>> !STACK 1
>> java.lang.IllegalStateException: Unable to acquire application service.
>> Ensure that the org.eclipse.core.runtime bundle is resolved and started
>> (see config.ini).
>> at
>>
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:74)
>> at
>> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:368)
>> at
>> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
>> 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: 559)
>> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
>> at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
>>
Previous Topic:Eclipse 3.5 property databinding with nested property names
Next Topic:Get the product version in customBuildCallbacks.xml
Goto Forum:
  


Current Time: Sat Apr 27 03:06:28 GMT 2024

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

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

Back to the top