IIRC, cxf 2.5.1 implements jax-ws 2.2, and it requires the jaxb 2.2, and in Geronimo 2.2, jaxb 2.1 api and impl are shipped. Think you may add the hidden-class to prevent loading jaxb 2.1 api and impl from server runtime.
The doc URL is  https://cwiki.apache.org/GMOxDOC22/classloading.html .

2012/1/25 Venkat <ven12344@yahoo.com>
Hi Ivan, thanks for your reply.

But I am using Geronimo 2.2, CXF 2.5.1. And I saw that CXF lib folder has
the jaxb api 2.2.3.

View this message in context: http://apache-geronimo.328035.n3.nabble.com/Problem-in-creating-Web-Service-in-Eclipse-using-2-1-8-Geronimo-tp3672504p3685816.html
Sent from the Users mailing list archive at Nabble.com.