[jbossws-issues] [JBoss JIRA] (JBWS-4120) SOAP logging stopped working with WildFly 12 / JBossWS 5.2.0.Final (Apache CXF 3.2.2)

Jan Blizňák (JIRA) issues at jboss.org
Tue May 29 11:00:00 EDT 2018


    [ https://issues.jboss.org/browse/JBWS-4120?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13583697#comment-13583697 ] 

Jan Blizňák commented on JBWS-4120:
-----------------------------------

[~pjurak] any progress here? 

>From the code change posted by Rostislav we need to utilize the new CXF artifact https://mvnrepository.com/artifact/org.apache.cxf/cxf-rt-features-logging to be able to detect the system property. So we need to go with JBWS-4105.

I did quick test and added it to the org/apache/cxf/impl/main module along with dependency on <module name="org.slf4j"/> (otherwise CNFE is thrown on org.slf4j.LoggerFactory) and it seems to fix the issue - the pretty logging enabled by system property is working again.

So we need to update both: 
- add dependency to cxf-rt-features-logging and update feature pack in Wildfly wildfly/feature-pack/src/main/resources/modules/system/layers/base/org/apache/cxf/impl/main/module.xml
- add dependency with proper excludes to JBossWS and update module resources modules/wildfly1300/org/apache/cxf/impl/main/module.xml

> SOAP logging stopped working with WildFly 12 / JBossWS 5.2.0.Final (Apache CXF 3.2.2)
> -------------------------------------------------------------------------------------
>
>                 Key: JBWS-4120
>                 URL: https://issues.jboss.org/browse/JBWS-4120
>             Project: JBoss Web Services
>          Issue Type: Bug
>    Affects Versions: jbossws-cxf-5.2.0.Final
>            Reporter: Rostislav Svoboda
>            Assignee: Petr Jurak
>            Priority: Critical
>             Fix For: jbossws-cxf-5.2.2.Final
>
>
> SOAP logging stopped working with WildFly 12 / JBossWS 5.2.0.Final (Apache CXF 3.2.2)
> This is working with WildFly 11 / JBossWS 5.1.9.Final (Apache CXF 3.1.12)
> {code}
> wildfly-11.0.0.Final/bin/standalone.sh -Dorg.apache.cxf.logging.enabled=pretty
> wildfly-12.0.0.Final/bin/standalone.sh -Dorg.apache.cxf.logging.enabled=pretty
> {code}
> Seems that logging feature is not activated, I tried also {{org.apache.cxf.logging.enabled=true}}.
> It can be related to https://github.com/apache/cxf/commit/54e7c58d5449d5f91879674598fe1b1ee339a272 changes where logging was refactored and new LoggingBusLifecycleListener was introduced.
> I used https://github.com/wildfly/quickstart/tree/master/helloworld-ws app ++ SoapUI for quick check.



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)



More information about the jbossws-issues mailing list