Hi, I met some similar troubles with JBoss 4.2.2, CXF2.0.2 and JDK 1.5.0_14.
When I deploy the JCA J2ee connector on JBoss, I found the following error messages on JBoss console: ERROR [STDERR] Jan 22, 2008 3:27:29 PM org.apache.cxf.jca.cxf.ManagedConnectionFactoryImpl <init> ERROR [STDERR] Jan 22, 2008 3:27:29 PM org.apache.cxf.jca.cxf.AssociatedManagedConnectionFactoryImpl <init> ERROR [STDERR] Jan 22, 2008 3:27:29 PM org.apache.cxf.jca.cxf.AssociatedManagedConnectionFactoryImpl setResourceAdapter INFO: Associate Resource Adapter with ManagedConnectionFactory by appserver. ra = null ERROR [STDERR] Jan 22, 2008 3:27:29 PM org.apache.cxf.jca.cxf.ManagedConnectionFactoryImpl createConnectionFactory Could someone tell me that the CXF j2ee connector (CXF2.0.2) tested with JBoss4.2.2? Thanks, Adrian Trenaman wrote: > > 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-tp12197014p15028522.html Sent from the cxf-user mailing list archive at Nabble.com.
