Enable the remote debugging port in tomcat5.5

Source: Internet
Author: User
There are many articles on how to open the remote debugging port of Tomcat on the Internet. Most of the operations are complicated. Note: The following methods have been verified only in tomcat5.5. I used the zip version of tomcat5.5 and installed it in/APP/tomcat5.5. Check the/APP/tomcat5.5/Catalina. Sh file. Note:
# Jpda_transport (optional) JPDA transport used when the "JPDA start" # command is executed. The default is "dt_socket ".
In fact, you only need to add a starting parameter to enable remote debugging. We usually start through bin/startup. Sh. Check the last line of startup. sh:
Exec "$ prgdir"/"$ executable" start "$ @"
You can open the remote debugging port with a slight modification:
Exec "$ prgdir"/"$ executable" JPDA start "$ @"
Restart Tomcat and check whether NMAP localhost is up. Remote debugging is enabled, but I don't know how to perform remote debugging of JSP in intellij idea 5.1. This is my favorite Java editor. I hope the tall man can explain it in detail.

 

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.