Based on everything written so far - there is no evidence tomcat would be
chaching anything.
I'd suggest placing as much debug code in your code as possible via a logging
pacakge such as log4j/commons-logging so the log information can be turned on
via configuration directives.
-Tim
Hi All,
I need your help for this problem very urgently.
I have tomcat 4.1.30 on Linux. It servers as a web server and contains only
JSP Servlets. We make a remote call to Websphere Application Server ( on
AIX) using corbaloc like 'corbaloc::ip1:2809:ip2:2809'. Now when i one of my
App server
Hi,
Basically here's my problem: I make a jsp page that works correctly.
OK. Then, I make a fault in it that shows a compile error page -
also fine.
The problem is, when I reload it a second time, Tomcat serves me the
old compiled JSP scriptlet, instead of giving me the compile error
message
On Wed, 16 Mar 2005 14:45:07 + (GMT), Asfand Qazi
[EMAIL PROTECTED] wrote:
Hi,
Basically here's my problem: I make a jsp page that works correctly.
OK. Then, I make a fault in it that shows a compile error page -
also fine.
The problem is, when I reload it a second time, Tomcat
From: Asfand Qazi [mailto:[EMAIL PROTECTED]
Subject: Problem with Tomcat caching old pages that it shouldn't
The problem is, when I reload it a second time, Tomcat serves me the
old compiled JSP scriptlet, instead of giving me the compile error
message again!
Please include the exact
Try adding:
init-param
param-namemodificationTestInterval/param-name
param-value0/param-value
/init-param
to your definition of the JSP servlet in %TOMCAT_HOM#%\conf\web.xml
By default it is 4 seconds but I'm not sure why the compile would
fail
once and
Please include the exact Tomcat level in problem descriptions, so
people will have some idea of which documentation pages to tell you
to read.
5.7
Here's some to look at that may have some bearing on the issue, and
specific parameters on each:
--- Asfand Qazi [EMAIL PROTECTED] wrote:
Try adding:
init-param
param-namemodificationTestInterval/param-name
param-value0/param-value
/init-param
to your definition of the JSP servlet in
%TOMCAT_HOM#%\conf\web.xml
By default it is 4 seconds
Asfand Qazi wrote:
Basically here's my problem: I make a jsp page that works correctly.
OK. Then, I make a fault in it that shows a compile error page -
also fine.
The problem is, when I reload it a second time, Tomcat serves me the
old compiled JSP scriptlet, instead of giving me the compile
To: Tomcat Users List
Subject: Re: Problem with Tomcat caching old pages that it shouldn't
Asfand Qazi wrote:
Basically here's my problem: I make a jsp page that works correctly.
OK. Then, I make a fault in it that shows a compile error page -
also fine.
The problem is, when I reload
--- Hassan Schroeder [EMAIL PROTECTED] wrote:
Asfand Qazi wrote:
Basically here's my problem: I make a jsp page that works
correctly.
OK. Then, I make a fault in it that shows a compile error page -
also fine.
The problem is, when I reload it a second time, Tomcat serves me
the
I am working on writing some junit tests for a project and am running
into some rather odd behavior... it seems that tomcat is caching the
servlets configuration data somewhere between tests. Here's what I'm
doing...
Presently I have one TestCase class with two methods, let's call them
testA()
okay... so disregard this. It turns out the servlet was parsing the
configuration document into a static variable that was not being reset
between tests. All is well with the world again.
-
To unsubscribe, e-mail: [EMAIL
Hi all
I geerate in a Struts Action servlet a file that I want to open directly in a
new browser.
I give tomcat the right url and the file is properly generated.
But tomcat does not see it.
after shoutdown and restart Tomcat start to see the file.That's for sure not
what I want.
Actually I've
Hi all
I geerate in a Struts Action servlet a file that I want to open directly in a
new browser.
I give tomcat the right url and the file is properly generated.
But tomcat does not see it.
after shoutdown and restart Tomcat start to see the file.That's for sure not
what I want.
Actually I've
://mydomain.com:port#/servlet/File
Will this make a difference with what I am trying to do?
Thanks
-Original Message-
From: Schalk [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 11, 2003 12:47 AM
To: 'Tomcat Users List'
Subject: RE: Tomcat Caching
Adam
In the Tomcat confide directory
the original email.
Thank you.
:: -Original Message-
:: From: Adam Dear [mailto:[EMAIL PROTECTED]
:: Sent: Saturday, October 11, 2003 8:35 AM
:: To: Tomcat Users List
:: Subject: RE: Tomcat Caching
::
:: Schalk,
::
:: I added the following line to the server.xml file and restarted tomcat
I am using the servlet invoker. The actual director is
tomcat/webapps/ROOT/WEB-INF/classes/.
-Original Message-
From: Schalk [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 11, 2003 1:43 AM
To: 'Tomcat Users List'
Subject: RE: Tomcat Caching
Is your application directory within
12:47 AM
To: 'Tomcat Users List'
Subject: RE: Tomcat Caching
Adam
In the Tomcat confide directory, there is a file called server.xml. Inside
here you can create a Context-Path and set reloadable=true.
Example:
Context path=/meccafemme docBase=meccafemme debug=0
reloadable=true /
Kind Regards
Schalk
List
:: Subject: RE: Tomcat Caching
::
:: I am using the servlet invoker. The actual director is
:: tomcat/webapps/ROOT/WEB-INF/classes/.
::
:: -Original Message-
:: From: Schalk [mailto:[EMAIL PROTECTED]
:: Sent: Tuesday, November 11, 2003 1:43 AM
:: To: 'Tomcat Users List'
:: Subject: RE
hello, I have just started using Tomcat to host my java servlets. I want to
know if there is anyway to turn off the caching for development purposes.
As it is now, when I make change to a servlet, I have to restart the tomcat
server for the changes to take effect. While this isn't hard, it is a
:: To: tomcat
:: Subject: Tomcat Caching
::
:: hello, I have just started using Tomcat to host my java servlets. I want
to
:: know if there is anyway to turn off the caching for development purposes.
:: As it is now, when I make change to a servlet, I have to restart the
tomcat
:: server for the changes
When I start tomcat as root using /etc/init.d/tomcat start, which in turn
starts $CATALINA_HOME/bin/startup.sh as tomcat, tomcat attempts to cache all
jsps to the directory from which I ran /etc/init.d/tomcat start..
I can force jsps to cache to $CATALINA_HOME/work/... by setting SCRATCHDIR
in
What happens if you start tomcat using $CATALINA_HOME/bin/startup.sh instead?
I think that should point tomcat to the right work directory.
-Original Message-
From: Euan Guttridge [mailto:[EMAIL PROTECTED]
Sent: October 24, 2003 4:57 AM
To: '[EMAIL PROTECTED]'
Subject: tomcat caching
To: '[EMAIL PROTECTED]'
Subject: tomcat caching jsp to working directory (not /work)
When I start tomcat as root using /etc/init.d/tomcat start, which in turn
starts $CATALINA_HOME/bin/startup.sh as tomcat, tomcat attempts to cache all
jsps to the directory from which I ran /etc/init.d/tomcat start
='cd $CATALINA_HOME/bin; ./startup.sh; cd -;'
alias stopTomcat=' $CATALINA_HOME/bin/shutdown.sh'
-Yan
-Original Message-
From: Euan Guttridge [mailto:[EMAIL PROTECTED]
Sent: October 24, 2003 11:05 AM
To: 'Tomcat Users List'
Subject: RE: tomcat caching jsp to working directory
: Tomcat Caching Files?
Hi All,
I changed a html file and noticed I am still getting the old html file
intermittantly. I restarted Tomcat (4.1.18) and still have the older html
pop up intermittantly. I deleted my content from the browser
(i.e. 5.5) and
even restarted my client machine where I
Hi All,
I changed a html file and noticed I am still getting the old html file
intermittantly. I restarted Tomcat (4.1.18) and still have the older html
pop up intermittantly. I deleted my content from the browser (i.e. 5.5) and
even restarted my client machine where I was viewing the html
Hi Everyone,
I am desperately stuck with a problem and the
developers are ripping me apart for it :)
The issue is that Tomcat seems to keep a cache of all
the of the .java files which have been previously
executed in the c:\tomcat4\work\localhost\
directory. So everytime a change is made I have
Executing .java files??
Do you have reloadable=true in the Context / element for the app?
-Original Message-
From: Steve [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 23, 2002 1:26 PM
To: [EMAIL PROTECTED]
Subject: Tomcat Caching after uploading new files
Hi Everyone,
I am
hi,
it seems like tomcat-IIS does some caching (not client side). even if i have
in my headers the no-cache specifications, the server seems to display the
page from the cache.
does anyone have any idea how to bypass this problem.
i wan't the server to always check for new pages but without
][ Ezenet Inc. ]
[ http://www.ezenet.com ][ mailto:[EMAIL PROTECTED] ]
-Original Message-
From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]]
Sent: November 07, 2000 12:27 PM
To: [EMAIL PROTECTED]
Subject: Re: Tomcat Caching problem
"Sunny L.S.Chan" wrote:
Hi all, d
32 matches
Mail list logo