I agree with you about the fact that my plans are perhaps
too complex and it is required to know the application really
well above all. 
In fact I am writing a documentation about Apache-Tomcat configuration for
my project
and I would like to give the best configuration with corresponding files
(server.xml,
wrapper.properties (not for Tomcat4), workers.properties, web.xml, ??...).
I will use Tomcat4.
On the web I have found several articles about "Real World Configuration
Tips", these
documents deal with JVM default settings that's why I posted this message on
the
Tomcat mailing list.

regards,
Sandra 
-----Original Message-----
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]]
Sent: 29 August 2002 15:43
To: Tomcat Users List
Subject: RE: Modify the default JVM settings to improve Tomcat
performance


Hi,
What version of tomcat are you using?

Regardless, you say that "I don't know Java very good and I don't
understand how modify JVM parameters."  And yet you seem convinced that
you need to modify your JVM parameters?  That kind of seems like a
recipe for a disaster.

I will say this: you can gain a *ton* from properly tuning your JVM
runtime options.  However, you need to know your application really
well, preferably profile it on an ongoing basis.  You need to have a
staging or test environment that is comparable to your production
environment in scale, computing power, OS level and patches, JDK
version, etc.  That's the only way to validate these runtime option
changes.

Or... You could experiment and see what happens ;)  All the options are
available at:
http://java.sun.com/j2se/1.4.1/docs/guide/performance/index.html
Check out the VM options page and the performance and scalability guide.

For tomcat 4.x, you can set these options in a number of places.  A good
one to start with is the $CATALINA_HOME/bin/catalina.sh (or atalina.bat
if running on windows) file as your JAVA_OPTS variable.

Yoav Shapira
Millennium ChemInformatics


>-----Original Message-----
>From: Heligon Sandra [mailto:[EMAIL PROTECTED]]
>Sent: Thursday, August 29, 2002 4:16 AM
>To: '[EMAIL PROTECTED]'
>Subject: Modify the default JVM settings to improve Tomcat performance
>
>
>       Hi,
>
>       I am creating a web application where Apache and Tomcat work
>together.
>       I read a document "Real World Configuration Tips" that explains
how
>improve
>       Tomcat performance.
>       It is recommended to modify JVM parameters but I don't know Java
>very good and
>       I don't understand how modify JVM parameters.
>       I understood that several JVM can be installed on the same
machine
>(JVM of  Windows,
>       JVM delivered with the development tools JBuilder in my case, or
an
>other version downloaded
>       from the Sun's site) .
>       What JVM do we use ?
>       The JDK has to be compatible with the module (mod_jk) under
Apache.
>       It is recommended to modify the default JVM settings (memory,
>threading configurations ...).
>       How can I modify these parameters ?
>       I don't find any JVM.conf file.
>       I use JDK1.3 with Jbuilder and I downloaded too the JDK1.4.
>
>       Thanks a lot in advance.
>
>--
>To unsubscribe, e-mail:   <mailto:tomcat-user-
>[EMAIL PROTECTED]>
>For additional commands, e-mail: <mailto:tomcat-user-
>[EMAIL PROTECTED]>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to