In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-04 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
This article will explain in detail how to install and configure JProfiler. The editor thinks it is very practical, so I share it with you for reference. I hope you can get something after reading this article.
Version jprofiler5_0
Server two TOMCAT | WEBLOIGC
I. Linux
1. Installation
#. / jprofiler_linux_5_0.sh-Q
1. Configure the environment
Export LD_LIBRARY_PATH=/opt/jprofiler5/bin/linux-x64
3. Configuration
A) TOMCAT
Modify bin/catalina.sh#-Execute The Requested Command--
JAVA_OPTS= "- servezhdr-Xmx768m-Xms512m-XX:MaxNewSize=256m-XX:MaxPermSize=512m-Djava.awt.headless=true
After adding the following to the existing JAVA_OPTS, keep it on one line
-agentlib:jprofilerti=port=8849,nowait,id=104,config=/opt/config.xml-Xbootclasspath/a:/opt/jprofiler5/bin/agent.jar
Put the config.xml file in the / opt directory and modify the IP address content of the SESSION tag
Restart TOMCAT
After configuration, tomcat will be unable to shutdown, which can be killed by the kill process and then restarted.
B) WEBLOGIC
Modify bin/setDomainEnv.sh
JAVA_OPTIONS= "${JAVA_OPTIONS} ${JAVA_PROPERTIES}-Dwlw.iterativeDev=$ {iterativeDevFlag}-Dwlw.testConsole=$ {testConsoleFlag}-Dwlw.logErrorsToConsole=$ {logErrorsToConsoleFlag}"
After adding the following to the existing JAVA_OPTS, keep it on one line
-agentlib:jprofilerti=port=8849,nowait,id=104,config=/opt/config.xml-Xbootclasspath/a:/opt/jprofiler5/bin/agent.jar
Put the config.xml file in the / opt directory and modify the IP address content of the SESSION tag
Restart WEBLOGIC
After configuration, weblogic will be unable to shutdown, which can be killed by the kill process and then restarted.
This is the end of this article on "how to install and configure JProfiler". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, please share it out for more people to see.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.