Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Weblogic custom deployer (if really needed)

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?

like image 472
user1267751 Avatar asked Oct 10 '12 14:10

user1267751


1 Answers

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:

  1. Add blank REDEPLOY file in MyApplicationEar/APP-INF/META-INF folder and deploy your application in exploded form.

  2. Once any file is updated, update the timestamp of REDEPLOY file. This you can achieve simply by recreating the file.

  3. Weblogic will scan the file system of the deployed application and redeploy the updated files.

like image 125
Yogendra Singh Avatar answered Oct 09 '22 15:10

Yogendra Singh