Print to Page   |   Contact Us   |   Sign In   |   Register


Join Vivit
Contact Vivit
Become a Leader
Become a Sponsor
Community Search
Calendar

5/29/2013
AZ Chapter 2013 Q2 Meeting

6/11/2013
Vivit Advanced Training

6/12/2013
Annual Member Meeting

6/26/2013
ALM/Quality Center - Ohio Vivit Chapter

6/27/2013
How to Automate SOX/PCI Breach Detection with UCMDB-CM

LinkedIn        Twitter

Forum: HP Performance Center: Diagnostic Java Agent Tomcat
Search ForumsForums
Share |

1/29/2012 at 10:27:58 PM GMT
Posts: 1
 
Subject: Diagnostic Java Agent Tomcat
DHello expert,
How do I instrument tomcat to automatically start Java Probe in redhat? In Debian I've attached the parameter into the /etc/init.d/tomcat script and it work fine but it doesnt seem to work in red hat.
export JRE_HOME=/usr/java/jdk1.6.0_18/jre
export JAVA_HOME=/usr/java/jdk1.6.0_18/bin
JAVA_OPTS="$JAVA_OPTS -Xbootclasspath/p:/usr/local/JavaAgent/DiagnosticsAgent/classes/Sun/1.6.0_18/instr.jre"
JAVA_OPTS="$JAVA_OPTS -javaagent:/usr/local/JavaAgent/DiagnosticsAgent/lib/probeagent.jar"


 Tomcat start fine but it doesnt autostart the Javaprobe. Any advice is greatly appreciate
Dunno if it make any different when tomcat run i get the following
Using CATALINA_BASE:   /opt/tomcatUsing
CATALINA_HOME:   /opt/tomcat
Using CATALINA_TMPDIR: /opt/tomcat/temp
Using JRE_HOME: /usr /usr/java/jdk1.6.0_18/jre
Using CLASSPATH:       /opt/tomcat/bin/bootstrap.jar

my first reaction is the script is using  JRE_HOME is not JAVA_HOME....does that make a different?

Thank you
Sign In

Username
Password

Forgot your password?

Haven't registered yet?

Vivit Blog