You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicemix.apache.org by gn...@apache.org on 2006/12/13 11:04:39 UTC

svn commit: r486575 - /incubator/servicemix/branches/servicemix-3.0/servicemix-http/src/main/java/org/apache/servicemix/http/HttpLifeCycle.java

Author: gnodet
Date: Wed Dec 13 02:04:38 2006
New Revision: 486575

URL: http://svn.apache.org/viewvc?view=rev&rev=486575
Log:
SM-771: An IllegalStateException is generated when using an http provider endpoint when it is deployed using the Servicemix Web war (managed mode).
Thanks to Jeff Puro for providing this patch !

Modified:
    incubator/servicemix/branches/servicemix-3.0/servicemix-http/src/main/java/org/apache/servicemix/http/HttpLifeCycle.java

Modified: incubator/servicemix/branches/servicemix-3.0/servicemix-http/src/main/java/org/apache/servicemix/http/HttpLifeCycle.java
URL: http://svn.apache.org/viewvc/incubator/servicemix/branches/servicemix-3.0/servicemix-http/src/main/java/org/apache/servicemix/http/HttpLifeCycle.java?view=diff&rev=486575&r1=486574&r2=486575
==============================================================================
--- incubator/servicemix/branches/servicemix-3.0/servicemix-http/src/main/java/org/apache/servicemix/http/HttpLifeCycle.java (original)
+++ incubator/servicemix/branches/servicemix-3.0/servicemix-http/src/main/java/org/apache/servicemix/http/HttpLifeCycle.java Wed Dec 13 02:04:38 2006
@@ -140,6 +140,8 @@
         }
         if (connectionManager != null) {
             connectionManager.shutdown();
+            connectionManager = null;
+            client = null;
         }
     }