cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "YI (William) ZHU" <zhu_yi_2...@yahoo.com>
Subject Re: JCA demo raises java.lang.UnsupportedOperation when deployed in JBOSS
Date Wed, 23 Jan 2008 16:42:59 GMT

I tested using JBoss4.0.5 and CXF 2.0.2 as Jeff suggested to the sample, it
works.

But I still found error messages from JBoss 4.0.5 console.

I don't know why there are so many "ERROR"s?
although the sample seems function correctly.

Is this bug in CXF?


Please see the error messages:
==================================================
... ERROR [STDERR] ... org.apache.cxf.jca.cxf.ManagedConnectionFactoryImpl
<init>

... ERROR [STDERR] ...
org.apache.cxf.jca.cxf.AssociatedManagedConnectionFactoryImpl <init>

... ERROR [STDERR] ...
org.apache.cxf.jca.cxf.AssociatedManagedConnectionFactoryImpl
setResourceAdapter

... ERROR [STDERR] ... org.apache.cxf.jca.cxf.ManagedConnectionFactoryImpl 
createConnectionFactory

... ERROR [STDERR] ..org.apache.cxf.jca.cxf.JCABusFactory initialiseServants

... ERROR [STDERR] ..org.apache.cxf.jca.cxf.JCABusFactory 
startPropertiesMonitorThread

... ERROR [STDERR] ..org.apache.cxf.jca.cxf.ConnectionFactoryImpl <init>

... ERROR [STDERR] ..org.apache.cxf.jca.cxf.JCABusFactory
$EJBServicePropertiesMonitorRunnable run

... ERROR [STDERR] ..org.apache.cxf.jca.cxf.JCABusFactory loadProperties

... ERROR [STDERR] ..org.apache.cxf.jca.cxf.ConnectionFactoryImpl 
getConnection




Jeff Zhang-2 wrote:
> 
> Hi Ade,
> 
> CXF has tested on Jboss 4.0.x in release. We can do work on Jboss 4.2.x if
> you need. Could you raise a JIRA?
> 
> Thanks
> Jeff
> ----- Original Message ----- 
> From: "Adrian Trenaman" <ade@ireland.com>
> To: <cxf-user@incubator.apache.org>
> Sent: Friday, August 17, 2007 6:03 PM
> Subject: JCA demo raises java.lang.UnsupportedOperation when deployed in
> JBOSS
> 
> 
>>
>> 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.
>>
> 
> 

-- 
View this message in context: http://www.nabble.com/JCA-demo-raises-java.lang.UnsupportedOperation-when-deployed-in-JBOSS-tp12197014p15045592.html
Sent from the cxf-user mailing list archive at Nabble.com.


Mime
View raw message