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?
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 in MyApplicationEar/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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With