- This topic has 9 replies, 3 voices, and was last updated 9 years, 7 months ago by support-pradeep.
-
AuthorPosts
-
eugenejsnParticipantME Blue 14 on linux. JBoss AS 7.1.1.
1. Enabled JBoss 7.x
2. Set it to the Debug mode
3. Start the server on Debug Mode
4. Set a breakpoint on JSP’s java section such as
<%
String x = “”;%>
text………5. Load the page. The text is shown. But the java breakpoint does not work.
How can I debug the JSP’s java section?
Thanks
Eugene
support-pradeepMemberEugene,
This looks like a JBoss issue, as the JSP debug feature is missing for JBoss 7.1.1 AS. Here is the bug filed for this issue – https://issues.jboss.org/browse/AS7-4187
This JBoss 7.1.1 specific bug could be resolved with the following steps :
1. Open “jboss-as-7.1.1.Final/standalone/configuration/standalone.xml” file and add the following lines under <subsystem xmlns=”urn:jboss:domain:web:1.1″ default-virtual-server=”default-host” native=”false”> tag<configuration>
<jsp-configuration development=”true” smap=”false”/>
</configuration>2. Download jboss-as-web-7.1.1.Final-RECOMPILE.jar file from here and copy it to “jboss-as-7.1.1.Final/modules/org/jboss/as/web/main” folder.
3. Open “jboss-as-7.1.1.Final/modules/org/jboss/as/web/main/module.xml” 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. Restart the server, if it is already started.
Please take a look at this thread which discusses the similar issue – https://developer.jboss.org/message/723813
Hope this helps.
eugenejsnParticipantUpdated
eugenejsnParticipantUPDATE:
From time to time, it works. But not solid.. I’ll continue to monitor its patterns. So for now, please go ahead to close this issue.
support-pradeepMembereugenejsn,
If you still face any issues, I suggest you to post on JBoss forums for better support on this query, as this is a JBoss issue.
Let us know if you see any issues with MyEclipse.
eugenejsnParticipantHalfly agree. Sometimes the IDE can also play a role. For example, when my application run on IBM RAD 8 and Websphere 8, it worked fine. Then I migrated it over to MyEclipse Blue and Websphere 8, it does not run smoothly, i.e., some bugs appears.
So same app, same app server, different IDE, bingo.
Just to share.
eugenejsnParticipantmoved
support-pradeepMemberEugene,
If the issue is specific to MyEclipse IDE then we would have considered to fix the issue at our end. But, as the issue is specific to JBoss 7.1.1 server I would suggest you cross post on JBoss forums for the fix to this issue.
Let us know if you see any issues in MyEclipse.
zohaa3492MemberAny update on workaround or fix?
support-pradeepMemberzohaa3492,
This looks like a JBoss issue, as the JSP debug feature is missing for JBoss 7.1.1 AS. Here is the bug filed for this issue – https://issues.jboss.org/browse/AS7-4187
This JBoss 7.1.1 specific bug could be resolved with the following steps :
1. Open “jboss-as-7.1.1.Final/standalone/configuration/standalone.xml” file and add the following lines under <subsystem xmlns=”urn:jboss:domain:web:1.1″ default-virtual-server=”default-host” native=”false”> tag
Quote:
<configuration>
<jsp-configuration development=”true” smap=”false”/>
</configuration>2. Download jboss-as-web-7.1.1.Final-RECOMPILE.jar file from here and copy it to “jboss-as-7.1.1.Final/modules/org/jboss/as/web/main” folder.
3. Open “jboss-as-7.1.1.Final/modules/org/jboss/as/web/main/module.xml” and add the following line
Quote:
<!–resource-root path=”jboss-as-web-7.1.1.Final.jar”/>–>
<resource-root path=”jboss-as-web-7.1.1.Final-RECOMPILE.jar”/>4. Restart the server, if it is already started.
Please take a look at this thread which discusses the similar issue – https://developer.jboss.org/message/723813
Can you try the above workaround to get the debugging work with JBoss 7.1.1. As mentioned in my earlier response, this issue is specific to JBoss 7.1.1 server. I would suggest you cross post on JBoss forums for the fix to this issue.
Let us know if you see any issues with MyEclipse.
-
AuthorPosts