Dynamic class reloading and memory reclaiming

2004-03-22 Thread Allistair Crossley
Hi Guys I am able to generate an OutOfMemoryException on Tomcat by recompiling the main servlet of my application which forces Tomcat to reload my web application from scratch (i.e all the application scope objects and so on). Is it correct that Tomcat will not reclaim the memory that the old

RE: Dynamic class reloading and memory reclaiming

2004-03-22 Thread Shapira, Yoav
Hi, Boy, you sure are running into a lot of problems ;) So many posts in the past weeks... I am able to generate an OutOfMemoryException on Tomcat by recompiling the main servlet of my application which forces Tomcat to reload my web application from scratch (i.e all the application scope

Dynamic Class reloading and out of memory

2004-03-22 Thread Allistair Crossley
Yoav, I do apologise if it appears I am being prolific with problems and I do apologise if this is over critical, but it is testamount to the lack of quality documentation on Tomcat (and jakarta projects in general it has to be said) that has resulted in my not understanding how Tomcat is

RE: Dynamic Class reloading and out of memory

2004-03-22 Thread Shapira, Yoav
Hi, Further, I will not be allowing reloading of webapps when the product goes live and the product does not have outofmemory issues so long as the webapp is left without reloading. Even though your app is architected perfectly you won't allow reloads? ;) That's a good practice. Thank you for

RE: OT Class reloading and Hotswap

2004-01-27 Thread Ralph Einfeldt
27, 2004 12:36 AM To: 'Tomcat Users List' Subject: OT Class reloading and Hotswap I was snooping around java.sun.com and happened upon 'HotSwap'. There is an article that mentions it is still quite slow for starting a jvm in 'server' mode, which perhaps many of us do, since Tomcat

RE: OT Class reloading and Hotswap

2004-01-27 Thread Mike Curwen
Yup, I understood all that. But what about hotswap? -Original Message- From: Ralph Einfeldt [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 27, 2004 1:04 AM To: Tomcat Users List Subject: RE: OT Class reloading and Hotswap - I don't think that -server is heavily used

RE: OT Class reloading and Hotswap

2004-01-27 Thread Shapira, Yoav
Howdy, Yup, I understood all that. But what about hotswap? There was a huge condition in your original statement: if the technology becomes viable, stable, and mature, then... Well, that's a big if in my eyes. Since I also agree with Senor Einfeldt's experience regarding the limited use of

OT Class reloading and Hotswap

2004-01-26 Thread Mike Curwen
Apologies if this is a dumb question. I was snooping around java.sun.com and happened upon 'HotSwap'. There is an article that mentions it is still quite slow for starting a jvm in 'server' mode, which perhaps many of us do, since Tomcat is a server... But I was wondering if Tomcat developers

RE: class reloading - a question

2002-09-23 Thread Stefaan Nachtergaele
Hi all, The 3.x version of tomcat only did reloading of servlets, not on other classes. Does the 4.x version do reloading of other classes as well. I'm hoping it does and if it does, I'm hoping someone might provide some clues as to why it's not working for me :). Detection is done via

Re: Class reloading/ HTTPSession

2002-05-16 Thread kelly, Burrowa
Futher, I also observed that my HTTPSession, though is not New, does not have the attributes that were put before the class reloading. Is this the expected behaviour, or am I missing something? I just observed, on using HTTPSessionBindingListener, that when Tomcat 4.0.1 reloads any

Class reloading/ HTTPSession (RE: JVM Bind error)

2002-05-14 Thread kelly, Burrowa
, does not have the attributes that were put before the class reloading. Is this the expected behaviour, or am I missing something? thanks kB. --- Whitcomb, Roger [EMAIL PROTECTED] wrote: The JVM Bind means that a socket that the old class was bound to is still open and the new version of the class

HELP: class reloading or hot deployment with tomcat / Catalina ?????

2002-02-13 Thread tamir
Hi there, I'd really apperciate if anybody can give me a hint or how to relate this issue to tomcat. I've been struggling with this problem for two days now. I wonder if any one have a solution. I'm using Tomcat 3.3, but would apperciate any solution with Tomcat 4.02 The problem: How to

Re: Class reloading for JSP /Tomcat 4

2001-07-23 Thread Craig R. McClanahan
On Thu, 19 Jul 2001, Reynir Hübner wrote: Hi, I have a problem : I have Tomcat 4 and a working MVC model. Request are handled by a servlet that starts a servlet chain wich ends with the request being routed to a JSP. The servlets in the chain instanciate beans and put them into the

Class reloading

2001-07-19 Thread John Baker
Hello. If I write a class and use it in a jsp page, then change the class, I have to restart tomcat. Is there any way I can get around this, ie tell tomcat to reload the class (and forget about the cached loaded copy I expect it has). John -- John Baker, BSc CS. Java developer, Linux

RE: Class reloading

2001-07-19 Thread Paul Foxton
AFAIK tomcat doesn't support automatic reloading of classes. You do have to restart. Paul -Original Message- From: John Baker [mailto:[EMAIL PROTECTED]] Sent: 19 July 2001 11:36 To: [EMAIL PROTECTED] Subject: Class reloading Hello. If I write a class and use it in a jsp

RE: Class reloading

2001-07-19 Thread Reynir Hübner
does anyone know how this is in tomcat 4 ? thanx -r -Original Message- From: Paul Foxton [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 19, 2001 10:23 AM To: '[EMAIL PROTECTED]' Subject: RE: Class reloading AFAIK tomcat doesn't support automatic reloading of classes. You do have

Re: Class reloading

2001-07-19 Thread John Baker
: Thursday, July 19, 2001 10:23 AM To: '[EMAIL PROTECTED]' Subject: RE: Class reloading AFAIK tomcat doesn't support automatic reloading of classes. You do have to restart. Paul -Original Message- From: John Baker [mailto:[EMAIL PROTECTED]] Sent: 19 July 2001 11:36 To: [EMAIL

RE: Class reloading

2001-07-19 Thread Cory Powers
/Context -Original Message- From: John Baker [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 19, 2001 8:37 AM To: [EMAIL PROTECTED] Subject: Re: Class reloading On Thursday 19 July 2001 12:50 pm, you wrote: does anyone know how this is in tomcat 4 ? Oh, sorry. I was referring

RE: Class reloading

2001-07-19 Thread Dmitri Colebatch
]] Sent: Thursday, July 19, 2001 8:37 AM To: [EMAIL PROTECTED] Subject: Re: Class reloading On Thursday 19 July 2001 12:50 pm, you wrote: does anyone know how this is in tomcat 4 ? Oh, sorry. I was referring to Tomcat 4. It's all I use. I can't live without the newer JSP/Servlet

Re: Class reloading

2001-07-19 Thread John Baker
: Thursday, July 19, 2001 8:37 AM To: [EMAIL PROTECTED] Subject: Re: Class reloading On Thursday 19 July 2001 12:50 pm, you wrote: does anyone know how this is in tomcat 4 ? Oh, sorry. I was referring to Tomcat 4. It's all I use. I can't live without the newer JSP/Servlet features. thanx

Re: Class reloading

2001-07-19 Thread Endre Stølsvik
On Thu, 19 Jul 2001, Paul Foxton wrote: | AFAIK tomcat doesn't support automatic reloading of classes. You do have to | restart. AFAIK all tomcats does support automatic reload, but it (at least 3.2) sucks. If you have very plain servlets, which doesn't put many real objects into the

RE: Class reloading

2001-07-19 Thread Paul Foxton
, Paul -Original Message- From: Endre Stølsvik [mailto:[EMAIL PROTECTED]] Sent: 19 July 2001 15:10 To: '[EMAIL PROTECTED]' Subject: Re: Class reloading On Thu, 19 Jul 2001, Paul Foxton wrote: | AFAIK tomcat doesn't support automatic reloading of classes. You do have

Re: Class reloading

2001-07-19 Thread Bo Xu
Reynir Hübner wrote: does anyone know how this(note: Class-reloading) is in tomcat 4 ? thanx -r [...] Hi :-) * Servlet-auto-reloading in TC4.0b5 from my work, Servlet-auto-reloading works well, but just from my testing, if I put MyServlet in both: - WEB-INF/classes (unpacked

AW: Class reloading

2001-07-19 Thread Ralph Einfeldt
AFAIK that is only valid for JSP's and servlets not for beans. (How I love good old jserv (8( -Ursprüngliche Nachricht- Von: Cory Powers [mailto:[EMAIL PROTECTED]] Gesendet: Donnerstag, 19. Juli 2001 15:09 An: '[EMAIL PROTECTED]' Betreff: RE: Class reloading I thought

Re: Class reloading

2001-07-19 Thread Alex Fernández
- From: John Baker [mailto:[EMAIL PROTECTED]] Sent: 19 July 2001 11:36 To: [EMAIL PROTECTED] Subject: Class reloading Hello. If I write a class and use it in a jsp page, then change the class, I have to restart tomcat. Is there any way I can get around this, ie tell tomcat

Re: Class reloading

2001-07-19 Thread Bo Xu
wrote: Miscellaneous updates embedded below, related to Tomcat 4. On Thu, 19 Jul 2001, Bo Xu wrote: Reynir Hübner wrote: does anyone know how this(note: Class-reloading) is in tomcat 4 ? thanx -r [...] Hi :-) * Servlet-auto-reloading in TC4.0b5 from my work

Re: Class reloading

2001-07-19 Thread Craig R. McClanahan
On Thu, 19 Jul 2001, Bo Xu wrote: Hello Craig, Thanks for your email! :-)and I have another question because I find you come back to TC-USER List: //haha:-) I have already made my question very short and only-one: is the following (my understanding) right? :-) * In

Class reloading

2001-02-06 Thread sean . hammon
Title: Class reloading In my web.xml file I have the following servlet servlet-nameBillyBob/servlet-name servlet-classcom.viewpoint.database.InitPool/servlet-class load-on-startup1/load-on-startup description uses jdbc parameters above to initialize the connection pool. /description

how class reloading without shutdown-startup

2001-01-24 Thread dong yang
I found the related link http://jakarta.apache.org/jyve-faq/Turbine/screen/DisplayQuestionAnswer/action/SetAll/project_id/2/faq_id/12/topic_id/43/question_id/240 I understood it as put the class in the web-inf directory and don't include it in the class path. i did it but the server couldn't find

re: Class reloading...

2000-12-03 Thread John Brainard
Hey, Also, I feel this might be of importance: I compile all my classes (including beans, servlets and tags) on my web-server, so the time-stamp shouldn't pose much of a problem there. The only time I have noticed the time-stamp being a problem is with JSP pages written on my NT machine via

Sessions and Class Reloading

2000-11-21 Thread David Molloy
Hi, In short: What happens to session variables when you cause class reloading in a webapp? In full: I'm currently writing a system where the user must always stay logged in. When the user logs in it checks the database, pulls that users info and creates a 'User' for that person. This User