Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 58239 invoked by uid 500); 4 May 2001 06:39:03 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk Reply-To: tomcat-user@jakarta.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 58227 invoked from network); 4 May 2001 06:38:59 -0000 Received: from due.stud.ntnu.no (129.241.56.71) by h31.sny.collab.net with SMTP; 4 May 2001 06:38:59 -0000 Received: from localhost (localhost [127.0.0.1]) by due.stud.ntnu.no (Postfix) with ESMTP id 0E3A017AAE for ; Fri, 4 May 2001 08:38:59 +0200 (CEST) Received: from jeeves.stud.ntnu.no (jeeves [129.241.56.14]) by due.stud.ntnu.no (Postfix) with ESMTP id 7FA9C17ABC for ; Fri, 4 May 2001 08:38:57 +0200 (CEST) Received: from localhost (endrs@localhost) by jeeves.stud.ntnu.no (8.10.0.Beta12/8.10.0.Beta12) with ESMTP id f446cv001235 for ; Fri, 4 May 2001 08:38:57 +0200 (MET DST) X-Authentication-Warning: jeeves.stud.ntnu.no: endrs owned process doing -bs Date: Fri, 4 May 2001 08:38:57 +0200 (MET DST) From: =?iso-8859-1?Q?Endre_St=F8lsvik?= X-X-Sender: To: Subject: Re: Objects in Vector are loosing type In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by AMaViS perl-10 X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N On Thu, 3 May 2001, Milt Epstein wrote: | Maybe your app could use some reorganizing. Yeah, maybe, Milt. Why don't you ask the developers, then? I actually believe that all things I said in those mails about reloading in TC3.x and TC4 are correct. And the reason for me having to restart every time is that I basically have made a "server" running "on top of tomcat", and there's basically only 3 servlets running, but with lots of helper classes and stuff around. The reason for _always_ getting a ClassCastException is that I have all my user information stored in a User object. This won't ever reload (that is, serialize/deserialize, or in some other way being "cast" over to the new classloader), and when i retrieve it from the HttpSession, it's _always_ ClassCastException'ing. I'm not the only one making such "complicated" apps. The exact same story about the "User object" have been mentioned a couple of times on this list. And that's how it is. ;) -- Mvh, Endre