Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

RE: Setting JVM options for Servlet

Shapira, Yoav

2003-10-15

Replies:


Howdy,

>I have a servlet application that requires tuning of JVM command line
>operations to have decent performace. I need to tune things like the
heap
>size and garbage collection parameters. How do I do this, do I have to

Wouldn't hurt to RTFM or search the archives of this list. Read the top
of $CATALINA_HOME/bin/catalina.sh, you're looking for the JAVA_OPTS
variable.

>change Tomcat startup files? Or is there a way to have contexts run in
>their
>own jvm and use per context/jvm command line options?

One tomcat instance = one JVM instance. If you want different webapps
to have different JVMs, the webapps must be deployed on separate tomcat
instances.

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: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)


©2008 junlu.com - Jax Systems, LLC, U.S.A.