Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Enable hot deploy for web pages in jboss-as-7.1.1.Final

i am new to jboss, and i want to enable the hot deploy feature as in tomcat. right now when making any change to the xhtml page, i rebuild the application then redeploy the whole war, which is too much.

but in tomcat the war file was extracted, and then i replace the change xhtml file only and see the change immediately.

i was wondering how to accomplish same behavior for jboss-as-7.1.1.Final, and not in eclipse.

please advise how to do that, thanks.

like image 525
Mahmoud Saleh Avatar asked Oct 04 '12 08:10

Mahmoud Saleh


Video Answer


1 Answers

You can do the same thing in JBoss as well. The file should be in /tmp/vfs/temp*/content* in the jboss server (standalone) directory. You can simply find the xhtml in that directory, and replace with new one. It should work! ..

It looks there is another way using jsp-configuration developement=true, check here

like image 155
Maddy Avatar answered Sep 28 '22 02:09

Maddy