You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Sergey Livanov <Se...@ukrpost.net> on 2005/05/20 18:00:03 UTC
Re[2]: server options
Thank you a lot Fritz,
I have downloaded and install JDK 1.5.0.3 and set the following pass in the
configuration.
( C:\Program Files\Java\jdk1.5.0_03\jre\bin\server\jvm.dll )
Then I have added the line -server -Xmx256m and tried to
start it but the result was the same.
Do you have any more ideas?
FS> Sergey,
FS> The "-server" option is not used in Windows. Instead, you copy the
FS> jre\bin\server folder from the JDK into your JRE installation folder and
FS> select that JVM in your service configuration.
FS> Fritz
FS> -----Original Message-----
FS> From: Sergey Livanov [mailto:Sergey.Livanov@ukrpost.net]
FS> Sent: Thursday, May 19, 2005 1:15 PM
FS> To: Tomcat users
FS> Subject: server options
FS> Could you, please, give me a peace of advice?
FS> I want to set Xmx parameter.
FS> When I enter the line -server -Xmx256m on the
FS> console in the Java Options Tab , the server does not
FS> start.
FS> [2005-05-19 20:38:54] [418 javajni.c] [error] CreateJavaVM Failed
FS> [2005-05-19 20:38:54] [903 prunsrv.c] [error] Failed initializing java
FS> C:\Apache\Tomcat\bin\bootstrap.jar
FS> [2005-05-19 20:38:54] [1131 prunsrv.c] [error] ServiceStart returned 2
FS> When I enter the line -Xmx256m - the server starts.
FS> If the line -Xmx256m is stayed, will it be correct ?
FS> Thanks in advance,
FS> regards,
FS> Sergey mailto:Sergey.Livanov@ukrpost.net
FS> ---------------------------------------------------------------------
FS> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
FS> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
FS> ---------------------------------------------------------------------
FS> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
FS> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
--
regards
Sergey mailto:Sergey.Livanov@ukrpost.net
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: server options
Posted by "Robert r. Sanders" <ro...@ipov.net>.
Running "java -h" from Windows XP w/ JRE 1.5.0_02 claims that it
supports the -server flag. Try creating an environment variable
JAVA_OPTS and setting it to be "-server -Xmx256m".
--
Robert r. Sanders
Chief Technologist
iPOV
(334) 821-5412
www.ipov.net
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org