-
1. Re: JSP debug does not work with 7.1.1.Final
ctomc Mar 15, 2012 11:44 AM (in response to kristjan273)I think what you are looking for is development=true setting which is broken in 7.1.1
take a look at this https://issues.jboss.org/browse/AS7-4187 and releated thread
--
tomaz
-
2. Re: JSP debug does not work with 7.1.1.Final
kristjan273 Mar 16, 2012 7:00 AM (in response to ctomc)Hi Tomaz,
just tried nightly 772 which seem that have above bugfix included.
I have tried development=true for jsp but still breakpoint does not suspend the runtime.
Any other idea?
-
3. Re: JSP debug does not work with 7.1.1.Final
safetytrick May 22, 2012 2:14 PM (in response to kristjan273)I'm having similar issues debugging jsps in JBoss 7.1.* I've successfully gotten the development=true setting to work (jsp hot deploy) but I can't set breakpoints inside jsps. I even tried downloading the trial of JBoss Tools to see if I could set a breakpoint using that (no luck). Setting breakpoints in JBoss 7.0.2.Final works correctly (but I need 7.1 features).
Michael
-
4. Re: JSP debug does not work with 7.1.1.Final
ctomc May 22, 2012 5:48 PM (in response to safetytrick)Michael,
in 7.1.1 we have included much reworked web subsystem but unfortunaly I missed a bit that coused all jsp configuration to be ignored.
That bug was fixed soon after 7.1.1 was released and is now part of 7.1.2 and 7.2.x development branch.
You are saying that for you it does not work on any 7.1.x versions. Does that include 7.1.0 which did not have new web subsystem?
Also did you try with nightly builds of 7.1.2/7.1.3-SNAPSHOT or 7.2? That have this bug fixed?
7.2 nightly builds are avalible at https://ci.jboss.org/jenkins/job/JBoss-AS-7.x-latest/
currently 7.2 is just 7.1.2 with added translations...
--
tomaz
-
5. Re: JSP debug does not work with 7.1.1.Final
safetytrick May 22, 2012 5:31 PM (in response to ctomc)JSP Debugging works in JBoss 7.1.0.Final
JSP Debugging does not work in JBoss 7.1.2.Final (I built from the git tag 7.1.2.Final)
JSP Debugging does not work with artifact on Build #980 here: https://ci.jboss.org/jenkins/job/JBoss-AS-7.x-latest/
Michael
-
6. Re: JSP debug does not work with 7.1.1.Final
ctomc May 22, 2012 6:09 PM (in response to safetytrick)Hi,
I think I have found the couse of this problem.
can you try adding smap="false" to jsp-configuation
<jsp-configuration development="true" smap="false" />
development=true is not needed for this...
If my asumptions are correct this should fix your problem.
--
tomaz
-
7. Re: JSP debug does not work with 7.1.1.Final
safetytrick May 22, 2012 6:38 PM (in response to ctomc)smap="false" did not change anything on 7.1.2
-
8. Re: JSP debug does not work with 7.1.1.Final
ctomc May 22, 2012 6:40 PM (in response to safetytrick)I will take a deeper look into this issue in the morning(it is 1am here)
will let you know what I find out.
--
tomaz
-
9. Re: JSP debug does not work with 7.1.1.Final
ctomc May 23, 2012 9:11 AM (in response to ctomc)Hi,
i have just tested on 7.2 snapshots/7.1.2 and debugging works if you set smap="false".
in 7.1.1 it does not work as configuration is ignored becouse of AS7-4187
But this is a workaround, until proper fix is merged into upstream.
when fixed proper behaivour should be smap="true" for enabled and smap="false" for disabled. with true beeing default.
--
tomaz
-
10. Re: JSP debug does not work with 7.1.1.Final
safetytrick May 23, 2012 4:32 PM (in response to ctomc)This works like a champ, the jsp I was testing with was already compiled when I tried again with smap="false" yesterday (sorry about that). I deleted my tmp directory and debugging worked perfectly! Thank you!
-
11. Re: JSP debug does not work with 7.1.1.Final
guinotphil Oct 3, 2012 10:32 AM (in response to safetytrick)Hi,
I've just been testing this on AS 7.1.3 and I can't seem to be able to debug any JSP
With AS 7.1.1 + fix from AS7-4187 on jboss-as-web-7.1.1.jar, the following configuration worked fine to debug JSP
<jsp-configuration development="true"
modification-test-interval="4"
smap="false"
dump-smap="false"
trim-spaces="false"
generate-strings-as-char-arrays="false"
x-powered-by="false"/>
Same configuration on AS 7.1.3 don't let me debug the JSP.
I'm using Eclipse Indigo SR2 with JBoss Tools 3.3.1.
Thank you
-
12. Re: JSP debug does not work with 7.1.1.Final
ctomc Oct 3, 2012 10:57 AM (in response to guinotphil)There was bug in 7.1.1 that wrongly interpreted smap configuration attribute. (aka false was interpreted as true and vice versa)
that was fixed in 7.1.2+/7.2+ so to enable debugging you must have it set to true, as it was meant to be in the first place.
--
tomaz
-
13. Re: JSP debug does not work with 7.1.1.Final
guinotphil Oct 3, 2012 11:15 AM (in response to ctomc)Thank you ! That's it: I had to set true to the smap parameter and to clean the tmp directory in standalone before running the server !
-
14. Re: JSP debug does not work with 7.1.1.Final
srinu_1983 Oct 17, 2012 8:07 AM (in response to kristjan273)Hi
Who hava any idea to make JBoss 7 hot deploy? When change the .jsp or .html files ,then I refresh the browse can see the changes.
I used JBoss 7.1.2 just add:
<configuration>
<jsp-configuration development="true"/>
</configuration>
any other things need to config?
its not worked when i refresh the jsp page i can't see the changes in browser.