From users-return-135416-apmail-tomcat-users-archive=tomcat.apache.org@tomcat.apache.org Fri Nov 04 22:49:49 2005 Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 38340 invoked from network); 4 Nov 2005 22:49:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 4 Nov 2005 22:49:49 -0000 Received: (qmail 56386 invoked by uid 500); 4 Nov 2005 22:49:36 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 56367 invoked by uid 500); 4 Nov 2005 22:49:36 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 56356 invoked by uid 99); 4 Nov 2005 22:49:35 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Nov 2005 14:49:35 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [193.252.22.156] (HELO smtp3.freeserve.com) (193.252.22.156) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Nov 2005 14:49:30 -0800 Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf3216.me.freeserve.com (SMTP Server) with ESMTP id 0E38FC40008D for ; Fri, 4 Nov 2005 23:49:14 +0100 (CET) Received: from [127.0.0.1] (user-2039.lns6-c10.dsl.pol.co.uk [84.68.167.247]) by mwinf3216.me.freeserve.com (SMTP Server) with ESMTP id DCC0DC40008A for ; Fri, 4 Nov 2005 23:49:13 +0100 (CET) X-ME-UUID: 20051104224913904.DCC0DC40008A@mwinf3216.me.freeserve.com Message-ID: <436BE566.705@apache.org> Date: Fri, 04 Nov 2005 22:49:10 +0000 From: Mark Thomas User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Tomcat Users List Subject: Re: response.sendError References: <436B65DA.11CE.00D8.0@salemhospital.org> In-Reply-To: <436B65DA.11CE.00D8.0@salemhospital.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N A guess without seeing the stack trace but I suspect that some of your response has been committed before you issue the redirect. This will cause an ISE to be thrown. See SRV.15.5 Mark PHIL CAVAZOS wrote: > Anyone run across this before? > > I created a servlet which has JDBC calls in it. As part of error catching, I have a response.sendError called if there is no data returned from a table call. I input to the sendError method the value of 700 (my custom error number) and a test message. I have a custome error page created to output a customized error message for this 700 error code. It was working fine in a web app, but when I switched it to a production app, I got an internal server error. The logs showed an IllegalStateException was created. Any ideas? > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org > For additional commands, e-mail: users-help@tomcat.apache.org > > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org