Uploaded image for project: 'Spring Web Services'
  1. Spring Web Services
  2. SWS-482

java.lang.IllegalStateException: Connection factory has been shutdown

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.5.5
    • Fix Version/s: 1.5.7
    • Component/s: Core
    • Labels:
      None

      Description

      spring-ws does not seem to correctly reinitialize the httpclient connection manager under certain circumstances

      Caused by: java.lang.IllegalStateException: Connection factory has been shutdown.
      	at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager.doGetConnection(MultiThreadedHttpConnectionManager.java:456)
      	at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager.getConnectionWithTimeout(MultiThreadedHttpConnectionManager.java:394)
      	at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:152)
      	at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:396)
      	at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:324)
      	at org.springframework.ws.transport.http.CommonsHttpConnection.onSendAfterWrite(CommonsHttpConnection.java:100)
      	at org.springframework.ws.transport.AbstractWebServiceConnection.send(AbstractWebServiceConnection.java:44)
      	at org.springframework.ws.client.core.WebServiceTemplate.sendRequest(WebServiceTemplate.java:585)
      	at org.springframework.ws.client.core.WebServiceTemplate.doSendAndReceive(WebServiceTemplate.java:548)
      	at org.springframework.ws.client.core.WebServiceTemplate.sendAndReceive(WebServiceTemplate.java:501)
      	at org.springframework.ws.client.core.WebServiceTemplate.doSendAndReceive(WebServiceTemplate.java:456)
      	at org.springframework.ws.client.core.WebServiceTemplate.sendSourceAndReceiveToResult(WebServiceTemplate.java:402)
      	at org.springframework.ws.client.core.WebServiceTemplate.sendSourceAndReceiveToResult(WebServiceTemplate.java:393)
      	at org.springframework.ws.client.core.WebServiceTemplate.sendSourceAndReceiveToResult(WebServiceTemplate

      i cannot come up with a reproducible testcase for the moment, but when it happens it is always after we redeploy our application (weblogic 9.2MP2). It is quite an impacting annoyance because we have to restart the server to get things back in line.

        Issue Links

          Activity

          Transition Time In Source Status Execution Times Last Executer Last Execution Date
          Open Open In Progress In Progress
          99d 2h 14m 1 Arjen Poutsma 19/May/09 10:35 PM
          In Progress In Progress Resolved Resolved
          43s 1 Arjen Poutsma 19/May/09 10:36 PM
          Resolved Resolved Closed Closed
          1080d 8h 27m 1 Arjen Poutsma 04/May/12 7:03 AM

            People

            • Assignee:
              arjen.poutsma Arjen Poutsma
              Reporter:
              heymjo Jorg Heymans
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: