[ https://issues.apache.org/activemq/browse/SM-771?page=all ]

Guillaume Nodet resolved SM-771.
--------------------------------

    Resolution: Fixed

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


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



> An IllegalStateException is generated when using an http provider endpoint 
> when it is deployed using the Servicemix Web war (managed mode).
> -------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: SM-771
>                 URL: https://issues.apache.org/activemq/browse/SM-771
>             Project: ServiceMix
>          Issue Type: Bug
>          Components: servicemix-http
>    Affects Versions: 3.0.1, 3.1
>            Reporter: Jeff Puro
>         Assigned To: Jeff Puro
>             Fix For: 3.1, 3.0.1
>
>         Attachments: servicemix-http-connection-manager-3.0.1.patch
>
>   Original Estimate: 1 hour
>  Remaining Estimate: 1 hour
>
> When using an HTTP provider endpoint while the service unit is deployed using 
> the apache servicemix web project (that is using managed mode), it generates 
> the following Exception.
> java.lang.IllegalStateException: Connection factory has been shutdown.
>       at 
> org.apache.commons.httpclient.MultiThreadedHttpConnectionManager.doGetConnection(MultiThreadedHttpConnectionManager.java:454)
>       at 
> org.apache.commons.httpclient.MultiThreadedHttpConnectionManager.getConnectionWithTimeout(MultiThreadedHttpConnectionManager.java:407)
>       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:346)
>       at 
> org.apache.servicemix.http.processors.ProviderProcessor.process(ProviderProcessor.java:153)
>       at 
> org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:410)
>       at 
> org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLifeCycle.java:43)
>       at 
> org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:624)
>       at 
> org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:170)
>       at 
> org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:177)
>       at 
> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:227)
>       at 
> org.apache.geronimo.connector.work.WorkerContext.run(WorkerContext.java:291)
>       at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(Unknown 
> Source)
>       at java.lang.Thread.run(Thread.java:595)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to