Is there any spring jars in your class path?
If there is no spring jars, CXF will use CXFBusFactory instead of
SpringBusFactory to create the bus. CXFBusFactory will not load the
cxf.xml as your want :(
Willem
On 12/24/10 9:48 AM, Michael West wrote:
In further attempts to get a cxf.xml file to be used for custom http client
configuration I tried setting JAVA_OPTS to point to my cxf.xml file in the
CLASSPATH
export JAVA_OPTS="-Dcxf.config.file=/path/to/my/cxf.xml"
to no avail. I see from posts like this
http://cxf.547215.n5.nabble.com/Web-Service-WSDL-Generation-td558357.html
that some cxf users are getting nice logging messages like:
INFO: No cxf.xml configuration file detected, relying on defaults.
I have my logging level set to FINE but am getting no messages about cxf.xml
--
Willem
----------------------------------
FuseSource
Web: http://www.fusesource.com
Blog: http://willemjiang.blogspot.com (English)
http://jnn.javaeye.com (Chinese)
Twitter: willemjiang