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
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
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
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
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
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
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
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
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
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
, 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
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
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
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
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
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
: 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
/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
]]
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
: 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
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
,
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
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
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
-
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
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
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
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
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
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
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
31 matches
Mail list logo