Uploaded image for project: 'ServiceMix'
  1. ServiceMix
  2. SM-338

[ERROR] TEST org.apache.servicemix.http.ServerManagerTest FAILED

    XMLWordPrintableJSON

Details

    • Test
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.0-M1
    • None
    • None
    • OS X

    Description

      Testsuite: org.apache.servicemix.http.ServerManagerTest
      Tests run: 3, Failures: 0, Errors: 1, Time elapsed: 0.838 sec

      ------------- Standard Output ---------------
      java.net.ConnectException: Connection refused
      org.apache.servicemix.components.http.InvalidStatusResponseException: Invalid status response code: 404
      GET /Service1/echo HTTP/1.1
      User-Agent: Jakarta Commons-HttpClient/3.0^M
      Host: localhost:8192^M
      ^M

      org.apache.servicemix.components.http.InvalidStatusResponseException: Invalid status response code: 404
      org.apache.servicemix.components.http.InvalidStatusResponseException: Invalid status response code: 404
      GET /Service2/echo HTTP/1.1
      User-Agent: Jakarta Commons-HttpClient/3.0^M
      Host: localhost:8192^M
      ^M

      org.apache.servicemix.components.http.InvalidStatusResponseException: Invalid status response code: 404
      java.net.ConnectException: Connection refused
      ------------- ---------------- ---------------
      ------------- Standard Error -----------------
      Feb 16, 2006 4:45:30 AM org.slf4j.impl.JCLLoggerAdapter info
      INFO: Logging to org.slf4j.impl.JCLLoggerAdapter@c67a88 via org.mortbay.log.Slf4jLog
      Feb 16, 2006 4:45:30 AM org.slf4j.impl.JCLLoggerAdapter info
      INFO: Started SocketConnector @ localhost:8192
      Feb 16, 2006 4:45:30 AM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
      INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection refused
      Feb 16, 2006 4:45:30 AM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
      INFO: Retrying request
      Feb 16, 2006 4:45:30 AM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
      INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection refused
      Feb 16, 2006 4:45:30 AM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
      INFO: Retrying request
      Feb 16, 2006 4:45:30 AM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
      INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection refused
      Feb 16, 2006 4:45:30 AM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
      INFO: Retrying request
      Feb 16, 2006 4:45:30 AM org.slf4j.impl.JCLLoggerAdapter info
      INFO: Started SocketConnector @ localhost:8192
      Feb 16, 2006 4:45:30 AM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
      INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection refused
      Feb 16, 2006 4:45:30 AM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
      INFO: Retrying request
      Feb 16, 2006 4:45:30 AM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
      INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection refused
      Feb 16, 2006 4:45:30 AM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
      INFO: Retrying request
      Feb 16, 2006 4:45:30 AM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
      INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection refused
      Feb 16, 2006 4:45:30 AM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
      INFO: Retrying request
      Feb 16, 2006 4:45:30 AM org.slf4j.impl.JCLLoggerAdapter info
      INFO: Started SocketConnector @ localhost:8193
      ------------- ---------------- ---------------
      Testcase: test(org.apache.servicemix.http.ServerManagerTest): Caused an ERROR
      The requested context for path '/' overlaps with an existing context for path: '/Service1'
      java.lang.Exception: The requested context for path '/' overlaps with an existing context for path: '/Service1'
      at org.apache.servicemix.http.ServerManager.createContext(ServerManager.java:84)
      at org.apache.servicemix.http.ServerManagerTest.test(ServerManagerTest.java:78)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

      Attachments

        Activity

          People

            gnodet Guillaume Nodet
            chirino Hiram R. Chirino
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: