readthefuckingmanual.net

[SOLVED] java.lang.IllegalStateException: Invalid use of SingleClientConnManager: connection still allocated. Make sure to release the connection before allocating another one.

Error added: 2013-02-03T12:30:12Z

0 people waiting for the answer...

1 answers found.

Answer 2080 (0.0% helpful)

final HttpClient httpClient = new DefaultHttpClient();
final ClientExecutor executor = new ApacheHttpClient4Executor(httpClient);
client = ProxyFactory.create(YourClass.class, "http://some.server/rest/", executor);
Permalink

Add an answer/solution

If you know the answer, please add your own solution below.
If you don't know, but find out later, please come back and share your answer - there will be other people struggling with this too.


Please enter 61948 here

If you want to be notified via email when this is solved, enter your email address here: