wood burning stoves 2.0*
The moose likes Performance and the fly likes Confiure jprofiler for tomcat in linux Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Performance
Bookmark "Confiure jprofiler for tomcat in linux" Watch "Confiure jprofiler for tomcat in linux" New topic
Author

Confiure jprofiler for tomcat in linux

Ajay Vikas
Ranch Hand

Joined: Nov 08, 2006
Posts: 66
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

Joined: Dec 07, 2011
Posts: 2
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.
 
subject: Confiure jprofiler for tomcat in linux
 
Similar Threads
JProfiler Help Needed
Java Profiling In Eclipse
Performance issues on Tomcat using Jasper report
Configure Jprofiler with tomcat.
Performance Tuning in Liferay