Hi Dan,
I am suspecting there might be some sort of incompatibility introduced
in 2.7.11 with
https://git-wip-us.apache.org/repos/asf?p=cxf.git;a=commit;h=545a6fcaf9d503d4e0b08bb4ce4cba12893b7b2c

Below in the exception stack where
org.apache.cxf.configuration.security.AuthorizationPolicy was picked
and complained for 2.7.11, I see AuthorizationPolicyHolder in 2.7.10
which is processed fine and this AuthorizationPolicyHolder was removed
in the above commit. I am still confused with this symptom, But maybe
you have an idea?

thanks.
regards, aki

2014-04-08 12:14 GMT+02:00 Aki Yoshida <[email protected]>:
> I am observing the following error with 2.7.11 for a blueprint jaxws
> client using basic authentication.
>
> Caused by: org.osgi.service.blueprint.container.ComponentDefinitionException:
> Error setting property: PropertyDescriptor <name: authorization,
> getter: class org.apache.cxf.transport.http.HTTPConduit.getAuthorization(),
> setter: [class 
> org.apache.cxf.transport.http.HTTPConduit.setAuthorization(class
> org.apache.cxf.configuration.security.AuthorizationPolicy)]
> at 
> org.apache.aries.blueprint.container.BeanRecipe.setProperty(BeanRecipe.java:941)
> at 
> org.apache.aries.blueprint.container.BeanRecipe.setProperties(BeanRecipe.java:907)
> at 
> org.apache.aries.blueprint.container.BeanRecipe.setProperties(BeanRecipe.java:888)
> at 
> org.apache.aries.blueprint.container.BlueprintContainerImpl.injectBeanInstance(BlueprintContainerImpl.java:934)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at 
> org.apache.cxf.bus.blueprint.ConfigurerImpl.configureBean(ConfigurerImpl.java:128)
> at 
> org.apache.cxf.bus.blueprint.ConfigurerImpl.configureWithWildCard(ConfigurerImpl.java:188)
> at 
> org.apache.cxf.bus.blueprint.ConfigurerImpl.configureBean(ConfigurerImpl.java:111)
> at 
> org.apache.cxf.bus.blueprint.ConfigurerImpl.configureBean(ConfigurerImpl.java:100)
> at 
> org.apache.cxf.transport.http.HTTPTransportFactory.configure(HTTPTransportFactory.java:189)
> at 
> org.apache.cxf.transport.http.HTTPTransportFactory.getConduit(HTTPTransportFactory.java:270)
> at 
> org.apache.cxf.binding.soap.SoapTransportFactory.getConduit(SoapTransportFactory.java:238)
> at 
> org.apache.cxf.endpoint.AbstractConduitSelector.getSelectedConduit(AbstractConduitSelector.java:110)
> at 
> org.apache.cxf.endpoint.UpfrontConduitSelector.prepare(UpfrontConduitSelector.java:63)
> at 
> org.apache.cxf.endpoint.ClientImpl.prepareConduitSelector(ClientImpl.java:896)
> at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:565)
> at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:479)
> at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:382)
> at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:335)
> at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:96)
> at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:135)
> ... 26 more
> Caused by: java.lang.Exception: Unable to convert value
> javax.xml.bind.JAXBElement@6c6cef3a to type
> org.apache.cxf.configuration.security.AuthorizationPolicy
> at 
> org.apache.aries.blueprint.container.AggregateConverter.convert(AggregateConverter.java:184)
> at 
> org.apache.aries.blueprint.container.BlueprintRepository.convert(BlueprintRepository.java:402)
> at 
> org.apache.aries.blueprint.utils.ReflectionUtils$PropertyDescriptor.convert(ReflectionUtils.java:394)
> at 
> org.apache.aries.blueprint.utils.ReflectionUtils$MethodPropertyDescriptor.internalSet(ReflectionUtils.java:628)
> at 
> org.apache.aries.blueprint.utils.ReflectionUtils$PropertyDescriptor.set(ReflectionUtils.java:378)
> at 
> org.apache.aries.blueprint.container.BeanRecipe.setProperty(BeanRecipe.java:939)
> ... 49 more
>
> The same scenario runs fine with cxf 2.7.10.
> The spring version of the same scenario runs fine with 2.7.11.
>
> Does anyone have an idea?
> I need to look at it deeper to find out what has changed to see what
> is causing this issue/difference.
>
> regards, aki
>
>
> 2014-04-06 18:34 GMT+02:00 Daniel Kulp <[email protected]>:
>>
>> It's been 2 months since the last releases... This is a vote to release 
>> 2.7.11 and 2.6.14.
>>
>> There are over 60 issues fixed for 2.7.11 and more than 20 ported back to 
>> 2.6.14.
>>
>>
>> Staging area:
>> https://repository.apache.org/content/repositories/orgapachecxf-1014/
>> https://repository.apache.org/content/repositories/orgapachecxf-1015/
>>
>> Tag:
>> https://git-wip-us.apache.org/repos/asf?p=cxf.git;a=tag;h=6c4a45138976c7c7b770fdaa979cd0eddb2449c6
>> https://git-wip-us.apache.org/repos/asf?p=cxf.git;a=tag;h=0d3b94e213446763d348fb07c51e71fe00fa3151
>>
>>
>> This vote will be open for 72 hours.
>>
>>
>> --
>> Daniel Kulp
>> [email protected] - http://dankulp.com/blog
>> Talend Community Coder - http://coders.talend.com
>>

Reply via email to