Use Eclipse to remotely Debug Jboss

Source: Internet
Author: User
Tags jboss

After your applications are released, you sometimes need to perform remote debugging on the server. The following describes how to remotely debug Jboss:
We use 3.2.2 for Eclipse and 4.2.2 for Jboss.

1. Set the Jboss startup parameters and open the Debug port.
Open the [jboss-4.2.2.GAbinrun.conf] file and open comments in line 47, as shown below


# Sample JPDA settings for remote socket debuging
JAVA_OPTS = "$ JAVA_OPTS-Xrunjdwp: transport = dt_socket, address = 8787, server = y, suspend = n"
2. Debug using Eclipse
First, there must be a project for debugging the application in Eclipse. Then open the Debug mode of Eclipse and select the corresponding project, remote Server IP address, and port (8787 ), run it directly. Make sure that the service is started.
I have prepared several screenshots, but it is too inconvenient to map images in CSDN. Let's take a look at the content on the following webpage and make it clear! :)

[Http://www.eclipsezone.com/eclipse/forums/t53459.html]



<
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.