Bug 1092410
| Summary: | WSI BSP 1.1 tests are failing on JDK 7 when NIO web connector is used | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [JBoss] JBoss Enterprise Application Platform 6 | Reporter: | Rostislav Svoboda <rsvoboda> | ||||
| Component: | Web Services | Assignee: | Jim Ma <ema> | ||||
| Status: | CLOSED EOL | QA Contact: | Rostislav Svoboda <rsvoboda> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 6.3.0 | CC: | asoldano, jbliznak | ||||
| Target Milestone: | --- | ||||||
| Target Release: | EAP 6.4.0 | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2019-08-19 12:45:55 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
|
Description
Rostislav Svoboda
2014-04-29 09:12:47 UTC
Server log contains message:
....
Caused by: com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected character ':' (code 58) excepted space, or '>' or "/>"
at [row,col {unknown-source}]: [1,163]
at com.ctc.wstx.sr.StreamScanner.throwUnexpectedChar(StreamScanner.java:639)
at com.ctc.wstx.sr.BasicStreamReader.handleNsAttrs(BasicStreamReader.java:2994)
at com.ctc.wstx.sr.BasicStreamReader.handleStartElem(BasicStreamReader.java:2961)
at com.ctc.wstx.sr.BasicStreamReader.nextFromTree(BasicStreamReader.java:2837)
at com.ctc.wstx.sr.BasicStreamReader.next(BasicStreamReader.java:1072)
at org.apache.cxf.staxutils.DepthXMLStreamReader.next(DepthXMLStreamReader.java:220) [cxf-api-2.7.10.redhat-1.jar:2.7.10.redhat-1]
at org.apache.cxf.staxutils.PartialXMLStreamReader.next(PartialXMLStreamReader.java:46) [cxf-api-2.7.10.redhat-1.jar:2.7.10.redhat-1]
at org.apache.cxf.staxutils.StaxUtils.copy(StaxUtils.java:764) [cxf-api-2.7.10.redhat-1.jar:2.7.10.redhat-1]
at org.apache.cxf.staxutils.StaxUtils.copy(StaxUtils.java:694) [cxf-api-2.7.10.redhat-1.jar:2.7.10.redhat-1]
at org.apache.cxf.binding.soap.interceptor.ReadHeadersInterceptor.handleMessage(ReadHeadersInterceptor.java:170)
When running only WSSecurityPolicyExamples23xTestCase.test2324 no failure present. Executed 30 times, no 'Error reading XMLStreamReader' failure. So the tests in WSSecurityPolicyExamples23xTestCase must influence each other. Better isolation would be probably required. Reset the bus ? I managed to reproduce this issue locally for some time today and no luck. Can you please help disable the surefire parallel mode to see if this help? Disabling surefire parallel mode didn't help. Running again with EAP 6.3.0 ER3 showed that failures are gone. 6 runs on Jenkins + 15 runs on local machine, no failure. Trying to findout what fixed this problem Upgrade of JBossWeb helped to suppress the issue - I tried ER2 + JBossWeb from ER3. JBossWeb from ER3 changed implementation of web connector used on JDK 7. JIO connector is used as default for both JDK 6 and 7. See BZ 1091849 for details. I reconfigured web connector to use NIO and issue appeared again. <connector name="http" protocol="org.apache.coyote.http11.Http11NioProtocol" scheme="http" socket-binding="http"/> So in default configuration issue is not present but with use of NIO connector it's back. Steps to reproduce on EAP 6.3.0 ER3: 1) Download http://download.devel.redhat.com/devel/candidates/JBEAP/JBEAP-6.3.0.ER3/jboss-eap-6.3.0.ER3.zip and http://download.devel.redhat.com/devel/candidates/JBEAP/JBEAP-6.3.0.ER3/jboss-eap-6.3.0.ER3-maven-repository.zip ++ unzip it 2) prepare settings-630er3.xml file - similar to http://pastebin.test.redhat.com/207547 3) checkout https://anonsvn.jboss.org/repos/jbossws/projects/wsi-bp-test/branches/wsi-bp-test-4.3.0.Beta2 4) configure server to use NIO -- <connector name="http" protocol="org.apache.coyote.http11.Http11NioProtocol" scheme="http" socket-binding="http"/> 5) run server with JDK 7 ++ BC ++ unlimited crypto 6) run sh monitor.sh -config monitor-config-bsp11.xml from WSI_Test_Java_WGD_BSP_1.1 7) run tests from bsp11-tests module with with JDK 7 ++ BC ++ unlimited crypto -- mvn -s /home/rsvoboda/TESTING/630ER3/settings-630er3.xml -Dmaven.repo.local=/home/rsvoboda/TESTING/630ER3/local-repo -Dlog4j.output.dir=target -Djboss.home=/home/rsvoboda/TESTING/630ER3/jboss-eap-6.3 -Pjboss720,use-eap6-bom -Dversion.eap6-supported-artifacts=6.3.0.Beta1 -Djboss720.version=7.4.0.Final-redhat-11 -Dno-slf4j-log4j12 clean integration-test 8) check server log Checked on EAP 6.3.0 ER10 and issue is still present. Created attachment 920993 [details]
WSI_Test_Java_WGD_BSP_1.1.zip
Except this test sends message to a proxy to log the request/response message, there is no difference from the same test in jbossws test suite.Given these tests passed with JIO connector, I think it's possible there is some minor issue still in jbossweb's nio connector.Can we get Remy to have a look at this please ? Checked EAP 6.4.0 DR9 and had failure in test224 from WSSecurityPolicyExamples22xTestCase. Caused by: org.apache.cxf.binding.soap.SoapFault: Error reading XMLStreamReader. Issue is still present. Issue still present with 6.4.5.CP.CR3 Issue is still present with 6.4.7.CP.CR3 |