I may have spoken too soon on this.. It seems to only *not* work when
a client connection attempts to open up a persistent socket connection
with the OBD application. I'm not a java programmer, but here is a
snippet that causes the problem:
....
SchemeRegistry schemeRegistry = new SchemeRegistry();
schemeRegistry.register( new Scheme("https",
443,SSLSocketFactory.getSocketFactory()));
ThreadSafeClientConnManager cm = new
ThreadSafeClientConnManager();
cm.setMaxTotal(20);
HttpClient client = new DefaultHttpClient(cm);
HttpGet get = new HttpGet( url + "?" + content);
String line = "";
StringBuilder sb = new StringBuilder();
HttpResponse response;
response = client.execute(get);
HttpEntity entity = response.getEntity();
....
When that code is executed to hit my application (which has 10
maxconnections set in the datasource connection), it still opens up
and establishes all 20.. Any other thoughts?
thanks,
-chris
--
online documentation: http://openbd.org/manual/
google+ hints/tips: https://plus.google.com/115990347459711259462
http://groups.google.com/group/openbd?hl=en