Hi,

Due to the recent slave additions on Hudson, I modified my build so that it
starts by installing Buckminster using the p2 director (from the
Buckminster 
project<http://www.eclipse.org/downloads/download.php?file=/tools/buckminster/products/director_latest.zip>),
in order to obtain a Buckminster install that can run on each slave's
architecture.

On slave5, the installation succeeds but Buckminster fails when I try to
run it, with:
java.lang.IllegalStateException: Unable to acquire application service.
Ensure that the org.eclipse.core.runtime bundle is resolved and started
(see config.ini).

I have investigated the problem, and I noticed that on slave6,
the buckminster/configuration/config.ini was not the same as on slave5 (I
have attached the two files).
On slave6, it lists all the bundles, and there is no
"org.eclipse.equinox.simpleconfigurator" directory.
I found this message that details this situation :
http://dev.eclipse.org/mhonarc/lists/p2-dev/msg04346.html
But I am not sure about what is causing this.

It may be because "org.eclipse.equinox.launcher" is missing its fragment :
On slave6, where it runs, I see the p2 director installed a fragment named
"org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.100.v20110505"
On slave5, I would expect to
see "org.eclipse.equinox.launcher.gtk.linux.ia64_*", but there is no such
fragment.

I looked in the Eclipse update site :
  find ~/downloads/eclipse/updates/3.7 -name
'org.eclipse.equinox.launcher.*'
And it lists all kinds of fragments, but the only one for ia64 is for hpux,
not linux :
  org.eclipse.equinox.launcher.gtk.hpux.ia64_32_1.0.0.v20110502.jar

Is the fragment needed? I would think not, since the director is an Eclipse
product too, and it ran successfully.
But then what else could be missing?

I wish equinox would be a little more explanatory in its error message. I
tried to run with "-debug" and "-consolelog", and I enabled tracing:
org.eclipse.equinox.p2.core/debug=true
org.eclipse.equinox.p2.core/reconciler=true
But it still doesn't give any clue (see attached log).

-- 
Nicolas Bros
R&D
tel: 06 75 09 19 88
[email protected]
[email protected]
Mia-Software, 410 clos de la Courtine
93160 Noisy-le-Grand
http://www.mia-software.com
.: model driven agility :.
!SESSION 2012-02-03 06:21:02.938 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.6.0_29
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=ia64, WS=gtk, NL=en_US
Framework arguments:  --loglevel DEBUG setpref 
targetPlatformPath=/opt/users/hudsonbuild/workspace/emffacet-nightly-3.8/buildroot/target.platform
Command-line arguments:  --loglevel DEBUG -data 
/opt/users/hudsonbuild/workspace/emffacet-nightly-3.8/buildroot/buckminster.workspace
 -consolelog -debug 
/opt/users/hudsonbuild/workspace/emffacet-nightly-3.8/buildroot/tools/buckminster/.options
 setpref 
targetPlatformPath=/opt/users/hudsonbuild/workspace/emffacet-nightly-3.8/buildroot/target.platform

!ENTRY org.eclipse.osgi 4 0 2012-02-03 06:21:10.878
!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(EclipseStarter.java:344)
        at 
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        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)
        at org.eclipse.equinox.launcher.Main.main(Main.java:1386)

Attachment: config (slave5, before run).ini
Description: Binary data

Attachment: config (slave6, before run).ini
Description: Binary data

_______________________________________________
cross-project-issues-dev mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/cross-project-issues-dev

Reply via email to