Deploy JProfiler to monitor tomcat and jprofilertomcat

Source: Internet
Author: User
Tags jprofiler

Deploy JProfiler to monitor tomcat and jprofilertomcat

 

  • Download JProfiler package
    Wget http://download-keycdn.ej-technologies.com/jprofiler/jprofiler_linux_9_2.rpm
  • Install JProfiler
    Rpm-ivh jprofiler_linux_9_2.rpm
  • Install JProfiler Client
    Http://download-keycdn.ej-technologies.com/jprofiler/jprofiler_windows-x64_9_2.exe
  • After the client is installed, open the client. Start Center → New Session → New Server Integration. The "integration Wizard" window is displayed. Select

  • After creation, a STARTUP script named "startup_jprofiler.sh" will be generated in the producer, which will be the same as the start. sh path. Copy the "startup_jprofiler.sh" startup script to the monitored server, under the tomcat/bin/directory.
    This script needs to modify the last line, changed from "exec" $ PRGDIR "/" $ EXECUTABLE "run" $ @ "to" exec "$ PRGDIR"/"$ EXECUTABLE" start "$ @""
    Finally, stop the java Process of the monitored server and start tomcat using the "startup_jprofiler.sh" script. Then, open the configuration you just created and access it.

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.