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?
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).
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...
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/
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.
smap="false" did not change anything on 7.1.2
I will take a deeper look into this issue in the morning(it is 1am here)
will let you know what I find out.
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.
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!
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
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.
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.
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 !
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:
any other things need to config？
its not worked when i refresh the jsp page i can't see the changes in browser.