cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bgoetzmann <bertrand.goetzm...@gmail.com>
Subject Re: WSDL configuration driven from WSDL with Apache CXF Distributed OSGi
Date Tue, 10 Jan 2012 10:36:01 GMT
As I'm new to OSGi/Felix, perhaps there is something I do wrong.
Here the steps I accomplished, starting from a *new* Felix 4.0.2
installation:

1. I'm using Felix 4.0.2 on Windows 7, and here the bundles installed by
default:

   0|Active     |    0|System Bundle (4.0.2)
   1|Active     |    1|Apache Felix Bundle Repository (1.6.6)
   2|Active     |    1|Apache Felix Gogo Command (0.12.0)
   3|Active     |    1|Apache Felix Gogo Runtime (0.10.0)
   4|Active     |    1|Apache Felix Gogo Shell (0.10.0)

2. I install the cxf-dosgi-ri-singlebundle-distribution-1.3-SNAPSHOT.jar
bundle with the install command, so I get this list after issueing a lb
command:

   ID|State      |Level|Name
    0|Active     |    0|System Bundle (4.0.2)
    1|Active     |    1|Apache Felix Bundle Repository (1.6.6)
    2|Active     |    1|Apache Felix Gogo Command (0.12.0)
    3|Active     |    1|Apache Felix Gogo Runtime (0.10.0)
    4|Active     |    1|Apache Felix Gogo Shell (0.10.0)
    5|Installed  |    1|Distributed OSGi Distribution Software Single-Bundle
Distribution (1.3.0.SNAPSHOT)

3. When I issue a start 5 command, I get this message:

org.osgi.framework.BundleException: Unresolved constraint in bundle
cxf-dosgi-ri
-singlebundle-distribution [5]: Unable to resolve 5.0: missing requirement
[5.0]
 osgi.wiring.package;
(&(osgi.wiring.package=org.osgi.service.cm)(version>=1.3.0)(!(version>=2.0.0)))

4. To resolve this dependency problem, I install the
org.apache.felix.configadmin-1.2.8.jar bundle; 

   ID|State      |Level|Name
    0|Active     |    0|System Bundle (4.0.2)
    1|Active     |    1|Apache Felix Bundle Repository (1.6.6)
    2|Active     |    1|Apache Felix Gogo Command (0.12.0)
    3|Active     |    1|Apache Felix Gogo Runtime (0.10.0)
    4|Active     |    1|Apache Felix Gogo Shell (0.10.0)
    5|Installed  |    1|Distributed OSGi Distribution Software Single-Bundle
Distribution (1.3.0.SNAPSHOT)
    6|Installed  |    1|Apache Felix Configuration Admin Service (1.2.8)

5. Then, I start the d-osgi bundle with a "start 5" command, and get this
exception:

HttpService using port: 8080
java.lang.ClassNotFoundException: org.apache.felix.fileinstall.FileInstall
not found by cxf-dosgi-ri-singlebundle-distribution [5]
        at
org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1460)
        at
org.apache.felix.framework.BundleWiringImpl.access$400(BundleWiringImpl.java:72)
        at
org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:1843)
...

Do you have any advice?


Thank you Sergey.

Bertrand. 


--
View this message in context: http://cxf.547215.n5.nabble.com/WSDL-configuration-driven-from-WSDL-with-Apache-CXF-Distributed-OSGi-tp5125029p5133831.html
Sent from the cxf-user mailing list archive at Nabble.com.

Mime
View raw message