You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@tuscany.apache.org by Bryan Hunt <bh...@mac.com> on 2007/05/16 18:12:02 UTC

sdo jars as eclipse plug-ins?

As I currently understand things, the sdo jars are built such they  
can be used as OSGi bundles.  Is my understanding correct?

I tried the following with a fresh download of Eclipse 3.3 M7:

cp ~/.m2/repository/commonj/sdo-api-r2.1/1.0-incubating-SNAPSHOT/sdo- 
api-r2.1-1.0-incubating-SNAPSHOT.jar plugins/
./eclipse -clean

Eclipse fails to start with the following log file:

!SESSION 2007-05-16 11:05:44.227  
-----------------------------------------------
eclipse.buildId=I20070503-1400
java.version=1.5.0_07
java.vendor=Apple Computer, Inc.
BootLoader constants: OS=macosx, ARCH=x86, WS=carbon, NL=en_US
Framework arguments:  -startup /Users/bhunt/Downloads/eclipse/ 
Eclipse.app/Contents/MacOS/../../../plugins/ 
org.eclipse.equinox.launcher_1.0.0.v20070502.jar
Command-line arguments:  -os macosx -ws carbon -arch x86 -startup / 
Users/bhunt/Downloads/eclipse/Eclipse.app/Contents/MacOS/../../../ 
plugins/org.eclipse.equinox.launcher_1.0.0.v20070502.jar -clean

!ENTRY org.eclipse.update.configurator 4 0 2007-05-16 11:05:46.407
!MESSAGE
!STACK 0
org.osgi.framework.BundleException: Exception in  
org.eclipse.update.internal.configurator.ConfigurationActivator.start 
() of bundle org.eclipse.update.configurator.
         at  
org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivato 
r(BundleContextImpl.java:1018)
         at  
org.eclipse.osgi.framework.internal.core.BundleContextImpl.start 
(BundleContextImpl.java:974)
         at  
org.eclipse.osgi.framework.internal.core.BundleHost.startWorker 
(BundleHost.java:346)
         at  
org.eclipse.osgi.framework.internal.core.AbstractBundle.resume 
(AbstractBundle.java:350)
         at  
org.eclipse.osgi.framework.internal.core.Framework.resumeBundle 
(Framework.java:1118)
         at  
org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles 
(StartLevelManager.java:634)
         at  
org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL 
(StartLevelManager.java:508)
         at  
org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLev 
el(StartLevelManager.java:282)
         at  
org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent 
(StartLevelManager.java:468)
         at  
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent 
(EventManager.java:195)
         at org.eclipse.osgi.framework.eventmgr.EventManager 
$EventThread.run(EventManager.java:297)
Caused by: org.eclipse.core.runtime.CoreException: Cannot create  
configuration in file:/Users/bhunt/Downloads/eclipse/configuration/
         at  
org.eclipse.update.internal.configurator.Utils.newCoreException 
(Utils.java:96)
         at  
org.eclipse.update.internal.configurator.ConfigurationActivator.initiali 
ze(ConfigurationActivator.java:111)
         at  
org.eclipse.update.internal.configurator.ConfigurationActivator.start 
(ConfigurationActivator.java:69)
         at org.eclipse.osgi.framework.internal.core.BundleContextImpl 
$2.run(BundleContextImpl.java:999)
         at java.security.AccessController.doPrivileged(Native Method)
         at  
org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivato 
r(BundleContextImpl.java:993)
         ... 10 more
Root exception:
org.eclipse.core.runtime.CoreException: Cannot create configuration  
in file:/Users/bhunt/Downloads/eclipse/configuration/
         at  
org.eclipse.update.internal.configurator.Utils.newCoreException 
(Utils.java:96)
         at  
org.eclipse.update.internal.configurator.ConfigurationActivator.initiali 
ze(ConfigurationActivator.java:111)
         at  
org.eclipse.update.internal.configurator.ConfigurationActivator.start 
(ConfigurationActivator.java:69)
         at org.eclipse.osgi.framework.internal.core.BundleContextImpl 
$2.run(BundleContextImpl.java:999)
         at java.security.AccessController.doPrivileged(Native Method)
         at  
org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivato 
r(BundleContextImpl.java:993)
         at  
org.eclipse.osgi.framework.internal.core.BundleContextImpl.start 
(BundleContextImpl.java:974)
         at  
org.eclipse.osgi.framework.internal.core.BundleHost.startWorker 
(BundleHost.java:346)
         at  
org.eclipse.osgi.framework.internal.core.AbstractBundle.resume 
(AbstractBundle.java:350)
         at  
org.eclipse.osgi.framework.internal.core.Framework.resumeBundle 
(Framework.java:1118)
         at  
org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles 
(StartLevelManager.java:634)
         at  
org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL 
(StartLevelManager.java:508)
         at  
org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLev 
el(StartLevelManager.java:282)
         at  
org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent 
(StartLevelManager.java:468)
         at  
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent 
(EventManager.java:195)
         at org.eclipse.osgi.framework.eventmgr.EventManager 
$EventThread.run(EventManager.java:297)

!ENTRY org.eclipse.core.runtime 4 0 2007-05-16 11:05:46.424
!MESSAGE
!STACK 0
org.osgi.framework.BundleException: The bundle could not be resolved.  
Reason: Missing Constraint: Require-Bundle: org.eclipse.core.jobs;  
bundle-version="[3.2.0,4.0.0)"
         at  
