Just to keep you guys informed, the parameters above prevented my service from 
start under Windows 2003 using Tomcat 6.0.10. I had to remove the -Xmx512m and 
-Xms1024m parameters to get it done... I simply put them (the same valus) in 
"Initial Memory Pool" and "Maximum Memory Pool" fields and it started working 
once again.

Previously I had tested those values under Windows XP without problems...

-----Mensagem original-----
De: Milanez, Marcus [mailto:[EMAIL PROTECTED] 
Enviada em: quarta-feira, 6 de junho de 2007 09:12
Para: Tomcat Users List
Assunto: RES: Perm Size

Hi,

I could get it done! I just cleared the "Initial Memory Pool" and "Maximum 
Memory Pool" values and entered the following parameters whithout "-D" just 
like this:

-Dcatalina.base=c:\jakarta-tomcat-6
-Dcatalina.home=c:\jakarta-tomcat-6
-Djava.endorsed.dirs=c:\jakarta-tomcat-6\endorsed
-Djava.io.tmpdir=c:\jakarta-tomcat-6\temp
-Dcom.sun.management.jmxremote
-Xmx512m
-Xms1024m
-XX:PermSize=128m
-XX:MaxPermSize=256m


Thank you all!

Marcus

-----Mensagem original-----
De: Milanez, Marcus [mailto:[EMAIL PROTECTED]
Enviada em: quarta-feira, 6 de junho de 2007 08:56
Para: Tomcat Users List
Assunto: RES: Perm Size

Hi,

Thanks for your response Martin, and no, JAVA_OPTS has no effect when I use 
tomcat6w to register options. To monitor tgese parameters I'm using Lambda 
Probe.

Chuck, I swear I've tried almost everything to get done, but using Lambda Probe 
I can see that I must have missed something. Following your suggestion, I've 
put all the parameters in separated lines as you can see above. In fact, this 
is my full "Java Options:" content in tomcat6w.exe

-Dcatalina.base=c:\jakarta-tomcat-6
-Dcatalina.home=c:\jakarta-tomcat-6
-Djava.endorsed.dirs=c:\jakarta-tomcat-6\endorsed
-Djava.io.tmpdir=c:\jakarta-tomcat-6\temp
-Dcom.sun.management.jmxremote
-D-XX:-UseSerialGC
-D-XX:MaxPermSize=256m
-D-XX:PermSize=128m

Through eclipse interface using Sysdeo plugin I could do that easily... I guess 
my problem is tomcat6w. Note that if I remove the "-D" characters, my service 
doesn't even start, thats why I'm still using it. Can you show me how is your 
"Java Options:" set, so that I could compare it?

Thanks for all your support.

Marcus Milanez

-----Mensagem original-----
De: Caldarale, Charles R [mailto:[EMAIL PROTECTED]
Enviada em: terça-feira, 5 de junho de 2007 18:42
Para: Tomcat Users List
Assunto: RE: Perm Size

> 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]


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


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


---------------------------------------------------------------------
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