To get all the CXF dependencies bundles to be OSGi ready is not an easy
thing, that is why ServiceMix spends lots of time to wrap the bundles
itself.
By using these bundles with Karaf will save lots of your time, and with
the Service CXF features you can install these bundles just by typing a
simple command line as Freeman had said before.
Willem
On 12/22/10 3:28 PM, Christian Schneider wrote:
I read some days ago on Dan Kulp´s blog that Talend released the first
version of Talend Service Factory.
http://www.dankulp.com/blog/?p=285
The interesting thing for you is that it contains a complete osgi
container with Karaf and all dependencies for CXF.
That should make it much easier for you.
I also struggled for a while to get CXF running in an Eclipse RCP
GUI. From what I learned you need the osgi ready dependencies and you
also have to tune the
starter as CXF needs some more current libs of java apis on the boot
class path.
(also see:
http://blog.springsource.com/2009/01/19/exposing-the-boot-classpath-in-osgi/)
Best regards
Christian
Am 21.12.2010 11:50, schrieb bisior:
Hi,
Can someone explain me how to run CXF 3.1 in OSGi container? The
manifest of
cxf-2.3.1.jar looks OK, but there are a lot of missing libraries in
the lib
directory of the distribution. Finally I have managed to find and resolve
all missing constraints, but then CXF had some class loading issues.
Maybe CXF is not supporting OSGi fully at the moment? If it suports OSGi
some tutorial is must have thing for the developers.
BR,
Łukasz
--
Willem
----------------------------------
FuseSource
Web: http://www.fusesource.com
Blog: http://willemjiang.blogspot.com (English)
http://jnn.javaeye.com (Chinese)
Twitter: willemjiang