Return-Path: Delivered-To: apmail-tomcat-dev-archive@www.apache.org Received: (qmail 6543 invoked from network); 25 Jan 2006 16:09:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 25 Jan 2006 16:09:49 -0000 Received: (qmail 62058 invoked by uid 500); 25 Jan 2006 16:09:42 -0000 Delivered-To: apmail-tomcat-dev-archive@tomcat.apache.org Received: (qmail 61923 invoked by uid 500); 25 Jan 2006 16:09:41 -0000 Mailing-List: contact dev-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Developers List" Delivered-To: mailing list dev@tomcat.apache.org Received: (qmail 61902 invoked by uid 500); 25 Jan 2006 16:09:40 -0000 Delivered-To: apmail-jakarta-tomcat-dev@jakarta.apache.org Received: (qmail 61898 invoked by uid 99); 25 Jan 2006 16:09:40 -0000 X-ASF-Spam-Status: No, hits=0.6 required=10.0 tests=NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Jan 2006 08:09:40 -0800 Received: by ajax.apache.org (Postfix, from userid 99) id 964ADE0; Wed, 25 Jan 2006 17:09:19 +0100 (CET) From: bugzilla@apache.org To: tomcat-dev@jakarta.apache.org Subject: DO NOT REPLY [Bug 26372] - java.lang.ThreadDeath when trying to reload an application In-Reply-To: X-Bugzilla-Reason: AssignedTo Message-Id: <20060125160919.964ADE0@ajax.apache.org> Date: Wed, 25 Jan 2006 17:09:19 +0100 (CET) X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG� RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND� INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=26372 ------- Additional Comments From cowwoc@bbs.darktech.org 2006-01-25 17:09 ------- For your information, I've tracked down at least one underlying cause of this kind of failure. During shutdown, Tomcat tries to serialize HTTP sessions to disk. If a session contains Hibernate objects associated with a hibernate session which has already been closed, then object.writeReplace() will throw an exception. This, in turn, causes the serialization process to failure and Tomcat's reload operation fails as well. I'd expect Tomcat to be more robust. Specifically, it should emit a warning that "serialization on shutdown" has failed but should not fail the overall reload operation. Secondly, if an exception is thrown during serialization it should print out the stack-trace, not just the exception message (which is what it does now). -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org For additional commands, e-mail: dev-help@tomcat.apache.org