Uploaded image for project: 'WS-Commons'
  1. WS-Commons
  2. WSCOMMONS-464

Building the transport/http module results in 49 unit test errors

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Cannot Reproduce
    • Transports 1.0
    • None
    • Transport
    • None
    • Linux

    Description

      Building the transport/modules/http module from the trunk "http://svn.apache.org/repos/asf/webservices/commons/trunk/modules/transport/" results in 49 unit test failures

      -------------------------------------------------------------------------------
      Test set: org.apache.axis2.transport.http.SimpleHTTPServerTest
      -------------------------------------------------------------------------------
      Tests run: 65, Failures: 0, Errors: 49, Skipped: 0, Time elapsed: 15.624 sec <<< FAILURE!
      0012:test=AsyncXML,messageType=SOAP11,data=ASCII,client=axis,endpoint=axis(org.apache.axis2.transport.http.SimpleHTTPServerTest) Time elapsed: 0.008 sec <<< ERROR!
      java.lang.NoSuchMethodError: org/apache/axis2/transport/base/BaseUtils.doWriteMTOM(Lorg/apache/axis2/context/MessageContext;)Z
      at org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:149)
      at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:440)
      at org.apache.axis2.description.OutOnlyAxisOperationClient.executeImpl(OutOnlyAxisOperation.java:272)
      at org.apache.axis2.client.OperationClient.execute(OperationClient.java:165)
      at org.apache.axis2.transport.testkit.axis2.client.AxisTestClient.send(AxisTestClient.java:121)
      at org.apache.axis2.transport.testkit.axis2.client.AxisAsyncTestClient.sendMessage(AxisAsyncTestClient.java:41)
      at org.apache.axis2.transport.testkit.axis2.client.AxisAsyncTestClient.sendMessage(AxisAsyncTestClient.java:29)
      at org.apache.axis2.transport.testkit.client.AsyncTestClientAdapter.sendMessage(AsyncTestClientAdapter.java:45)
      at org.apache.axis2.transport.testkit.tests.async.AsyncMessageTestCase.doRunTest(AsyncMessageTestCase.java:50)
      at org.apache.axis2.transport.testkit.tests.MessageTestCase.runTest(MessageTestCase.java:62)
      at junit.framework.TestCase.runBare(TestCase.java:130)
      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:120)
      at junit.framework.TestSuite.runTest(TestSuite.java:230)
      at org.apache.axis2.transport.testkit.ManagedTestSuite.run(ManagedTestSuite.java:118)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:45)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
      at java.lang.reflect.Method.invoke(Method.java:599)
      at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213)
      at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
      at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
      at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

      Attachments

        Activity

          People

            Unassigned Unassigned
            rslade Richard Slade
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: