hi all,
I also had this problem with CharacterEncodingTest test case once in a while.
Some of the MTOM test cases are also failing occationally due to this connection reset problem. I have noticed through the TCP monitor that some messages sent by simple axis server are incomplete. For example last  mime boundary missing in some response messages..

Also i have a similar issue with SwA test. In that test I simply opens a socket and sends the SwA request readed from a file. This worked fine with Axis1.x... But  I'm having troubles getting this  done with Axis2.x due to this connection reset error.
Even at the present time SwA test runs fine  inside Eclipse, runs fine when used with TCPmon,  but fails when tried with maven build......

Are we having inconssistancies with Simple Axis server..........

~Thilina

On 8/7/05, Chamil Thanthrimudalige <[EMAIL PROTECTED]> wrote:
hi,

I also have the same environment and
org.apache.axis2.engine.CharctersetEncodingTest is failing on mine too.

The error message that I see on the maven log file is appended bolow.

Chamil Thanthrimudalige.

org.apache.axis2.AxisFault: null; nested exception is:
        javax.xml.stream.XMLStreamException
        at
org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:97)
        at
org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:47)
        at
org.apache.axis2.clientapi.TwoWayTransportBasedSender.send(TwoWayTransportBasedSender.java:51)
        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.testWelcomeUnicode3(CharctersetEncodingTest.java:183)
        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: javax.xml.stream.XMLStreamException
        at com.bea.xml.stream.MXParser.checkForXMLDecl (MXParser.java:708)
        at com.bea.xml.stream.MXParser.setInput(MXParser.java:717)
        at
com.bea.xml.stream.MXParserFactory.createXMLStreamReader(MXParserFactory.java:235)
        at
com.bea.xml.stream.MXParserFactory.createXMLStreamReader (MXParserFactory.java:64)
        at
org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:89)
        ... 21 more
------------- ---------------- ---------------
Testcase:
testWelcomeUnicode3( 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.testWelcomeUnicode3(CharctersetEncodingTest.java :183)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:25)



Saminda Abeyruwan wrote:

> 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)
>
>
>
>




--
"May the SourcE be with u"
http://www.bloglines.com/blog/thilina

Reply via email to