Hi,
Has anyone experienced any problems deploying the JCA adaptor into JBoss? I
was experiencing problems and have reproduced with the demo in
samples/integration/jca/hello_world. When the servlet invokes on the proxy,
we get:
java.lang.UnsupportedOperationException: setProperty must be overridden
by all subclasses of SOAP Message
I'm using JDK 1.5.0_09, CXF 2.0.1 and JBoss 4.2.1. Have also gotten the same
problem with JBoss 5.0.0 Beta 2.
Google shows that others have also experienced this problem; some
workarounds are suggested around putting libraries (jboss-jaxrpc.jar,
jboss-saaj.jar, jaxb-api.jar and jaxws-api.jar) into the JBoss lib/endorsed
directory. I note that the demo already places files in lib/endorsed - do we
need to add more?
Finally (I'm not sure whether this is related or not) - I'm noting that the
stack trace uses CXF classes right down to
sun.reflect.NativeMethodAccessorImpl, and then JBossWS classes are used to
create the SOAP message. is this right? I would have thought that the entire
interaction should be handled by CXF classes?
Curious,
Ade.
--
View this message in context:
http://www.nabble.com/JCA-demo-raises-java.lang.UnsupportedOperation-when-deployed-in-JBOSS-tf4284807.html#a12197014
Sent from the cxf-user mailing list archive at Nabble.com.