Home » Archived » Buckminster » "Unable to acquire application service" on Mac OS X
|
Re: "Unable to acquire application service" on Mac OS X [message #517243 is a reply to message #517230] |
Fri, 26 February 2010 16:20 |
|
Hi Ralf,
Thanks for sharing this info. It should go into the "troubleshooting" section of our docs. I've seen other types of
strange guesses before (motif instead of swt typically).
- thomas
On 02/26/2010 05:10 PM, Ralf Ebert wrote:
> Hi,
>
> I just ran into a little problem when running Buckminster on Mac OS X,
> just thought I should post a note about it in case somebody else runs
> into this.
>
> When starting Buckminster it failed with this exception in the log:
>
> !SESSION 2010-02-26 16:59:50.552
> -----------------------------------------------
> eclipse.buildId=unknown
> java.version=1.6.0_15
> java.vendor=Apple Inc.
> BootLoader constants: OS=macosx, ARCH=x86_64, WS=carbon, NL=de_DE
> Framework arguments: help
> Command-line arguments: help
>
> !ENTRY org.eclipse.osgi 4 0 2010-02-26 16:59:52.200
> !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(NativeMethodAcce ssorImpl.java:39)
>
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
>
> at
> java.lang.reflect.Method.invoke(Method.java:597)
> 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)
> at org.eclipse.equinox.launcher.Main.main(Main.java:1287)
>
>
> I guess the problem is the combination ARCH=x86_64, WS=carbon which was
> guessed automatically, when I explicitly specified these when installing
> Buckminster this fixed the problem:
>
> ../director -r
> http://download.eclipse.org/tools/buckminster/headless-3.5/ -d
> /Users/ralf/jobs/re_builds/buckminster35/ -p Buckminster -i
> org.eclipse.buckminster.cmdline.product -p2.os macosx -p2.ws cocoa
> -p2.arch x86_64 -p2.nl en
>
> Greetings,
>
> Ralf
>
>
|
|
| |
Re: "Unable to acquire application service" on Mac OS X [message #538024 is a reply to message #535846] |
Fri, 04 June 2010 14:31 |
maarten meijer Messages: 146 Registered: July 2009 |
Senior Member |
|
|
QuadBox:director maarten$ ./director -r http://download.eclipse.org/tools/buckminster/headless-3.5/ -p Buckminster -i org.eclipse.buckminster.cmdline.product -d /Library/Java/Development/buckminster/ -p2.os macosx -p2.ws cocoa -p2.arch x86_64 -p2.nl en
Installing org.eclipse.buckminster.cmdline.product 1.1.350.r11146.
Operation completed in 3798 ms.
So far it works
QuadBox:buckminster maarten$ ./buckminster install http://download.eclipse.org/tools/buckminster/headless-3.5/ org.eclipse.buckminster.aggregator.engine.feature -consoleLog
!SESSION 2010-06-04 16:23:14.266 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.6.0_20
java.vendor=Apple Inc.
BootLoader constants: OS=macosx, ARCH=x86_64, WS=carbon, NL=nl_NL
Framework arguments: install http://download.eclipse.org/tools/buckminster/headless-3.5/ org.eclipse.buckminster.aggregator.engine.feature
Command-line arguments: install http://download.eclipse.org/tools/buckminster/headless-3.5/ org.eclipse.buckminster.aggregator.engine.feature -consoleLog
!ENTRY org.eclipse.osgi 4 0 2010-06-04 16:23:15.191
!MESSAGE Application error
!STACK 1
java.lang.RuntimeException: No application id has been found.
at org.eclipse.equinox.internal.app.EclipseAppContainer.startDe faultApp(EclipseAppContainer.java:236)
at org.eclipse.equinox.internal.app.MainApplicationLauncher.run (MainApplicationLauncher.java:29)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:79)
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(NativeMethodAcce ssorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
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)
at org.eclipse.equinox.launcher.Main.main(Main.java:1287)
QuadBox:buckminster maarten$ ./buckminster -application org.eclipse.buckminster.cmdline.product install http://download.eclipse.org/tools/buckminster/headless-3.5/ org.eclipse.buckminster.aggregator.engine.feature -consoleLog
!SESSION 2010-06-04 16:27:11.293 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.6.0_20
java.vendor=Apple Inc.
BootLoader constants: OS=macosx, ARCH=x86_64, WS=carbon, NL=nl_NL
Framework arguments: -application org.eclipse.buckminster.cmdline.product install http://download.eclipse.org/tools/buckminster/headless-3.5/ org.eclipse.buckminster.aggregator.engine.feature
Command-line arguments: -application org.eclipse.buckminster.cmdline.product install http://download.eclipse.org/tools/buckminster/headless-3.5/ org.eclipse.buckminster.aggregator.engine.feature -consoleLog
!ENTRY org.eclipse.osgi 4 0 2010-06-04 16:27:12.324
!MESSAGE Application error
!STACK 1
java.lang.RuntimeException: Application "org.eclipse.buckminster.cmdline.product" could not be found in the registry. The applications available are: org.eclipse.buckminster.cmdline.headless, org.eclipse.equinox.app.error, org.eclipse.equinox.p2.artifact.repository.mirrorApplication , org.eclipse.equinox.p2.director.app.application, org.eclipse.equinox.p2.director, org.eclipse.equinox.p2.garbagecollector.application, org.eclipse.equinox.p2.metadata.repository.mirrorApplication , org.eclipse.equinox.p2.publisher.InstallPublisher, org.eclipse.equinox.p2.publisher.ProductPublisher, org.eclipse.equinox.p2.publisher.FeaturesAndBundlesPublisher , org.eclipse.ant.core.antRunner, org.eclipse.update.core.standaloneUpdate, org.eclipse.update.core.siteOptimizer, org.eclipse.equinox.p2.updatesite.UpdateSitePublisher, org.eclipse.equinox.p2.publisher.UpdateSitePublisher, org.eclipse.equinox.p2.publisher.CategoryPublisher, org.eclipse.jdt.core.JavaCodeFormatter, org.eclipse.pde.build.Build, org.eclipse.buckminster.aggregator.
[...]
QuadBox:buckminster maarten$ ./buckminster -application org.eclipse.buckminster.cmdline.headless install http://download.eclipse.org/tools/buckminster/headless-3.5/ org.eclipse.buckminster.aggregator.engine.feature -consoleLog
!SESSION 2010-06-04 16:27:36.687 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.6.0_20
java.vendor=Apple Inc.
BootLoader constants: OS=macosx, ARCH=x86_64, WS=carbon, NL=nl_NL
Framework arguments: -application org.eclipse.buckminster.cmdline.headless install http://download.eclipse.org/tools/buckminster/headless-3.5/ org.eclipse.buckminster.aggregator.engine.feature
Command-line arguments: -application org.eclipse.buckminster.cmdline.headless install http://download.eclipse.org/tools/buckminster/headless-3.5/ org.eclipse.buckminster.aggregator.engine.feature -consoleLog
QuadBox:buckminster maarten$
Somehow the default application is not copied into the executable or some ini file, but I'm to much of a p2/osgi newbie to resolve this.
|
|
| | |
Goto Forum:
Current Time: Thu Sep 26 16:43:58 GMT 2024
Powered by FUDForum. Page generated in 0.04104 seconds
|