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?
Weblogic custom deployer (if really needed)
Asked Answered
Is it a configuration file? Is it inside a WAR/EAR/JAR? Is it shared among cluster nodes? –
Hermosa
JBoss AS has such feature. You can dig into it. –
Gastrotomy
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.
Thank You, Yogendra. That does makes sense in dev environment –
Coom
© 2022 - 2024 — McMap. All rights reserved.