[jbossws-issues] [JBoss JIRA] Commented: (JBWS-2816) SymmetricBindingClientTestCase and AsymmetricBindingClientTestCase are Failed on Windows

Jim Ma (JIRA) jira-events at lists.jboss.org
Thu Nov 12 22:08:06 EST 2009


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

Jim Ma commented on JBWS-2816:
------------------------------

I've added the comment to this fix. 
It is just  the weird thing on Windows. I suspect it is related to the system socket implementation. So disable the chunk mode on Windows can let the client sent out all the request one time and makes server happy.  There is something sent out by Windows that the server sensitive. 

> SymmetricBindingClientTestCase and AsymmetricBindingClientTestCase are Failed on Windows
> ----------------------------------------------------------------------------------------
>
>                 Key: JBWS-2816
>                 URL: https://jira.jboss.org/jira/browse/JBWS-2816
>             Project: JBoss Web Services
>          Issue Type: Sub-task
>      Security Level: Public(Everyone can see) 
>          Components: jbossws-cxf
>            Reporter: Jim Ma
>            Assignee: Jim Ma
>             Fix For:  jbossws-cxf-3.2.2
>
>
> These two tests are green on Linux . This is the error message when running on windows 
> ------------------------------------------------------------------------------- 
> Test set: org.jboss.test.ws.jaxws.cxf.interop.wstrust10.SymmetricBindingClientTestCase 
> ------------------------------------------------------------------------------- 
> Tests run: 3, Failures: 0, Errors: 3, Skipped: 0, Time elapsed: 14.148 sec <<< FAILURE! 
> testScenario2(org.jboss.test.ws.jaxws.cxf.interop.wstrust10.SymmetricBindingClientTestCase) Time elapsed: 9.673 sec <<< ERROR! 
> javax.xml.ws.WebServiceException: Could not send Message. 
> at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:135) 
> at $Proxy43.echo(Unknown Source) 
> at org.jboss.test.ws.jaxws.cxf.interop.wstrust10.SymmetricBindingClientTestCase.testScenario2(SymmetricBindingClientTestCase.java:65) 
> Caused by: java.net.SocketException: Connection reset 
> at java.net.SocketInputStream.read(SocketInputStream.java:168) 
> at java.io.BufferedInputStream.fill(BufferedInputStream.java:218) 
> at java.io.BufferedInputStream.read1(BufferedInputStream.java:258) 
> at java.io.BufferedInputStream.read(BufferedInputStream.java:317) 
> at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:687) 
> at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:632) 
> at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:766) 
> at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:632) 
> at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1072) 
> at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:373) 
> at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponseInternal(HTTPConduit.java:2064) 
> at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:2040) 
> at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1965) 
> at org.apache.cxf.io.CacheAndWriteOutputStream.postClose(CacheAndWriteOutputStream.java:47) 
> at org.apache.cxf.io.CachedOutputStream.close(CachedOutputStream.java:188) 
> at org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:66) 
> at org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:627) 
> at org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:62) 
> at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:236) 
> at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:478) 
> at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:308) 
> at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:260) 
> at org.apache.cxf.ws.security.trust.STSClient.requestSecurityToken(STSClient.java:403) 
> at org.apache.cxf.ws.security.trust.STSClient.requestSecurityToken(STSClient.java:310) 
> at org.apache.cxf.ws.security.policy.interceptors.IssuedTokenInterceptorProvider$IssuedTokenOutInterceptor.handleMessage(IssuedTokenInterceptorProvider.java:127) 
> at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:236) 
> at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:478) 
> at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:308) 
> at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:260) 
> at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:73) 
> at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:124) 
> ... 32 more 
> testScenario5(org.jboss.test.ws.jaxws.cxf.interop.wstrust10.SymmetricBindingClientTestCase) Time elapsed: 1.842 sec <<< ERROR! 
> javax.xml.ws.WebServiceException: org.apache.cxf.service.factory.ServiceConstructionException: Failed to create service. 
> at org.apache.cxf.jaxws.ServiceImpl.<init>(ServiceImpl.java:149) 
> at org.apache.cxf.jaxws.spi.ProviderImpl.createServiceDelegate(ProviderImpl.java:65) 
> at javax.xml.ws.Service.<init>(Service.java:56) 
> at javax.xml.ws.Service.create(Service.java:680) 
> at org.jboss.test.ws.jaxws.cxf.interop.wstrust10.SymmetricBindingClientTestCase.testScenario5(SymmetricBindingClientTestCase.java:77) 
> Caused by: org.apache.cxf.service.factory.ServiceConstructionException: Failed to create service. 
> at org.apache.cxf.wsdl11.WSDLServiceFactory.<init>(WSDLServiceFactory.java:93) 
> at org.apache.cxf.jaxws.ServiceImpl.initializePorts(ServiceImpl.java:204) 
> at org.apache.cxf.jaxws.ServiceImpl.<init>(ServiceImpl.java:147) 
> ... 34 more 
> Caused by: javax.wsdl.WSDLException: WSDLException (at /wsdl:definitions/wsdl:import/wsdl:definitions/wsdl:types/xsd:schema): faultCode=PARSER_ERROR: Problem parsing 'http://131.107.72.15/Security_Federation_FederatedService_Indigo/Symmetric.svc?xsd=xsd2'.: java.net.SocketException: Connection reset 
> at com.ibm.wsdl.xml.WSDLReaderImpl.getDocument(Unknown Source) 
> at com.ibm.wsdl.xml.WSDLReaderImpl.parseSchema(Unknown Source) 
> at com.ibm.wsdl.xml.WSDLReaderImpl.parseSchema(Unknown Source) 
> at com.ibm.wsdl.xml.WSDLReaderImpl.parseTypes(Unknown Source) 
> at com.ibm.wsdl.xml.WSDLReaderImpl.parseDefinitions(Unknown Source) 
> at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source) 
> at com.ibm.wsdl.xml.WSDLReaderImpl.parseImport(Unknown Source) 
> at com.ibm.wsdl.xml.WSDLReaderImpl.parseDefinitions(Unknown Source) 
> at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source) 
> at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source) 
> at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source) 
> at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source) 
> at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source) 
> at org.apache.cxf.wsdl11.WSDLManagerImpl.loadDefinition(WSDLManagerImpl.java:210) 
> at org.apache.cxf.wsdl11.WSDLManagerImpl.getDefinition(WSDLManagerImpl.java:175) 
> at org.apache.cxf.wsdl11.WSDLServiceFactory.<init>(WSDLServiceFactory.java:91) 
> ... 36 more 
> Caused by: java.net.SocketException: Connection reset 
> at java.net.SocketInputStream.read(SocketInputStream.java:168) 
> at java.io.BufferedInputStream.fill(BufferedInputStream.java:218) 
> at java.io.BufferedInputStream.read1(BufferedInputStream.java:258) 
> at java.io.BufferedInputStream.read(BufferedInputStream.java:317) 
> at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:687) 
> at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:632) 
> at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:652) 
> at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1072) 
> at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source) 
> at org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown Source) 
> at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) 
> at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) 
> at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) 
> at org.apache.xerces.parsers.DOMParser.parse(Unknown Source) 
> at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source) 
> ... 52 more 
> testScenario6(org.jboss.test.ws.jaxws.cxf.interop.wstrust10.SymmetricBindingClientTestCase) Time elapsed: 1.971 sec <<< ERROR! 
> javax.xml.ws.WebServiceException: org.apache.cxf.service.factory.ServiceConstructionException: Failed to create service. 
> at org.apache.cxf.jaxws.ServiceImpl.<init>(ServiceImpl.java:149) 
> at org.apache.cxf.jaxws.spi.ProviderImpl.createServiceDelegate(ProviderImpl.java:65) 
> at javax.xml.ws.Service.<init>(Service.java:56) 
> at javax.xml.ws.Service.create(Service.java:680) 
> at org.jboss.test.ws.jaxws.cxf.interop.wstrust10.SymmetricBindingClientTestCase.testScenario6(SymmetricBindingClientTestCase.java:94) 
> Caused by: org.apache.cxf.service.factory.ServiceConstructionException: Failed to create service. 
> at org.apache.cxf.wsdl11.WSDLServiceFactory.<init>(WSDLServiceFactory.java:93) 
> at org.apache.cxf.jaxws.ServiceImpl.initializePorts(ServiceImpl.java:204) 
> at org.apache.cxf.jaxws.ServiceImpl.<init>(ServiceImpl.java:147) 
> ... 34 more 
> Caused by: javax.wsdl.WSDLException: WSDLException (at /wsdl:definitions/wsdl:import/wsdl:definitions/wsdl:types/xsd:schema): faultCode=PARSER_ERROR: Problem parsing 'http://131.107.72.15/Security_Federation_FederatedService_Indigo/Symmetric.svc?xsd=xsd2'.: java.net.SocketException: Connection reset 
> at com.ibm.wsdl.xml.WSDLReaderImpl.getDocument(Unknown Source) 
> at com.ibm.wsdl.xml.WSDLReaderImpl.parseSchema(Unknown Source) 
> at com.ibm.wsdl.xml.WSDLReaderImpl.parseSchema(Unknown Source) 
> at com.ibm.wsdl.xml.WSDLReaderImpl.parseTypes(Unknown Source) 
> at com.ibm.wsdl.xml.WSDLReaderImpl.parseDefinitions(Unknown Source) 
> at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source) 
> at com.ibm.wsdl.xml.WSDLReaderImpl.parseImport(Unknown Source) 
> at com.ibm.wsdl.xml.WSDLReaderImpl.parseDefinitions(Unknown Source) 
> at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source) 
> at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source) 
> at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source) 
> at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source) 
> at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source) 
> at org.apache.cxf.wsdl11.WSDLManagerImpl.loadDefinition(WSDLManagerImpl.java:210) 
> at org.apache.cxf.wsdl11.WSDLManagerImpl.getDefinition(WSDLManagerImpl.java:175) 
> at org.apache.cxf.wsdl11.WSDLServiceFactory.<init>(WSDLServiceFactory.java:91) 
> ... 36 more 
> Caused by: java.net.SocketException: Connection reset 
> at java.net.SocketInputStream.read(SocketInputStream.java:168) 
> at java.io.BufferedInputStream.fill(BufferedInputStream.java:218) 
> at java.io.BufferedInputStream.read1(BufferedInputStream.java:258) 
> at java.io.BufferedInputStream.read(BufferedInputStream.java:317) 
> at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:687) 
> at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:632) 
> at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:652) 
> at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1072) 
> at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source) 
> at org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown Source) 
> at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) 
> at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) 
> at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) 
> at org.apache.xerces.parsers.DOMParser.parse(Unknown Source) 
> at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source) 
> ... 52 more 
> at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1072) 
> at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source) 
> at org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown Source) 
> at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) 
> at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) 
> at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) 
> at org.apache.xerces.parsers.DOMParser.parse(Unknown Source) 
> at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source) 
> ... 52 more

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbossws-issues mailing list