Yes, you can, but it's a soap opera for each JEE application server, they are
all different with respect to the hoops you need to jump through to get
things working.  Here's collected notes[1] for many of the app servers,
unfortunately Geronimo is not listed yet.  If you're able to get it working,
please let us know what was necessary and we'll update the user guide notes.

Glen

[1] http://cwiki.apache.org/confluence/display/CXF20DOC/AppServerGuide


John-567 wrote:
> 
> Hi,
> 
> I've been playing with the notion of embedding CXF inside an EAR 
> application, written by me, that is deployed to an app server.  In JBoss 
> 4.2.3, embedding is straightforward, however, several issues pop up in 
> Geronimo 2.1.3 with respect to the 
> MANIFEST/META-INF/MANIFEST.MF/Class-path attribute.  These issues are 
> related to saaj.jar, activation.jar and jaxp-api.jar (because of the 
> incorrect Class-path value, eg. looking for saaj.jar when the version 
> includes saaj-1.3.jar or because they are not required to run either a 
> service or a client accessing a service, in the simple case).
> 
> Geronimo seems a lot less tolerant of an EAR deployment that cannot 
> resolve all of the referenced jar files that are embedded in the 
> class-path attribute of the MANIFEST.MF file, which I understand is more 
> in line with the Java EE 5 specification.
> 
> My question is, do I need to go through all of jar files and make sure 
> their MANIFEST.MF/Class-path's are in alignment with included 
> dependencies in order to resolve the deployment issue in Geronimo or is 
> there an easier way to embed CXF directly for this use case?
> 
> Note, I am aware that I can configure Geronimo to use an embedded CXF 
> container rather than the default Axis version installed, however, I 
> would like to be able to embed CXF directly in this app, at least for now.
> 
> Thanks for any suggestions,
> John
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Embedding-CXF%2C-is-it-possible--tp19829966p19830190.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to