We need to implement possibility to update/re-read a file (stored on disk) without redeploying application. The important point is that we have multiple instances of the application working in Weblogic's cluster. So my question is: how should applications working in cluster be notified the FILE has changed - does Weblogic has such feature out-of-the-box, or do we need to implement custom deployer for that?
Asked
Active
Viewed 130 times
6
-
2Is it a configuration file? Is it inside a WAR/EAR/JAR? Is it shared among cluster nodes? – fglez Oct 11 '12 at 08:29
-
JBoss AS has such feature. You can dig into it. – Yegoshin Maxim Oct 17 '12 at 11:57
1 Answers
2
If you looking for a hot deployment kind of process(updating the application with modified files), check if my this blog Hot Deployment in Weblogic is helpful to you.
In summary:
Add blank
REDEPLOY
file inMyApplicationEar/APP-INF/META-INF
folder and deploy your application in exploded form.Once any file is updated, update the timestamp of
REDEPLOY
file. This you can achieve simply by recreating the file.Weblogic will scan the file system of the deployed application and redeploy the updated files.

Yogendra Singh
- 33,927
- 6
- 63
- 73