PS: conf/system.properties also supports cxf.jaxrs.debug=true (it
activates faultStackTraceEnabled). Not sure it matches 100% you need
but can help.
Romain Manni-Bucau
Twitter: @rmannibucau
Blog: http://rmannibucau.wordpress.com/
LinkedIn: http://fr.linkedin.com/in/rmannibucau
Github: https://github.com/rmannibucau



2014-10-22 16:54 GMT+02:00 Romain Manni-Bucau <[email protected]>:
> Hi
>
> values are either fully qualified names or id. in this last case you
> define your instance in resources.xml ni a Service:
>
> <resources>
>   <Service id="..." class-name="my.qualified.Name">
>       myPropertyWithASetter = value
>    </Service>
> </resources>
>
> That's the general idea to configure bus/providers.
>
> For the bus it needs to be done as system property:
>
> myId = new://Service?class-name=my.qualified.Name
> myId.myPropertyWithASetter = value
>
> Romain Manni-Bucau
> Twitter: @rmannibucau
> Blog: http://rmannibucau.wordpress.com/
> LinkedIn: http://fr.linkedin.com/in/rmannibucau
> Github: https://github.com/rmannibucau
>
>
>
> 2014-10-22 16:43 GMT+02:00 Volker Ivens <[email protected]>:
>> Hi,
>>
>> currently i'm trying to register my own FaultListener (on CXF bus) for all
>> JAX-RS Endpoints, as i want to get rid of the huge stracktraces logged as
>> warnings. (see  JAX-RS Exceptionhandling
>> <http://cxf.apache.org/docs/jax-rs-basics.html#JAX-RSBasics-Exceptionhandling>
>> )
>>
>> I found clues that it could be possible to configure it via the TomEE
>> system.properties (see  configuring-cxf-bus-in-tomee
>> <http://rmannibucau.wordpress.com/2013/07/09/configuring-cxf-bus-in-tomee-or-openejb-standalone/>
>> ).
>>
>> But i have no idea how i should use the property file to add my
>> FaultListener to the cxf bus properties.
>> Alternatively i would be happy with some help how to set the printStackTrace
>> property of the WebApplicationExceptionMapper via property configuration.
>>
>> I would appreciate some help with the above mentioned TomEE configuration
>> properties.
>>
>> Best regards
>>
>> Volker Ivens
>>
>>
>>
>>
>> --
>> View this message in context: 
>> http://tomee-openejb.979440.n4.nabble.com/Register-FaultListener-for-JAX-RS-to-CXF-bus-tp4672573.html
>> Sent from the TomEE Users mailing list archive at Nabble.com.

Reply via email to