RE: DBCP woes (running out of cursors).

2009-10-14 Thread Martin Gainty
Connection StatementHandle(this is where the READONLY/UPDATABLE/FORWARD/REVERSE cursor is defined) ResultSet close ResultSet CloseStatementHandle CloseConnection closing ResultSet closes the ResultSet only but has no effect on Statement Handle closing StatementHandle closes ResultSet and

Re: DBCP woes (running out of cursors).

2009-10-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bill, On 10/14/2009 5:05 PM, Bill Davidson wrote: > Usually, we don't need that many [connections], but sometimes, we get hit > really hard > with a lot of traffic and do need that many. BTW, this is load balanced > across 4 servers that can each do

Re: DBCP woes (running out of cursors).

2009-10-14 Thread Bill Davidson
Christopher Schultz wrote: >On 10/14/2009 2:17 PM, Bill Davidson wrote: >>Redhat 5.2 Server >Wow. Maybe I should have said RHEL 5.2. 5.3 would be the current version, so it's actually not that old. RedHat's starting over with the numbers does get confusing. >This config looks fine, though the

Re: [SCXML] Internal transition not producing expected results

2009-10-14 Thread Rahul Akolkar
On Wed, Oct 14, 2009 at 4:16 PM, Lee, Cheryl - ES/RDR -Gil wrote: > I am having problems with an internal transition in a composite state.  The > transitions "ONLINELOCAL", "ONLINEREMOTE", AND "OFFLINE" lead to the > appropriate states within ControlIsEnabled however, the entry and exit > actio

[SCXML] Internal transition not producing expected results

2009-10-14 Thread Lee, Cheryl - ES/RDR -Gil
I am having problems with an internal transition in a composite state. The transitions "ONLINELOCAL", "ONLINEREMOTE", AND "OFFLINE" lead to the appropriate states within ControlIsEnabled however, the entry and exit actions of ControlIsEnabled are triggered. This behavior is opposite of general

Re: DBCP woes (running out of cursors).

2009-10-14 Thread Dennis Lundberg
Bill Davidson wrote: > Redhat 5.2 Server > Java: Sun JDK 1.6.0_16 (64-bit) > Tomcat 6.0.20 (and whichever version of DBCP that includes) > Oracle 10g (10.2.0.3) > JDBC: ojdbc14.jar > > I've been trying to convert an old J2EE application to use DBCP connection > pools from an old custom connection

Re: DBCP woes (running out of cursors).

2009-10-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bill, On 10/14/2009 2:17 PM, Bill Davidson wrote: > Redhat 5.2 Server Wow. > I've been trying to convert an old J2EE application to use DBCP connection > pools from an old custom connection pool class (not a DataSource > interface). I've moved a co

DBCP woes (running out of cursors).

2009-10-14 Thread Bill Davidson
Redhat 5.2 Server Java: Sun JDK 1.6.0_16 (64-bit) Tomcat 6.0.20 (and whichever version of DBCP that includes) Oracle 10g (10.2.0.3) JDBC: ojdbc14.jar I've been trying to convert an old J2EE application to use DBCP connection pools from an old custom connection pool class (not a DataSource interf

Re: File Upload

2009-10-14 Thread James Carman
The parameters from your form aren't sent as usual when you use multipart form data. They are sent as "parts." So, as you iterate through the FileItem objects from your upload, some of them will be form fields. You can check by calling isFormField(). You can call getFieldName() to get the field

VFS: bug in zip file system?

2009-10-14 Thread Christopher Mason
Hi. It seems like there may be a bug in VFS's ZipFileSystem. This seems to still exist on trunk. ZipFileSystem.init() recurses through the zip file and stuffs ZipFileObjects in the cache. The cache is by default using soft references to hold onto the files. The ZipFileSystem makes sure t