deployment - Conviniend Re-Deploy Application on Glassfish Server -


in moment best way redeploy application our glassfish servers is:

  1. stop domain (so don't lots of exceptions because querys comming in while redeploy)
  2. remove application domain folder
  3. start domain
  4. deploy compelete application

is there s.t. miss make process less time consuming.

thanks hasan

you should able use netbeans integrated hot-deployment deploy faster. netbeans detects files have changed , copies these deployment folder.

to enable explicitly (it should enabled default):

  1. go project -> properties -> build -> run
  2. enable "deploy on save"

make sure have following in web.xml:

<context-param>     <param-name>javax.faces.project_stage</param-name>     <param-value>development</param-value> </context-param> 

you can ignore exceptions on redeployment.

another option checkout jrebel.


Popular posts from this blog

How to calculate SNR of signals in MATLAB? -

java - How to create Table using Apache PDFBox -

mpi - Why is MPI_Bsend not returning error even when the buffer is insufficient to accommodate all the messages -