I am using Jboss 7.1.1 AS to deploy my JSF
based Web app. I am using Filesync plugin to Hot swap the code. It's working perfectly fine for .java
or any other file
changes. But Jboss as
not picking up the changes when I modify something in the .xhtml
pages.
I tried by adding
<context-param>
<param-name>facelets.REFRESH_PERIOD</param-name>
<param-value>1</param-value>
</context-param>
<context-param>
<param-name>facelets.SKIP_COMMENTS</param-name>
<param-value>true</param-value>
</context-param>
to web.xml
. But it's not working either and I don't see my changes in browser when I refresh the page. It worked with tomcat
when I used same configuration. Do I need to do any special configuration for Jboss
in order to make this work?
I am able to find the Issue with my Hot Deployment to Jboss server. It's not the Server Issue. But , it is the fact that I am using Jboss Maven Plugin to deploy my application to Jboss , Hot deployment is not working. But if do regular deployment like
Application--->Run on Server
my hot deployment is workng fine. Not sure what's issue caused by Maven plugin