On Wednesday 22 December 2010 2:28:35 am 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.

Yep.   That is definitely the easiest thing to look at.   At the very least, 
even if you don't end up using it as is, it would be a good thing to look at 
to see what bundles it has installed and running by default.    As Willem 
said, getting all of them  isn't easy as a lot of the CXF deps are not OSGi 
bundles so they need to be mapped to the equivalent SMX bundle and such.   
We've done that mapping and such for Talend Service Factory which could really 
save you some time and effort.

Dan



> 
> 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

-- 
Daniel Kulp
[email protected]
http://dankulp.com/blog

Reply via email to