For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub
- This topic has 9 replies, 3 voices, and was last updated 11 years, 1 month ago by
support-pradeep.
-
AuthorPosts
-
ME 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
September 1, 2014 at 2:22 am #351233
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.
September 1, 2014 at 3:32 pm #351242Updated
September 1, 2014 at 7:02 pm #351243UPDATE:
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.
September 1, 2014 at 11:29 pm #351245
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.September 2, 2014 at 10:59 am #351270Halfly 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.
September 2, 2014 at 11:04 am #351271moved
September 3, 2014 at 12:36 am #351288
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.
October 22, 2014 at 5:28 pm #352317
zohaa3492MemberAny update on workaround or fix?
October 22, 2014 at 11:25 pm #352323
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

