Win a copy of The Journey To Enterprise Agility this week in the Agile and Other Processes forum! And see the welcome thread for 20% off.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Junilu Lacar
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Ganesh Patekar
  • Tim Moores
  • Pete Letkeman
  • Stephan van Hulst
Bartenders:
  • Carey Brown
  • Tim Holloway
  • Joe Ess

Need help  RSS feed

 
Ranch Hand
Posts: 431
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ranchers

We are using weblogic 8.1 enterprise server. And we follow struts framework as well. But if I change something in struts-config.xml or tiles-defs.xml it needs a restart of the server. Is there any other way to do this without restart?. Also, we use property files to store text messages. So, when ever we change some value in the property files, that also needs a restart of the server. I know that it is very hard to make the xml changes get reflected in the server without restart. But property files will be loaded on start-up in some memory area. Is there any provision either through console or through code to change the value directly so that without restart it will take the new values from the property files.

Please help me out in this.
 
Ranch Hand
Posts: 724
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm redeploing only the web application to reflect the changes in struts-config.xml .
 
Ranch Hand
Posts: 1683
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Your Properties files should be included in your deployed archive file, so you only need to rebuild and redeploy. No need to restart your server.
 
S.L.Narayanan
Ranch Hand
Posts: 431
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We are also redeploying only the required web application but it requires some outage in the server. I want to do something so that without restart or redeployment I will be able to change the property files.
 
Roger Chung-Wee
Ranch Hand
Posts: 1683
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You could store the data in a DB and read it into a cache. When you change the data, you refresh the cache.
 
S.L.Narayanan
Ranch Hand
Posts: 431
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Oops..thats not possible...whatever we store in the property files are the text that are displayed in the jsps...it is not advisable to store those text in database...it may change at any time...more over we dont have direct access to the database and it is being maintained at the client side and they are giving away only views to us...any other way to do?
 
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you do partial deployment of your application.
If yes then you should deploy your application in exploded form.
 
Ranch Hand
Posts: 226
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Your server must be running in Development mode and not on production mode.
if you are using the Weblogic Workshop for development then you need to deploy/redeploy your application

at any point of time if you made any changes into your application then you need to redeploy the same application.

Thanks,
Santosh
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!