Author: gnodet
Date: Wed Dec 13 02:07:57 2006
New Revision: 486578
URL: http://svn.apache.org/viewvc?view=rev&rev=486578
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/trunk/deployables/bindingcomponents/servicemix-http/src/main/java/org/apache/servicemix/http/HttpComponent.java
Modified:
incubator/servicemix/trunk/deployables/bindingcomponents/servicemix-http/src/main/java/org/apache/servicemix/http/HttpComponent.java
URL:
http://svn.apache.org/viewvc/incubator/servicemix/trunk/deployables/bindingcomponents/servicemix-http/src/main/java/org/apache/servicemix/http/HttpComponent.java?view=diff&rev=486578&r1=486577&r2=486578
==============================================================================
---
incubator/servicemix/trunk/deployables/bindingcomponents/servicemix-http/src/main/java/org/apache/servicemix/http/HttpComponent.java
(original)
+++
incubator/servicemix/trunk/deployables/bindingcomponents/servicemix-http/src/main/java/org/apache/servicemix/http/HttpComponent.java
Wed Dec 13 02:07:57 2006
@@ -225,6 +225,8 @@
}
if (connectionManager != null) {
connectionManager.shutdown();
+ connectionManager = null;
+ client = null;
}
}