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.
I Would glad for solution step by step how it is possible to avoid this boring process.
Edit Standalone.xml,change development to "true"
<configuration> <jsp-configuration development="true"/> </configuration>
Start JBoss.
I think that you're looking for something like JRebel. For those who haven't had the chance to hear about it, it's a magic tool made to get rid of such annoying redeploys after every modification made in your source files.
As you're using Netbeans IDE, this a dedicated tuto explaining how to set up JRebel.
Deploy the app as exploded (project.war folder), add in your web.xml:
Copy class/jsp/etc, update the web.xml time stamp every-time you deploy(append blank line):
I have the same problem. My solution is to run the program on debug mode without editing config file. Once you are done, you can see the result without restarting.
Follow this procedure to enable hot deployment enable in JBOSS
It will work on JBoos AS 7.0.1 and should work on other versions with slight changes
That it.
Now JBoss make HOT deploy for almost all kind of files