java.net.SocketException: Too many open files

2009-06-03 Thread John . C . Cartwright
Hello All, something strange happened to our tomcat 5.5 instance running on RHEL Linux. Suddenly we began getting the exception listed below written out to the catalina.out log. It was repeated approx 4 million times w/in a couple of hours until it filled up the file system and hung tomcat.

strange problem w/ connection pool and Oracle

2009-02-11 Thread John . C . Cartwright
Hello All, I'm having a rather strange problem using Oracle-specific types obtained from a connection pool defined my my context.xml. I'm reading the ResultSet w/ getObject, but then when I try to cast the Object to the correct type, I see: Cause: java.lang.ClassCastException: oracle.sql.STRUCT

Re: Problem with POST to servlet: 16384 bytes maximum?

2008-08-07 Thread John . C . Cartwright
I've had similar problems in various versions of tomcat. Currently the problem seems to exist in 6.0.16 but not in 6.0.14 nor 5.5.17. There was a bug filed, but I don't have the reference handy. --john - Original Message - From: Michele Fuortes [EMAIL PROTECTED] Date: Thursday, August

unable to read complete POST body via tomcat connector

2008-05-04 Thread John . C . Cartwright
Hello All, I'm trying to POST a relatively small amount of content (22K) and find that when the request comes via apache/mod_jk, I can only read part of the body. The same request to standalone tomcat (HTTP connector) works file. I'm reading the POST body with code like: BufferedReader reader

Re: unable to read complete POST body via tomcat connector

2008-05-04 Thread John . C . Cartwright
Thanks for your reply Mark and sorry I didn't include more specifics the first time. Tomcat version 5.5.15 mod_jk 1.2.8 Apache 2.0.46 mod_jk-ap20-1.2.8 Java 1.5.0_06 Small files read completely, large files read different amounts depending of the file. I can't find pattern in how much gets

Re: unable to read complete POST body via tomcat connector

2008-05-04 Thread John . C . Cartwright
Thanks for your reply Ben. No, there's no SSL involved. --john - Original Message - From: Ben Stringer [EMAIL PROTECTED] Date: Sunday, May 4, 2008 0:50 am Subject: Re: unable to read complete POST body via tomcat connector On Sun, 2008-05-04 at 00:41 -0600, [EMAIL PROTECTED] wrote: