You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@jakarta.apache.org by Chris Cuilla <cc...@yahoo.com> on 2000/01/04 17:31:38 UTC
caching pages
We are using Jakarta/Tomcat 3.0 on Solaris. We are running into a
situation (which we cannot seem to repeat consistently) that looks like
Tomcat is caching pages and not re-compiling them. We're looking at the
browser too, of course, but we've cleared the browser cache and set its
cache settings to zero (0).
Has anyone experienced any similar troubles?
Thanks.
Chris
--
President
Cuilla Enterprises, Inc.
"Life is what happens to you while you're busy making other plans."
Beautiful Boy (Darling Boy), John Lennon
Re: caching pages
Posted by Chris Cuilla <cc...@yahoo.com>.
We experienced the problem while we were making changes (and saving them) to the
JSP page. When we re-started Tomcat, it went away. Unfortunately, I have no other
clues at this point. We'll be keeping our eyes open for it to happen again to see
if we can re-create it.
Thanks.
Chris
"Craig R. McClanahan" wrote:
> Chris Cuilla wrote:
>
> > We are using Jakarta/Tomcat 3.0 on Solaris. We are running into a
> > situation (which we cannot seem to repeat consistently) that looks like
> > Tomcat is caching pages and not re-compiling them. We're looking at the
> > browser too, of course, but we've cleared the browser cache and set its
> > cache settings to zero (0).
> >
>
> If you are talking about JSP pages, keep in mind that Tomcat (or any other JSP
> page compiler) only recompiles when it sees changes in the JSP page file
> itself, not in any Java classes you might refer to (for example, in a
> <jsp:useBean> element).
>
> Tomcat does not currently implement any form of automatic reloading when Java
> classes change, so you will need to restart it after recompiling any Java
> class that you reference. It does not matter whether the Java class is a
> bean, servlet, or something else.
>
> >
> > Has anyone experienced any similar troubles?
> >
> > Thanks.
> >
> > Chris
>
> Craig
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: general-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: general-help@jakarta.apache.org
--
President
Cuilla Enterprises, Inc.
"Life is what happens to you while you're busy making other plans."
Beautiful Boy (Darling Boy), John Lennon
Re: caching pages
Posted by "Craig R. McClanahan" <cm...@mytownnet.com>.
Chris Cuilla wrote:
> We are using Jakarta/Tomcat 3.0 on Solaris. We are running into a
> situation (which we cannot seem to repeat consistently) that looks like
> Tomcat is caching pages and not re-compiling them. We're looking at the
> browser too, of course, but we've cleared the browser cache and set its
> cache settings to zero (0).
>
If you are talking about JSP pages, keep in mind that Tomcat (or any other JSP
page compiler) only recompiles when it sees changes in the JSP page file
itself, not in any Java classes you might refer to (for example, in a
<jsp:useBean> element).
Tomcat does not currently implement any form of automatic reloading when Java
classes change, so you will need to restart it after recompiling any Java
class that you reference. It does not matter whether the Java class is a
bean, servlet, or something else.
>
> Has anyone experienced any similar troubles?
>
> Thanks.
>
> Chris
Craig