> From: Milanez, Marcus [mailto:[EMAIL PROTECTED] 
> Subject: Perm Size
> 
> I'm trying to use the following parameters in my Tomcat 6 
> server through tomcat6w.exe, but they don't seem to take
> any effect:
> 
> -Dserver

There's no such option as "-Dserver".  If you're trying to run Tomcat as
a service using the server JVM, you have to clear the Use Default
checkbox on the Java tab, and specify the location of the server version
of the jvm.dll file.  Alternatively, you can edit
%JRE_HOME%\lib\i386\jvm.cfg to put the -server line first in the list.

> -XX:-UseSerialGC -XX:MaxPermSize=256m -XX:PermSize=128m

Are you trying to put all these on one line? They must each be on a
separate line in the Java Options space of the Java tab.  All are
effective when I try it, as shown by Lambda Probe.

Note to Mark T:
The service.bat script for 6.0.13 still references
http://jakarta.apache.org/tomcat.

Note to Martin G:
The JAVA_OPTS environment variable has no effect when running Tomcat as
a Windows service.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to