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
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 worki
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 obj
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
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 t
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'
MAIL PROTECTED]
> Sent: Tuesday, January 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
>
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 w
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 comparison
Hello ,
I use jdk1.3.1+apache1.3.2+tomcat3.2.3.
jsp pages get recompiles after I change them.The java and class files are newly
generated.
But the page is served from old jsp's class files.This is not to do anything with
caching,
since I get the jsp page log messages at tomcat console when I
> 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.
, 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
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 perfrom
reloading and that part is fine. With
in server.xml Tomcat makes a
full clean reload(starts a new session) and it works fine. I tried
setting the fullReload="false" . But that doesn't work. Gives me
exceptions. Is there a way to set class reloading in Tomcat 3.3 without
ending th
i have very weird problem with tomcat 3.2.3.
for example i have html page which calls servlet.
everything is fine when i start tomcat. now when i
recompile servlet and try to call it again, this is
what i get:
Internal Servlet Error:
java.lang.IllegalStateException: Can't happen -
classname is
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 int
"webapps/examples"
> crossContext="false"
> debug="0"
> reloadable="true" >
>
>
>-Original Message-
>From: John Baker [mailto:[EMAIL PROTECTED]]
>Sent: Thursday, July 19, 2001 8:37 A
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? :-)
>
>
; classloader)
Thanks in advance! :-)
Bo
July 19, 2001
"Craig R. McClanahan" 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(not
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 :-)
>
> * Ser
]
> > 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 a
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: Cla
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:
-
it has).
Nope. Class reloading is flaky at best, and only works for servlets
defined in the web.xml file. For JSP support classes, you have to restart
tomcat.
Been there, done that, got the T-Shirt.
Sorry!
Will
ter : )
cheers,
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 do
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 HttpSes
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
request object.
If I change one .java-file (servle
gt; -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 ?
gt; -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 ?
-
> 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
> to
> restart.
>
> Paul
>
>
ul 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
> to
> restart.
>
> Paul
>
> >
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.
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.
>
&g
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 lover.
OK, here is what I am seeing.
If I create a simple bean, like this:
---
public class Test implements java.io.Serializable {
protected String fullName;
public String getFullName(){
return fullName;
};
Title: Class reloading
In my web.xml file I have the following
BillyBob
com.viewpoint.database.InitPool
1
uses jdbc parameters above to initialize the connection pool.
Everything seems to work as I expect. There is one little hang up
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
server. I am running the latest Beta release of Tomcat ( I haven't
downloaded the latest release version yet), Apache and Samba. Most of my work is
done on my other machine which is Windows NT and Linux via samba shares. The
class reloading has posed the largest problem today when working
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 per
40 matches
Mail list logo