ApacheHttpClient4Executor does not close connections.
Steps to reproduce: use httpclient singleconnection manager and execute multiple requests.
Error message:
2009-11-10 13:50:48,139 ERROR (http-localhost%2F127.0.0.1-8080-2) failed to load xx, caught java.lang.IllegalStateException: Invalid use of SingleClientConnManager: connection still allocated.
Make sure to release the connection before allocating another one.
If one uses e.g. ThreadSafeClientConnManager resteasy will consume all available connections.