-
1. Re: JBoss AS 7.1.1 Final JSP Auto Deploy
jaikiran Mar 15, 2012 5:14 AM (in response to cammette)What's not working right? What exactly does the configuration look like?
-
2. Re: JBoss AS 7.1.1 Final JSP Auto Deploy
cammette Mar 15, 2012 5:23 AM (in response to jaikiran)i change the config standalone.xml (JBoss As To 7.1.1.Final )
from:
<subsystem xmlns="urn:jboss:domain:web:1.1" default-virtual-server="default-host" native="false">
<connector name="http" protocol="HTTP/1.1" scheme="http" socket-binding="http"/>
<virtual-server name="default-host" enable-welcome-root="true">
<alias name="localhost"/>
<alias name="example.com"/>
</virtual-server>
</subsystem>
to:
<subsystem xmlns="urn:jboss:domain:web:1.1" default-virtual-server="default-host" native="false">
<configuration>
<jsp-configuration development="true"/>
</configuration>
<connector name="http" protocol="HTTP/1.1" scheme="http" socket-binding="http"/>
<virtual-server name="default-host" enable-welcome-root="true">
<alias name="localhost"/>
<alias name="example.com"/>
</virtual-server>
</subsystem>
i would like to save the change to my jsp each time and the jboss 7.0.1 automatically deploy the change to my war,but jboss 7.1.1 Final don't automatically deloy the change
-
3. Re: JBoss AS 7.1.1 Final JSP Auto Deploy
ctomc Mar 15, 2012 11:31 AM (in response to cammette)1 of 1 people found this helpfulHi,
i can confirm that it is a bug i am testing the fix right now.
https://issues.jboss.org/browse/AS7-4187
--
tomaz
-
4. Re: JBoss AS 7.1.1 Final JSP Auto Deploy
tc7 Mar 27, 2012 9:04 PM (in response to ctomc)I'm keen to get this one fixed too is there a workaround (other than reverting to 7.1.0.Final)?
-
5. Re: JBoss AS 7.1.1 Final JSP Auto Deploy
jaikiran Mar 30, 2012 2:08 AM (in response to tc7)The fix is available in the nightly build https://community.jboss.org/thread/167590, if you want to use it
-
6. Re: JBoss AS 7.1.1 Final JSP Auto Deploy
darrellburgan Apr 16, 2012 2:18 PM (in response to cammette)Does this issue mean that if we deploy a new version of our entire WAR file using jboss_cli.sh, that the JSP changes will not be picked up .... ? If so, this is a showstopper issue for us ....
-
7. Re: JBoss AS 7.1.1 Final JSP Auto Deploy
ctomc Apr 16, 2012 3:02 PM (in response to darrellburgan)In case of redeployment of whole war everything works as it should.
problem is(was) when you have exploded war and you change a jsp within it wouldn't pick the changes.
-
8. Re: JBoss AS 7.1.1 Final JSP Auto Deploy
darrellburgan Apr 16, 2012 3:08 PM (in response to ctomc)Okay thanks ... we can live with that until 7.1.2 is out. Is there a rough idea of when the 7.1.2 community version will be released (i.e. weeks away? months away?)
-
9. Re: JBoss AS 7.1.1 Final JSP Auto Deploy
nilindra Oct 23, 2012 3:53 PM (in response to darrellburgan)Hi,
This 7.1.1 specific bug (https://issues.jboss.org/browse/AS7-4187) could be resolved with the following steps easily.
1. Please make sure to add
<configuration>
<jsp-configuration development="true"/>
</configuration>
in standalone.xml under <subsystem xmlns="urn:jboss:domain:web:1.1" default-virtual-server="default-host" native="false">
2. Go to jboss-as-7.1.1.Final/modules/org/jboss/as/web/main
Place the jboss-as-web-7.1.1.Final-RECOMPILE.jar in there. You can download from http://www.datafilehost.com/download-2cb9ff04.html
3. Open module.xml (jboss-as-7.1.1.Final/modules/org/jboss/as/web/main) and add the following line
<!--resource-root path="jboss-as-web-7.1.1.Final.jar"/-->
<resource-root path="jboss-as-web-7.1.1.Final-RECOMPILE.jar"/>
4. You are done. Enjoy.
-
10. Re: JBoss AS 7.1.1 Final JSP Auto Deploy
ctomc Oct 23, 2012 6:45 PM (in response to nilindra)True!
or by building your self 7.1.2/7.1.3 or by taking 7.2.0 nightly build
--
tomaz
-
11. Re: JBoss AS 7.1.1 Final JSP Auto Deploy
darrellburgan Oct 23, 2012 7:56 PM (in response to nilindra)Thanks! We'll give it a try for development. I'm definitely not interested in deploying a nightly build to our production environment, but so far we have not had to hot-deploy any JSP changes. Still, it would be nice to have this capability if an emergency happened. We'll keep an eye out for the release of 7.2.
-
12. Re: JBoss AS 7.1.1 Final JSP Auto Deploy
nilindra Oct 23, 2012 11:50 PM (in response to darrellburgan)Yes Darrell. Same here. We use the above tweak in development environment to speed up developments.
During the production we will be using the Jboss 7.1.1 provided jboss-as-web-7.1.1.Final.jar. So it's always safe.
Hope this helps.
-
13. Re: JBoss AS 7.1.1 Final JSP Auto Deploy
justdoit Oct 25, 2012 8:02 AM (in response to nilindra)I've just tried it with 7.1.3final, and still have problems with jsp redeploy.
I added this script in standalone.xml:
<configuration>
<jsp-configuration development="true"/>
</configuration>
-
14. Re: JBoss AS 7.1.1 Final JSP Auto Deploy
goncaloa Dec 14, 2012 12:16 PM (in response to nilindra)That seemed to be a good workaround, but i still couldn't get it to work.
The .xhtml page is correctly copied to the deploy folder, but the server just doesn't reload it.
Any other ideas?