org.eclipse.osgi.framework.internal.core.BundleHost.startWorker 
(BundleHost.java:305)
         at  
org.eclipse.osgi.framework.internal.core.AbstractBundle.resume 
(AbstractBundle.java:350)
         at  
org.eclipse.osgi.framework.internal.core.Framework.resumeBundle 
(Framework.java:1118)
         at  
org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles 
(StartLevelManager.java:634)
         at  
org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL 
(StartLevelManager.java:508)
         at  
org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLev 
el(StartLevelManager.java:282)
         at  
org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent 
(StartLevelManager.java:468)
         at  
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent 
(EventManager.java:195)
         at org.eclipse.osgi.framework.eventmgr.EventManager 
$EventThread.run(EventManager.java:297)

!ENTRY org.eclipse.osgi 4 0 2007-05-16 11:05:46.430
!MESSAGE Bundle initial@reference:file:plugins/ 
org.eclipse.update.configurator_3.2.100.v20070430.jar/ [2] is not  
active.

!ENTRY org.eclipse.osgi 4 0 2007-05-16 11:05:46.431
!MESSAGE Bundle initial@reference:file:plugins/ 
org.eclipse.core.runtime_3.3.100.v20070409.jar/ was not resolved.

!ENTRY org.eclipse.osgi 4 0 2007-05-16 11:05:46.439
!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:72)
         at org.eclipse.core.runtime.adaptor.EclipseStarter.run 
(EclipseStarter.java:363)
         at org.eclipse.core.runtime.adaptor.EclipseStarter.run 
(EclipseStarter.java:176)
         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:585)
         at org.eclipse.equinox.launcher.Main.invokeFramework 
(Main.java:497)
         at org.eclipse.equinox.launcher.Main.basicRun(Main.java:436)
         at org.eclipse.equinox.launcher.Main.run(Main.java:1162)

!ENTRY org.eclipse.osgi 2 0 2007-05-16 11:05:46.449
!MESSAGE One or more bundles are not resolved because the following  
root constraints are not resolved:
!SUBENTRY 1 org.eclipse.osgi 2 0 2007-05-16 11:05:46.450
!MESSAGE Bundle initial@reference:file:plugins/ 
org.eclipse.core.runtime_3.3.100.v20070409.jar/ was not resolved.
!SUBENTRY 2 org.eclipse.core.runtime 2 0 2007-05-16 11:05:46.450
!MESSAGE Missing required bundle org.eclipse.equinox.app_[1.0.0,2.0.0).
!SUBENTRY 2 org.eclipse.core.runtime 2 0 2007-05-16 11:05:46.450
!MESSAGE Missing required bundle org.eclipse.equinox.preferences_ 
[3.2.0,4.0.0).
!SUBENTRY 2 org.eclipse.core.runtime 2 0 2007-05-16 11:05:46.450
!MESSAGE Missing required bundle org.eclipse.core.contenttype_ 
[3.2.0,4.0.0).
!SUBENTRY 2 org.eclipse.core.runtime 2 0 2007-05-16 11:05:46.451
!MESSAGE Missing required bundle org.eclipse.core.jobs_[3.2.0,4.0.0).
!SUBENTRY 2 org.eclipse.core.runtime 2 0 2007-05-16 11:05:46.451
!MESSAGE Missing required bundle org.eclipse.equinox.registry_ 
[3.2.0,4.0.0).

!ENTRY org.eclipse.osgi 2 0 2007-05-16 11:05:46.453
!MESSAGE The following is a complete list of bundles which are not  
resolved, see the prior log entry for the root cause if it exists:
!SUBENTRY 1 org.eclipse.osgi 2 0 2007-05-16 11:05:46.453
!MESSAGE Bundle initial@reference:file:plugins/ 
org.eclipse.core.runtime_3.3.100.v20070409.jar/ [3] was not resolved.
!SUBENTRY 2 org.eclipse.core.runtime 2 0 2007-05-16 11:05:46.453
!MESSAGE Missing required bundle org.eclipse.core.jobs_[3.2.0,4.0.0).
!SUBENTRY 2 org.eclipse.core.runtime 2 0 2007-05-16 11:05:46.453
!MESSAGE Missing required bundle org.eclipse.equinox.registry_ 
[3.2.0,4.0.0).
!SUBENTRY 2 org.eclipse.core.runtime 2 0 2007-05-16 11:05:46.453
!MESSAGE Missing required bundle org.eclipse.equinox.preferences_ 
[3.2.0,4.0.0).
!SUBENTRY 2 org.eclipse.core.runtime 2 0 2007-05-16 11:05:46.454
!MESSAGE Missing required bundle org.eclipse.core.contenttype_ 
[3.2.0,4.0.0).
!SUBENTRY 2 org.eclipse.core.runtime 2 0 2007-05-16 11:05:46.454
!MESSAGE Missing optionally required bundle  
org.eclipse.core.runtime.compatibility.auth_[3.2.0,4.0.0).
!SUBENTRY 2 org.eclipse.core.runtime 2 0 2007-05-16 11:05:46.454
!MESSAGE Missing required bundle org.eclipse.equinox.app_[1.0.0,2.0.0).


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-user-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-user-help@ws.apache.org