-
1. Re: Hot deploy of static files, is it possible?
wdfink Aug 6, 2014 10:37 AM (in response to marcial.atienzar)If you use the deployment folder you can use a xyz.war directory instead of a war file. you are able to manipulate the files there.
For some types you still need a redeploy, others changes take direct effect.
Also you need to have marker files to trigger deployment, like xyz.war.dodeploy file
See the wildfly documentation for this.
-
2. Re: Hot deploy of static files, is it possible?
marcial.atienzar Aug 6, 2014 10:54 AM (in response to wdfink)But if i use remote deploy using cli commands, how can I use deployment folder? What's a marker file?
Lot of thanks,
Marcial
-
3. Re: Hot deploy of static files, is it possible?
wdfink Aug 6, 2014 2:47 PM (in response to marcial.atienzar)If you use CLI this is a managed deployment and you can't deploy exploded archives from remote.
So it is not possible than
-
4. Re: Hot deploy of static files, is it possible?
ctomc Aug 11, 2014 12:40 PM (in response to wdfink)but there are other options
trough remote CLI you can deploy exploded app, but you need to copy it manually.
see what are the options that deploy --help outputs, explodered & unmanaged are what are you looking for.
as for static files go, you don't need to serve them trough war/ear but they can be served directly from anywhere on disk.
see file-handler config in undertow subsystem for more. doing this also bypasses few layers and speeds up serving static files...