incubator-cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Dey (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLOUDSTACK-487) HttpClient in multithreaded environment
Date Mon, 19 Nov 2012 17:02:05 GMT

    [ https://issues.apache.org/jira/browse/CLOUDSTACK-487?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13500383#comment-13500383
] 

Eric Dey commented on CLOUDSTACK-487:
-------------------------------------

I am currently out of the office and will return on August 10th. If you require immediate
support on a Caringo product, please use our help web site at: [1]https://support.caringo.com/

  -Eric


----------------------------------
Eric Dey  [2]<eric.dey@caringo.com>
Caringo, Inc.  (512)782-9902 
----------------------------------------------------------------------------------------
[1] https://support.caringo.com/
[2] mailto:eric.dey@caringo.com

                
> HttpClient in multithreaded environment
> ---------------------------------------
>
>                 Key: CLOUDSTACK-487
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-487
>             Project: CloudStack
>          Issue Type: Bug
>          Components: Network Devices
>    Affects Versions: 4.0.0, 4.0.1, 4.1.0
>         Environment: Nicira nvp plugin in use.
>            Reporter: Hiroaki Kawai
>            Assignee: Hugo Trippaers
>              Labels: patch
>
> Running cloudstack with nicira nvp plugin, I got following error. It seems that HttpClient
in servlet must use MultiThreadedHttpConnectionManager explicitly. Patch will be submitted
in reviewboard. https://reviews.apache.org/r/8075/
> 2012-11-14 18:21:51,576 WARN  [commons.httpclient.SimpleHttpConnectionManager] (DirectAgent-62:null)
SimpleHttpConnectionManager being used incorrectly.  Be
> sure that HttpMethod.releaseConnection() is always called and that only one thread and/or
method is using this connection manager at a time.
> 2012-11-14 18:21:52,017 WARN  [agent.manager.DirectAgentAttache] (DirectAgent-62:null)
Seq 5-847183891: Exception Caught while executing command
> java.lang.IllegalStateException: Connection is not open
>         at org.apache.commons.httpclient.HttpConnection.assertOpen(HttpConnection.java:1277)
>         at org.apache.commons.httpclient.HttpConnection.write(HttpConnection.java:974)
>         at org.apache.commons.httpclient.HttpConnection.write(HttpConnection.java:943)
>         at org.apache.commons.httpclient.HttpConnection.print(HttpConnection.java:1033)
>         at org.apache.commons.httpclient.HttpMethodBase.writeRequestHeaders(HttpMethodBase.java:2187)
>         at org.apache.commons.httpclient.HttpMethodBase.writeRequest(HttpMethodBase.java:2060)
>         at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1096)
>         at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:398)
>         at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
>         at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
>         at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323)
>         at com.cloud.network.nicira.NiciraNvpApi.executeMethod(NiciraNvpApi.java:344)
>         at com.cloud.network.nicira.NiciraNvpApi.executeDeleteObject(NiciraNvpApi.java:294)
>         at com.cloud.network.nicira.NiciraNvpApi.deleteLogicalSwitchPort(NiciraNvpApi.java:172)
>         at com.cloud.network.resource.NiciraNvpResource.executeRequest(NiciraNvpResource.java:286)
>         at com.cloud.network.resource.NiciraNvpResource.executeRequest(NiciraNvpResource.java:192)
>         at com.cloud.network.resource.NiciraNvpResource.executeRequest(NiciraNvpResource.java:172)
>         at com.cloud.agent.manager.DirectAgentAttache$Task.run(DirectAgentAttache.java:191)
>         at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
>         at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
>         at java.util.concurrent.FutureTask.run(FutureTask.java:166)
>         at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:165)
>         at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:266)
>         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
>         at java.lang.Thread.run(Thread.java:679)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message