Hello Tom,

Well, how about here:
http://www.alexandriasc.com/software/JavaService/source.html

Tomcat.exe is simply a program called JavaService:

"JavaService is a Win32 executable that allows any Java class to be
run as an NT service. It uses JNI's invocation API to create a Java
Virtual Machine using any JNI compliant Java implementation."

Also, the options being referred to have nothing specifically to do
with Tomcat at all.  They are JVM options...specifically, Sun JVM
options for JDK1.3 and JDK1.4.

CATALINA_OPTS = -server -Xms8m -Xmx128m

1. -server - use the server VM
2. -Xms8m - Set the initial size of the Java memory allocation pool (that is, the 
heap) to 8 Mbytes (The default value is 2MB)
3. -Xmx128m - Set the maximum heap size to 128 Mbytes (The default value is 64MB)
4. -Xincgc - Use incremental GC, eliminate occasional garbage-collection pauses during 
program execution, although 10% hit in overall GC performance


The CATALINA_OPTS evironment variable is there as an convenience for
you to use when running Tomcat.  If you've specified this environment
variable, Tomcat, using the scripts to start up, will use these flags
when starting itself up.  These flags tell the Sun JVM to behave in
particular ways that may optimize your application running within the
JVM.

Does that clear things up?

Jake

Thursday, May 02, 2002, 1:16:48 AM, you wrote:

TB> Jake,

>>
>> Also, what is that -jvm_option?  I haven't seen that before?  My
>> %CATALINA_OPTS% evironment var looks like: -server -Xms8m -Xmx128m.
>> Should I be using -jvm_option?
>>

TB> I have NO -server option. I think there is a big difference between Tomcat
TB> 3.x and 4.x. If you type tomcat.exe /? you will see all available options.
TB> It may also be a difference between Tomcat running as a service (Win$ows
TB> only) or running it in a shell.

TB> Some weeks ago I tried to find out where the source code of  Tomcat.exe is,
TB> but nobody replied! It seems to be TOP SECRET open source -:)

TB> Tom



-- 
Best regards,
 Jacob                            mailto:[EMAIL PROTECTED]


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to