To make JProfiler work properly with tomcat you need to add
agent.jar in tomcat´s CLASSPATH!

#TOMCAT_HOME/bin/startup.sh

JAVA_OPTS="-Xint -Xrunjprofiler:${PARAM_JPROFILER}
-Xbootclasspath/a:/opt/jakarta-tomcat-4.1.18/bin/agent.jar"

export JAVA_OPTS 

> ----------
> De:   Shapira, Yoav[SMTP:[EMAIL PROTECTED]
> Responder:    Tomcat Users List
> Enviada:      sexta-feira, 9 de janeiro de 2004 16:21
> Para:         Tomcat Users List
> Assunto:      RE: Tomcat & JProfiler
> 
> 
> Howdy,
> 
> >1.   I am passing the JProfiler parameters through my JAVA_OPTS in
> >Catelina.sh and when I also try to set my heap size and/or garbage
> >collection parameters tomcat doesn't seem to start.  It works fine with
> >one or the other.
> 
> There are some invalid combinations of the Java VM Options.  I don't
> think there's an exhaustive list, but the VM will give you an error
> (Could Not Initialize Virtual Machine or something like that).  This is
> not a tomcat problem.
> 
> >2.   If I shutdown tomcat the Jprofiler process will not shutdown
> >unless I manually kill it.
> 
> Again, not a tomcat problem.  Contact the JProfiler folks if you think
> the above is an issue.
> 
> Yoav Shapira
> 
> 
> 
> This e-mail, including any attachments, is a confidential business
> communication, and may contain information that is confidential,
> proprietary and/or privileged.  This e-mail is intended only for the
> individual(s) to whom it is addressed, and may not be saved, copied,
> printed, disclosed or used by anyone else.  If you are not the(an)
> intended recipient, please immediately delete this e-mail from your
> computer system and notify the sender.  Thank you.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

Reply via email to