• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Confiure jprofiler for tomcat in linux

 
Ajay Vikas
Ranch Hand
Posts: 66
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

Can anybody please help me in understanding configuration of jprofiler for tomcat in Linux. Also provide details of starting tomcat from jprofiler and its reporting.

Thank you in advance !!!

Regards,
Ajay.
SCJP 1.4.
 
Madhu sudhana reddy cheepati
Greenhorn
Posts: 2
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Step 1: In Linux machine open .bash_profile file from /root directory
Enter jprofiller location (using below command export) in .bash_profile file
export LD_LIBRARY_PATH=/dsvol/jprofiler6/bin/linux-x86

Step 2: Go Tomcat installation directory. Open catalena.sh file from bin folder
Enter the below details in catelana.sh file (only red color information and black color you can find by default in catalena.sh file)
export JPROFILER_HOME
JAVA_OPTS="-Xms768m -Xmx1024m -XX:PermSize=256m -XX:MaxPermSize=256m -Dfile.encoding=UTF8 -agentpath:/opt/Performance/jprofiler7/bin/linux-x86/libjprofilerti.so=port=8849 $CATALINA_OPTS"

Step 3: Start the server from bin folder by executing the starup.sh command
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic