cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Freeman Fang <freeman.f...@iona.com>
Subject Re: FailoverTest Failure on Windows
Date Wed, 30 May 2007 08:30:45 GMT
Hi Andrea,

This failover test also failed on cruisecontrol machine occasionally.

See the link
http://pdceltix.boston.amer.iona.com:8080/cruisecontrol/buildresults/cxf?log=log20070528231251

Freeman

Andrea Smyth wrote:
> Has anyone seen the Failover test failing with the stacktrace below?
> I am seeing this occasionally on Windows, JDK 1.5.0_09.
> Have now also seen it on a (slow) Solaris box.
>
> Andrea.
>
> -------------------------------------------------------
> T E S T S
> -------------------------------------------------------
> Running org.apache.cxf.systest.clustering.FailoverTest
> Tests run: 10, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 
> 38.032 sec <<<
> FAILURE!
> testDefaultSequentialStrategy(org.apache.cxf.systest.clustering.FailoverTest)  
> Time elapsed: 2.012 sec  <<< ERROR!
> javax.xml.ws.soap.SOAPFaultException: Error reading XMLStreamReader.
>        at 
> org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:165)
>        at $Proxy43.greetMe(Unknown Source)
>        at 
> org.apache.cxf.systest.clustering.FailoverTest.strategyTest(FailoverTest.java:314) 
>
>        at 
> org.apache.cxf.systest.clustering.FailoverTest.testDefaultSequentialStrategy(FailoverTest.java:284)

>
>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>        at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 
>
>        at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

>
>        at java.lang.reflect.Method.invoke(Method.java:585)
>        at 
> org.junit.internal.runners.TestMethodRunner.executeMethodBody(TestMethodRunner.java:99)

>
>        at 
> org.junit.internal.runners.TestMethodRunner.runUnprotected(TestMethodRunner.java:81)

>
>        at 
> org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:34)

>
>        at 
> org.junit.internal.runners.TestMethodRunner.runMethod(TestMethodRunner.java:75) 
>
>        at 
> org.junit.internal.runners.TestMethodRunner.run(TestMethodRunner.java:45)
>        at 
> org.junit.internal.runners.TestClassMethodsRunner.invokeTestMethod(TestClassMethodsRunner.java:66)

>
>        at 
> org.junit.internal.runners.TestClassMethodsRunner.run(TestClassMethodsRunner.java:35)

>
>        at 
> org.junit.internal.runners.TestClassRunner$1.runUnprotected(TestClassRunner.java:42)

>
>        at 
> org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:34)

>
>        at 
> org.junit.internal.runners.TestClassRunner.run(TestClassRunner.java:52)
>        at 
> org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62) 
>
>        at 
> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:138)

>
>        at 
> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:163)

>
>        at org.apache.maven.surefire.Surefire.run(Surefire.java:84)
>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>        at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 
>
>        at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

>
>        at java.lang.reflect.Method.invoke(Method.java:585)
>        at 
> org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:244)

>
>        at 
> org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:814) 
>
> Caused by: org.apache.cxf.binding.soap.SoapFault: Error reading 
> XMLStreamReader.
>        at 
> org.apache.cxf.binding.soap.interceptor.ReadHeadersInterceptor.handleMessage(ReadHeadersInterceptor.java:183)

>
>        at 
> org.apache.cxf.binding.soap.interceptor.ReadHeadersInterceptor.handleMessage(ReadHeadersInterceptor.java:57)

>
>        at 
> org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:147)

>
>        at 
> org.apache.cxf.endpoint.ClientImpl.onMessage(ClientImpl.java:394)
>        at 
> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1837)

>
>        at 
> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.doClose(HTTPConduit.java:1702)

>
>        at 
> org.apache.cxf.io.AbstractCachedOutputStream.close(AbstractCachedOutputStream.java:114)

>
>        at 
> org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:65)
>        at 
> org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:62)

>
>        at 
> org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:147)

>
>        at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:249)
>        at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:200)
>        at 
> org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:73)
>        at 
> org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:134)
>        ... 27 more
> Caused by: com.ctc.wstx.exc.WstxEOFException: Unexpected EOF in prolog
>        at [row,col {unknown-source}]: [1,0]
>        at 
> com.ctc.wstx.sr.StreamScanner.throwUnexpectedEOF(StreamScanner.java:661)
>        at 
> com.ctc.wstx.sr.BasicStreamReader.handleEOF(BasicStreamReader.java:2134)
>        at 
> com.ctc.wstx.sr.BasicStreamReader.nextFromProlog(BasicStreamReader.java:2040) 
>
>        at 
> com.ctc.wstx.sr.BasicStreamReader.next(BasicStreamReader.java:1069)
>        at 
> com.ctc.wstx.sr.BasicStreamReader.nextTag(BasicStreamReader.java:1095)
>        at 
> org.apache.cxf.binding.soap.interceptor.ReadHeadersInterceptor.handleMessage(ReadHeadersInterceptor.java:84)

>
>        ... 40 more
>
>
> Results :
>
> Tests in error:
>  
> testDefaultSequentialStrategy(org.apache.cxf.systest.clustering.FailoverTest) 
>
>
> Tests run: 10, Failures: 0, Errors: 1, Skipped: 0
>


Mime
View raw message