I have tried that option but it doesn't work... I put my java class inside a jar file, that I include in the context. That beeing done, my project compiles and everything but the same problem occurs : when I change a class, the jar file is reloaded as well, so I'm up to the same point. I don't know how to tell tomcat that this jar is "static".
----- Original Message ----- From: "Mainguy, Mike" <[EMAIL PROTECTED]> To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]> Sent: Friday, January 09, 2004 3:45 PM Subject: RE: [OT] Eclipse/Tomcat WebappLoader > If that class never changes just deploy it in a jar... > > <<No matter what we use today, sooner or later I'm sure we'll be using > something else>> > -Ted Husted > > -----Original Message----- > From: Raphaël di Cicco [mailto:[EMAIL PROTECTED] > Sent: Friday, January 09, 2004 5:11 AM > To: Struts Mailing List > Subject: [OT] Eclipse/Tomcat WebappLoader > > > Hi, > > I know this is a little off topic but this has to do with J2EE deployment so > it might be useful for some people. In my environment, I use Eclipse with > Struts 1.1, Tomcat 4.1 and Sun JDK 1.4. Eclipse makes it possible to > recompile and redeploy my classes every time I change them. This is very > convenient. > I understand that the WebAppLoader reloads the whole application if there is > a change in one of the files. > > However, I have a static class that loads an enormous amount of data into > memory. Therefore after 2 or 3 changes in my code I run into a OutOfMemory > exception that is very annoying (the exception usually occurs somewhere in > Win32FileSystem.class). > > I would like to prevent the webappLoader from reloading this particular > class, and I know that it is is possible to prevent a jar file from beeing > reloaded, but I don't know about a class. > > Thanks in advance > Raphaël > > > ----------------------------------------- > This message and its contents (to include attachments) are the property of Kmart Corporation (Kmart) and may contain confidential and proprietary information. You are hereby notified that any disclosure, copying, or distribution of this message, or the taking of any action based on information contained herein is strictly prohibited. Unauthorized use of information contained herein may subject you to civil and criminal prosecution and penalties. If you are not the intended recipient, you should delete this message immediately. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]