this has to be done at container level (tomee/lib) not webapp

if your webservice is in a jar you can add a WEB-INF/exclusions.list with:

default-list
yourjar



Romain Manni-Bucau
@rmannibucau <https://twitter.com/rmannibucau> |  Blog
<http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> |
LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber
<http://www.tomitribe.com>

2015-03-27 18:03 GMT+01:00 willemvanpelt <willem.vanp...@me.com>:

> Adding -Dorg.apache.cxf.logger=org.apache.cxf.common.logging.Log4jLogger
> doesn't work.
> I've also tried adding it by creating a file
> META-INF/cxf/org.apache.cxf.logger but that help either.
> <br />
> This is how I defined my applicationContext.xml if it could help you.
> <br />
>
> <pre>
> <import resource="classpath:META-INF/cxf/cxf.xml" />
> <import resource="classpath:META-INF/cxf/cxf-servlet.xml"/>
>
> <bean id="WSS4JInInterceptor"
> class="org.apache.cxf.ws.security.wss4j.WSS4JInInterceptor">
>     <constructor-arg>
>       <map>
>         <entry key="action" value="Signature"/>
>         <entry key="signaturePropFile"
> value="something-crypto.properties"/>
>         <entry key="decryptionPropFile"
> value="something-crypto.properties"/>
>       </map>
>     </constructor-arg>
>   </bean>
>
>  <jaxws:endpoint id="somethingQuery"
>                   implementor="com.something.somethingQuery"
>                   address="/somethingQuery">
>
>     <jaxws:properties>
>       <entry key="ws-security.subject.cert.constraints" value=".*"/>
>       <entry key="ws-security.is-bsp-compliant" value="false"/>
>     </jaxws:properties>
>
>     <jaxws:inInterceptors>
>       <ref bean="WSS4JInInterceptor"/>
>       <bean class="org.apache.cxf.interceptor.LoggingInInterceptor"/>
>     </jaxws:inInterceptors>
>
>     <jaxws:outInterceptors>
>       <bean class="org.apache.cxf.interceptor.LoggingOutInterceptor"/>
>     </jaxws:outInterceptors>
>   </jaxws:endpoint>
> </pre>
>
>
>
> --
> View this message in context:
> http://tomee-openejb.979440.n4.nabble.com/CXF-JAX-WS-java-lang-UnsupportedOperationException-logging-tp4674195p4674199.html
> Sent from the TomEE Dev mailing list archive at Nabble.com.
>

Reply via email to