tuscany-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Raymond Feng <enjoyj...@gmail.com>
Subject Re: Running Tuscany SCA 2.x with Apache Felix and Eclipse Equinox
Date Mon, 14 Jun 2010 16:35:49 GMT
Hi,

There are a bunch of bundles shipped with M5 are required by SDO databinding. The Tuscany
SDO implementation drags in dependencies of EMF which is tied to the Eclipse OSGi. For Felix,
you can remove such Eclipse related bundles. 

Thanks,
Raymond
________________________________________________________________ 
Raymond Feng
rfeng@apache.org
Apache Tuscany PMC member and committer: tuscany.apache.org
Co-author of Tuscany SCA In Action book: www.tuscanyinaction.com
Personal Web Site: www.enjoyjava.com
________________________________________________________________

On Jun 14, 2010, at 4:17 AM, Alexander Blotny wrote:

> Hi,
> 
> I wanted to start the M5 release of Tuscany in Apacpe Felix according to the
> tutorial that worked fine for M4:
> 
> http://cwiki.apache.org/confluence/display/TUSCANYWIKI/Running+Tuscany+SCA+2
> .x+with+Equinox+and+Felix
> 
> I got following errors:
> 
> Error while starting bundle: tuscany-extensibility-equinox-2.0-M5.jar:
> org.osgi.framework.BundleException: Unresolved constraint in bundle
> org.apache.tuscany.sca.extensibility.equinox [133]: package;
> (&(package=org.osgi.util.tracker)(version>=1.4.2))
> Error while starting bundle: jobs-3.4.0-v20080512.jar:
> org.osgi.framework.BundleException: Unresolved constraint in bundle
> org.eclipse.core.jobs [150]: package; (package=org.eclipse.osgi.util)
> Error while starting bundle: preferences-3.2.300-v20090520-1800.jar:
> org.osgi.framework.BundleException: Unresolved constraint in bundle
> org.eclipse.equinox.preferences [171]: package;
> (package=org.eclipse.osgi.util)
> Error while starting bundle: file: runtime-3.4.0-v20080512.jar:
> org.osgi.framework.BundleException: Unresolved constraint in bundle
> org.eclipse.core.contenttype [249]: package;
> (&(package=org.eclipse.osgi.util)(version>=1.0.0))
> Error while starting bundle: app-1.2.0-v20090520-1800.jar:
> org.osgi.framework.BundleException: Unresolved constraint in bundle
> org.eclipse.equinox.app [221]: package;
> (package=org.eclipse.osgi.framework.log)
> Error while starting bundle: registry-3.4.100-v20090520-1800.jar:
> org.osgi.framework.BundleException: Unresolved constraint in bundle
> org.eclipse.equinox.registry [240]: package; (package=org.eclipse.osgi.util)
> Error while starting bundle: file: tuscany-node-impl-osgi-2.0-M5.jar:
> org.osgi.framework.BundleException: Unresolved constraint in bundle
> org.apache.tuscany.sca.extensibility.equinox [133]: package;
> (&(package=org.osgi.util.tracker)(version>=1.4.2))
> Error while starting bundle: contenttype-3.3.0-v20080604-1400.jar:
> org.osgi.framework.BundleException: Unresolved constraint in bundle
> org.eclipse.core.contenttype [249]: package;
> (&(package=org.eclipse.osgi.util)(version>=1.0.0))
> 
> Furthermore on the startup sequence there are some Null Pointer Exceptions
> e.g.:
> 
> ...
> Installed ./bundle/SEE/System/tuscany/tuscany-common-xml-2.0-M5.jar
> Failed to install artifact: ./bundle/SEE/System/tuscany/xsd-2.2.3.jar:
> java.lang.NullPointerException
> ...
> Installed ./bundle/SEE/System/tuscany/groovy-all-1.7.1.jar
> Failed to install artifact: ./bundle/SEE/System/tuscany/ecore-2.2.3.jar:
> java.lang.NullPointerException
> ...
> 
> 
> Maybe some of this bundles do not need to be loaded in Felix?
> Did someone try this out on the M5?
> 
> greetings,
> Alex
> 
> 
> 
> 
> Am 29.10.09 22:17 schrieb "Raymond Feng" unter <enjoyjava@gmail.com>:
> 
>> Hi,
>> 
>> I have successfully brought up the latest Tuscany 2.x code with Apache Felix
>> 2.0.1 to run the OSGi remote service samples . Please see the instructions
>> at [1].
>> 
>> The bundles in the Tuscany distribution needs to be generated using the
>> latest Tuscany maven-bundle-plugin. I just fixed an issue there under [2] so
>> that the saxon jars won't export javax.xml.namespace to avoid conflicts with
>> system packages.
>> 
>> I noticed that tuscany-implementation-bpel-runtime module [3] has a "hard"
>> dependency on one Equinox class "org.eclipse.core.runtime.FileLocator". Can
>> we avoid that?
>> 
>> [1] 
>> http://cwiki.apache.org/confluence/display/TUSCANYWIKI/Running+Tuscany+SCA+2.x
>> +with+Equinox+and+Felix
>> [2] http://svn.apache.org/viewvc?rev=831078&view=rev
>> [3] 
>> tuscany-implementation-bpel-runtime/src/main/java/org/apache/tuscany/sca/imple
>> mentation/bpel/ode/EmbeddedODEServer.java
>> 
>> Thanks,
>> Raymond
>> ---
>> Raymond Feng
>> Apache Tuscany PMC Member: http://tuscany.apache.org
>> Co-author of Tuscany In Action (A book on Tuscany SCA):
>> http://tuscanyinaction.com/
>> 
>> 
> 


Mime
View raw message