Hi all,

One of integration tests, CharacterEncodingTest is failing in my environment under "maven". I'm using Linux(Ubuntu)/2.6.10-5-386 i386 java/1.4.2_08 and maven/1.0.2. I have run the test case using idea-intel J and the test case passed perfectly. As this test case is passed on other environmets and passed with idea-intel J, it seems pretty hard to pinpoint the problem.

Does other Linux(Ubuntu) users face this problem ?. Could someone help me on this.

Thanks

Saminda

p.s. The exception through,

org.apache.axis2.AxisFault: Connection reset; nested exception is:
       java.net.SocketException: Connection reset; nested exception is:
       org.apache.axis2.AxisFault: Connection reset; nested exception is:
       java.net.SocketException: Connection reset
at org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:145)
       at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:92)
at org.apache.axis2.clientapi.TwoWayTransportBasedSender.send(TwoWayTransportBasedSender.java:34) at org.apache.axis2.clientapi.InOutMEPClient.invokeBlocking(InOutMEPClient.java:174)
       at org.apache.axis2.clientapi.Call.invokeBlocking(Call.java:91)
at org.apache.axis2.engine.CharctersetEncodingTest.runTest(CharctersetEncodingTest.java:113) at org.apache.axis2.engine.CharctersetEncodingTest.runtest(CharctersetEncodingTest.java:135) at org.apache.axis2.engine.CharctersetEncodingTest.testSimpleString(CharctersetEncodingTest.java:139)
       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:324)
       at junit.framework.TestCase.runTest(TestCase.java:154)
       at junit.framework.TestCase.runBare(TestCase.java:127)
       at junit.framework.TestResult$1.protect(TestResult.java:106)
       at junit.framework.TestResult.runProtected(TestResult.java:124)
       at junit.framework.TestResult.run(TestResult.java:109)
       at junit.framework.TestCase.run(TestCase.java:118)
       at junit.framework.TestSuite.runTest(TestSuite.java:208)
       at junit.framework.TestSuite.run(TestSuite.java:203)
at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:325) at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:536) Caused by: org.apache.axis2.AxisFault: Connection reset; nested exception is:
       java.net.SocketException: Connection reset
at org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:195) at org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:116)
       ... 21 more
Caused by: java.net.SocketException: Connection reset
       at java.net.SocketInputStream.read(SocketInputStream.java:168)
       at java.io.BufferedInputStream.fill(BufferedInputStream.java:183)
       at java.io.BufferedInputStream.read(BufferedInputStream.java:201)
at org.apache.commons.httpclient.HttpConnection.isResponseAvailable(HttpConnection.java:897) at org.apache.commons.httpclient.HttpMethodBase.readResponseBody(HttpMethodBase.java:1691) at org.apache.commons.httpclient.HttpMethodBase.readResponseBody(HttpMethodBase.java:1634) at org.apache.commons.httpclient.HttpMethodBase.readResponse(HttpMethodBase.java:1597) at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:995) at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:393) at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:168) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:393) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:346) at org.apache.axis2.transport.http.CommonsHTTPTransportSender.transportConfigurationPOST(CommonsHTTPTransportSender.java:407) at org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:173)
       ... 22 more
------------- ---------------- ---------------
Testcase: testSimpleString(org.apache.axis2.engine.CharctersetEncodingTest): FAILED
Faliure in processing
junit.framework.AssertionFailedError: Faliure in processing
at org.apache.axis2.engine.CharctersetEncodingTest.runTest(CharctersetEncodingTest.java:129) at org.apache.axis2.engine.CharctersetEncodingTest.runtest(CharctersetEncodingTest.java:135) at org.apache.axis2.engine.CharctersetEncodingTest.testSimpleString(CharctersetEncodingTest.java:139)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

Reply via email to