473,401 Members | 2,068 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,401 software developers and data experts.

Tomcat Cache refresh with out restarting tomcat(.xml & .properties files)

HI
Iam working on a task in which i need to refresh the tomcat cache with out restarting it when there is any new entry in the properties file ,
My question is

in the server.xml if we add <context path = /.... reloadable = true> , i think this will reload the app only if there is any change in java files

In the work folder if there is any timestamp difference between .jsp and .class it will recompile

how to deal with the .xml or .properties files i.e will the values have any effect with out restarting the tomcat

Thanks
Vikram
Sep 20 '07 #1
2 12087
Nepomuk
3,112 Expert 2GB
HI
Iam working on a task in which i need to refresh the tomcat cache with out restarting it when there is any new entry in the properties file ,
My question is

in the server.xml if we add <context path = /.... reloadable = true> , i think this will reload the app only if there is any change in java files

In the work folder if there is any timestamp difference between .jsp and .class it will recompile

how to deal with the .xml or .properties files i.e will the values have any effect with out restarting the tomcat

Thanks
Vikram
Which Version of Tomcat are you using? Because, Version 5.5 certainly has a reload-function, which gets active whenever it realizes that something was changed. It doesn't work with everything, but certainly recompiling classes let's it do so.

Greetings,
Nepomuk
Sep 20 '07 #2
Thanks for the reply iam using Tomcat5.5.23 version , yeah it reloads the app if it detects any changes in java ,but iam looking if it is possible with properties or xml files for e.g. local.properties .....

Vikram





Which Version of Tomcat are you using? Because, Version 5.5 certainly has a reload-function, which gets active whenever it realizes that something was changed. It doesn't work with everything, but certainly recompiling classes let's it do so.

Greetings,
Nepomuk
Sep 21 '07 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Erwan | last post by:
Hi, we have a big problem with our Apache / tomcat production server. Characteristics are : aapche : httpd-2.0.40-21.5 tomcat : these versions were tried without success :4.1.18, 4.1.27, 5.0.12...
1
by: Gary W | last post by:
Hello, I have a page, thanks.asp which uses classic ASP VBSCRIPT & CDONTS to send mail, for example: <% Set bc = Server.CreateObject("MSWC.BrowserType") Set objMessage =...
1
by: Laurent Liegeois | last post by:
Hi, I try to write a Web Custom Control. But I have a little problem for refreshing the properties view of my Web Control in Visual Studio (). When I modify the value of text property of my...
0
by: Rob R. Ainscough | last post by:
I'm using Forms Authentication (not sure if this is relevant). If I'm 3 levels into my web site and the user clicks on the IE "refresh" button, my web app immediately returns them back to my home...
2
by: Sam Learner | last post by:
Hello, I am writting a utility program to clean diskspace used by Web Browsers, I can clean up Internet Explorer's temp folder. but I also want to clean up Netscape (any version, but Current 7.2...
0
by: dave | last post by:
I have a vs.net 2005 project, and i have added a reference to a local dll file. When i add this solution to source safe i only get the .refresh files in vss. Other developers that do getlatest...
6
by: manstey | last post by:
I have a ClassWrapper that wraps around a third party database object. Each database object has a set of properties, like columns in a relational database. I want my wrapper to generate a...
0
by: shaiknayeemuddin | last post by:
Hi, I am facing one problem, We have data in Oracle Table and fetching that data from Cache Database using link server concept. I am able to fetch data through Cache query in Cache Studio...
3
by: schneider | last post by:
Hello, I found a case where a corporate server caches all internet traffic, due to this my ClickOnce app never updateds because on the corporate network I/users keep getting the cache files?...
2
by: subeen | last post by:
Hi, I have got into an interesting problem. Today I found that if I type "about:cache?device=disk" (without the quotes) in the address bar of firefox, it displays disk cache information. Now I...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.