Jboss step by step set hot deploy

Michał Ziembiński picture Michał Ziembiński · Jan 20, 2015 · Viewed 11.4k times · Source

Hello i would like ask how it is possible configure jboss server for something like live, hot deploment:

  • every time when i change some code of my jsp,html,js or css file i always need to clean and build project than deploy project to jboss and again, agian and again. That cost alot of my time. I waste time for that. It will be easy when i could work on files which already use a started jboss (deployed). But this files is in WAR file "project.war" and throught my IDE (Netbeans) i cant edit this files (jsp,css,html or js). Netbeans made this file uneditable.

enter image description here

I Would glad for solution step by step how it is possible to avoid this boring process.

Answer

bondkn picture bondkn · Jan 20, 2015
  1. Edit Standalone.xml,change development to "true"
    <configuration> <jsp-configuration development="true"/> </configuration>

  2. Start JBoss.

  3. Go to ServerLocation-> standalone\tmp\vfs
  4. Sort by "Date Modified" descending
  5. Open the first folder(something like deployment*******)
  6. There will be your complete exploded war.
  7. Go to the jsps,js,css location,edit & save the changes.
  8. changes will be displayed live.