473,770 Members | 1,833 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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

2 New Member
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 12112
Nepomuk
3,112 Recognized Expert Specialist
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
vikramb
2 New Member
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.propertie s .....

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
1870
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 connector : mod_jk-2.0.40.so problem : the apache server hangs after a few hours.
1
1779
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 = CreateObject("CDO.Message") objMessage.Subject = "Web Site Form Results" objMessage.Sender = "admin@domain.co.uk" objMessage.To = "gary@domain.co.uk"
1
1934
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 Control by programing, it changes in the Design view but no in properties viewAnd when in the design view, I lost the focus and I click above my control. It is refreshed and text property contains the good value. Therefore how I refresh...
0
881
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 web page -- I have no idea why? Can someone point me in the right direction? Thanks, Rob.
2
1758
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 version preferrably) does anyone know where Netscape store its Cache, or Temp Folder? and History? and also how about AOL's Browser cache? I am developping the Clean up software using VB .NET 2003 Any help would be appreciated.
0
1264
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 only get the .refresh files (and not the dll files) The .refresh files are only pointers to the dll files (which are not availble for them).
6
1435
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 property for each database object and load its value into it. Thus, in my database (which is an oodbms) say I have a MyDbaseClass with MyProperty1, MyProperty2, etc, after it is loaded, I have:
0
1616
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 from Oracle, like Cache Query: SELECT * FROM DATAMASK.TBL_MASKED_STG;
3
2560
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? 1-week later the cache is refreshed and then it works... I am told there is some way to tell the server not to cache the internet page/files? (this is ASP.NET 2.0/with a link to the setup.)
2
2267
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 am thinking to write a Python program that will read this cache info. My initial idea is to somehow save the page in a file and parse it. But how to save the page without human intervention (pressing ctrl+s) :) ? Hope I could make it clear what...
0
9617
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9454
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10099
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10037
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9904
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8931
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6710
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5482
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
2849
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.