Hi Daniel,

We are deploying our application as a single ear file now with all the
libraries shared by the wars.  Is there a way to ensure that only a single
jaxb context gets created?  All the endpoints defined in the cxf-servlet are
similar, but it seems like each one is still recreating the jaxb context
based on the server logs and the memory.  

I noticed that there is a configuration that I may need to do (defining the
jaxb bean with the singleJaxbContext property set to true).  

http://cxf.apache.org/docs/jax-rs-data-bindings.html#JAX-RSDataBindings-SingleJAXBContextandextrauserclasses

This seems only valid for JAX-RS (which we are not using), but I added that
to our cxf-servlet.xml anyways, and it doesn't seem to help.  Any
suggestions?

Thanks!




--
View this message in context: 
http://cxf.547215.n5.nabble.com/Lowering-the-memory-footprint-on-deployment-of-service-endpoints-tp5713684p5714572.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to