Re: [dbcp]Closed Connection or Exhausted Resultset error

2015-04-28 Thread Phil Steitz
On 4/27/15 11:26 PM, Rohini T Nagaraj wrote: Hi, We are using the DBCP -org.apache.commons-dbcp-1.2.2.jar for connection pooling. I don't think so. You are using RS.isClosed below, which is JDK 1.6+. So assume you are using DBCP 1.4? Pls verify DBCP and pool version. Connection pool is

Re: [dbcp]Closed Connection or Exhausted Resultset error

2015-04-28 Thread Rohini T Nagaraj
Hi , We use org.apache.commons-dbcp-1.2.2.jar and com.springsource.org.apache.commons.pool-1.4.0.jar. Looks like we should be using a java less than 1.4 as per this link http://commons.apache.org/proper/commons-dbcp/. But we are using java 1.7. Please confirm if this incompatibility is

Re: [dbcp]Closed Connection or Exhausted Resultset error

2015-04-28 Thread Phil Steitz
On 4/28/15 9:47 AM, Rohini T Nagaraj wrote: Hi , We use org.apache.commons-dbcp-1.2.2.jar and com.springsource.org.apache.commons.pool-1.4.0.jar. Looks like we should be using a java less than 1.4 as per this link http://commons.apache.org/proper/commons-dbcp/. But we are using java 1.7.

How can I restart a Commons Daemon Service Runner via API?

2015-04-28 Thread Volker Berlin
Hi, How can I restart a Commons Daemon Service Runner from Java inside? Is there a simple API? or can I request the service name to restart it with an external process? Volker