-
Bug
-
Resolution: Done
-
Major
-
EAP_EWP 5.1.1 ER2
-
None
-
In JBoss EAP 5.1.1, running the httpbinding example caused errors. These occurred because JBossWS Native forced JBoss Remoting to close the streams. This enforcing introduced regressions that have been fixed in JBoss EAP 5.1.2.
-
Documented as Resolved Issue
-
NEW
Example httpbinding from jboss-eap-docs-5.1.1-ER2.zip (jboss-eap-5.1/doc/examples/web-services-examples/httpbinding) ends with errors [1]. The same tests are in testsuite and they passed, tested locally and on Hudson [2].
I executed diff (using meld) on source codes + resources and they are the same in both testsuite and example.
I think that there must be something in build.xml to be changed but I couldn't figure out.
Bits to download are available online [3], [4].
[1] http://hudson.qa.jboss.com/hudson/view/EAP5-jbossws/job/eap51-jbossws-examples/jdk=java16_default,label=RHEL5_x86/lastCompletedBuild/testReport/
org.jboss.test.ws.jaxws.samples.httpbinding.HttpJAXBTestCase.testProviderDispatch
org.jboss.test.ws.jaxws.samples.httpbinding.HttpPayloadTestCase.testProviderDispatch
[3] http://download.devel.redhat.com/devel/candidates/JBEAP/JBEAP-5.1.1-ER2/jboss-eap-noauth-5.1.1-ER2.zip
[4] http://download.devel.redhat.com/devel/candidates/JBEAP/JBEAP-5.1.1-ER2/jboss-eap-docs-5.1.1-ER2.zip
[5] Error stacktrace:
Testsuite: org.jboss.test.ws.jaxws.samples.httpbinding.HttpJAXBTestCase
Tests run: 2, Failures: 0, Errors: 1, Time elapsed: 1,72 sec
Testcase: testWSDLAccess took 0,07 sec
Testcase: testProviderDispatch took 0,88 sec
Caused an ERROR
Cannot dispatch message
javax.xml.ws.WebServiceException: Cannot dispatch message
at org.jboss.ws.core.jaxws.client.DispatchImpl.handleInvokeException(DispatchImpl.java:379)
at org.jboss.ws.core.jaxws.client.DispatchImpl.invoke(DispatchImpl.java:138)
at org.jboss.test.ws.jaxws.samples.httpbinding.HttpJAXBTestCase.testProviderDispatch(Unknown Source)
at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
at junit.extensions.TestSetup$1.protect(TestSetup.java:23)
at junit.extensions.TestSetup.run(TestSetup.java:27)
Caused by: org.jboss.ws.WSException: java.io.IOException: stream is closed
at org.jboss.ws.WSException.rethrow(WSException.java:68)
at org.jboss.ws.util.xml.BufferedStreamSource.<init>(BufferedStreamSource.java:97)
at org.jboss.ws.core.soap.XMLFragment.beginSourceAccess(XMLFragment.java:239)
at org.jboss.ws.core.soap.XMLFragment.getSource(XMLFragment.java:105)
at org.jboss.ws.core.jaxws.client.DispatchHTTPBinding.getReturnObject(DispatchHTTPBinding.java:110)
at org.jboss.ws.core.jaxws.client.DispatchImpl.getReturnObject(DispatchImpl.java:465)
at org.jboss.ws.core.jaxws.client.DispatchImpl.invokeInternalNonSOAP(DispatchImpl.java:302)
at org.jboss.ws.core.jaxws.client.DispatchImpl.invokeInternal(DispatchImpl.java:175)
at org.jboss.ws.core.jaxws.client.DispatchImpl.invoke(DispatchImpl.java:134)
Caused by: java.io.IOException: stream is closed
at sun.net.www.http.ChunkedInputStream.ensureOpen(ChunkedInputStream.java:151)
at sun.net.www.http.ChunkedInputStream.read(ChunkedInputStream.java:646)
at java.io.FilterInputStream.read(FilterInputStream.java:116)
at sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.read(HttpURLConnection.java:2669)
at sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.read(HttpURLConnection.java:2664)
at org.jboss.wsf.common.IOUtils.copyStream(IOUtils.java:67)
at org.jboss.ws.util.xml.BufferedStreamSource.<init>(BufferedStreamSource.java:60)
- blocks
-
JBPAPP-6268 Release and upgrade JBossWS Native for EAP 5.1.2
-
- Closed
-