Hide Forgot
When running WS Backward Compatibility tests against EAP 6.2.0 ER6 on JDK 7 I had failure of JBWS1807TestCase. It's 100% reproducible, failed on Jenkins and on my local machine. Test is passing on JDK6. I created separate job for this failure, see details. Exception on client side: Caused by: org.apache.cxf.binding.xml.XMLFault: Unexpected element input found. Expected {http://ws.com/}input. Exception on server side: [0m[33m05:42:29,449 WARNING [org.apache.cxf.phase.PhaseInterceptorChain] (http-/127.0.0.1:8080-1) Interceptor for {http://ws.com/}ProviderService#{http://ws.com/}o1 has thrown exception, unwinding now: org.apache.cxf.interceptor.Fault: Unexpected element input found. Expected {http://ws.com/}input. at org.apache.cxf.interceptor.DocLiteralInInterceptor.validatePart(DocLiteralInInterceptor.java:279) at org.apache.cxf.interceptor.DocLiteralInInterceptor.handleMessage(DocLiteralInInterceptor.java:189) at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:272) at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121) Details: https://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/eap-6x-jbossws-backward-compatibility-1.7-JBWS1807TestCase/1/testReport/junit/org.jboss.test.ws.jaxws.jbws1807/JBWS1807TestCase/testProviderDispatch/ https://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/eap-6x-jbossws-backward-compatibility-1.7-JBWS1807TestCase/1/console
Tests are running against EAP 6.2.0 ER7, I have typo in description ;) Running JBoss WS CXF Testsuite 4.1.3.Final* against EAP 6.2.0 ER7. * TS is patched to use produztized/-redhat-x artifacts If you need more details you can ping me on #jbossws or #jbossqa irc.
Created attachment 818155 [details] server-debug-log-JDK7-no-timestamp.txt
Created attachment 818156 [details] server-debug-log-JDK6-no-timestamp.txt
See attached server debug logs for JDK 6 and JDK 7 -- 'Invoking handleMessage' and 'Invoking handleFault' From JDK 7 log: FINE [org.apache.cxf.phase.PhaseInterceptorChain] (http-/127.0.0.1:8080-1) Invoking handleMessage on interceptor org.apache.cxf.interceptor.DocLiteralInInterceptor@587892ec FINE [org.apache.cxf.phase.PhaseInterceptorChain] (http-/127.0.0.1:8080-1) Invoking handleFault on interceptor org.apache.cxf.interceptor.DocLiteralInInterceptor@587892ec
Seen on these jdks: * oracle jdk 1.7_40 * oracle jdk 1.7.0_25 * openjdk 1.7.0_25
https://issues.apache.org/jira/browse/CXF-5268 introduced this regression failure.
It turns out it's the failure in JBWS1807TestCase, and we need to backport the change of https://issues.jboss.org/browse/JBWS-3705 after upgrade cxf to 2.7.7.
Verified that when https://issues.jboss.org/browse/JBWS-3705 changes applied test passes on JDK 7.
Issue in testcase, no change in jbossws or cxf code is needed.