server options

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

server options

Sergey Livanov
Could you, please, give me a peace of advice?

I want to set Xmx parameter.
When I enter the line -server -Xmx256m on the
console in the Java Options Tab , the server does not
start.
[2005-05-19 20:38:54] [418  javajni.c] [error] CreateJavaVM Failed
[2005-05-19 20:38:54] [903  prunsrv.c] [error] Failed initializing java C:\Apache\Tomcat\bin\bootstrap.jar
[2005-05-19 20:38:54] [1131 prunsrv.c] [error] ServiceStart returned 2

When I enter the line -Xmx256m - the server starts.
If the line -Xmx256m is stayed, will it be correct ?

Thanks in advance,

regards,
 Sergey                          mailto:[hidden email]


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

RE: server options

Fritz Schneider
Sergey,

The "-server" option is not used in Windows. Instead, you copy the
jre\bin\server folder from the JDK into your JRE installation folder and
select that JVM in your service configuration.

Fritz

-----Original Message-----
From: Sergey Livanov [mailto:[hidden email]]
Sent: Thursday, May 19, 2005 1:15 PM
To: Tomcat users
Subject: server options

Could you, please, give me a peace of advice?

I want to set Xmx parameter.
When I enter the line -server -Xmx256m on the
console in the Java Options Tab , the server does not
start.
[2005-05-19 20:38:54] [418  javajni.c] [error] CreateJavaVM Failed
[2005-05-19 20:38:54] [903  prunsrv.c] [error] Failed initializing java
C:\Apache\Tomcat\bin\bootstrap.jar
[2005-05-19 20:38:54] [1131 prunsrv.c] [error] ServiceStart returned 2

When I enter the line -Xmx256m - the server starts.
If the line -Xmx256m is stayed, will it be correct ?

Thanks in advance,

regards,
 Sergey                          mailto:[hidden email]


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

RE: server options

Jim Henderson
That is a new change with Java in 1.5.  1.4 allowed the runtime -server
option.  Right?

-----Original Message-----
From: Fritz Schneider [mailto:[hidden email]]
Sent: Thursday, May 19, 2005 5:06 PM
To: 'Tomcat Users List'; 'Sergey Livanov'
Subject: RE: server options


Sergey,

The "-server" option is not used in Windows. Instead, you copy the
jre\bin\server folder from the JDK into your JRE installation folder and
select that JVM in your service configuration.

Fritz

-----Original Message-----
From: Sergey Livanov [mailto:[hidden email]]
Sent: Thursday, May 19, 2005 1:15 PM
To: Tomcat users
Subject: server options

Could you, please, give me a peace of advice?

I want to set Xmx parameter.
When I enter the line -server -Xmx256m on the
console in the Java Options Tab , the server does not
start.
[2005-05-19 20:38:54] [418  javajni.c] [error] CreateJavaVM Failed
[2005-05-19 20:38:54] [903  prunsrv.c] [error] Failed initializing java
C:\Apache\Tomcat\bin\bootstrap.jar
[2005-05-19 20:38:54] [1131 prunsrv.c] [error] ServiceStart returned 2

When I enter the line -Xmx256m - the server starts.
If the line -Xmx256m is stayed, will it be correct ?

Thanks in advance,

regards,
 Sergey                          mailto:[hidden email]


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]




---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

RE: server options

Fritz Schneider
It's platform dependant, AFAIK.

-----Original Message-----
From: Jim Henderson [mailto:[hidden email]]
Sent: Thursday, May 19, 2005 3:11 PM
To: Tomcat Users List
Subject: RE: server options

That is a new change with Java in 1.5.  1.4 allowed the runtime -server
option.  Right?

-----Original Message-----
From: Fritz Schneider [mailto:[hidden email]]
Sent: Thursday, May 19, 2005 5:06 PM
To: 'Tomcat Users List'; 'Sergey Livanov'
Subject: RE: server options


Sergey,

The "-server" option is not used in Windows. Instead, you copy the
jre\bin\server folder from the JDK into your JRE installation folder and
select that JVM in your service configuration.

Fritz

-----Original Message-----
From: Sergey Livanov [mailto:[hidden email]]
Sent: Thursday, May 19, 2005 1:15 PM
To: Tomcat users
Subject: server options

Could you, please, give me a peace of advice?

I want to set Xmx parameter.
When I enter the line -server -Xmx256m on the
console in the Java Options Tab , the server does not
start.
[2005-05-19 20:38:54] [418  javajni.c] [error] CreateJavaVM Failed
[2005-05-19 20:38:54] [903  prunsrv.c] [error] Failed initializing java
C:\Apache\Tomcat\bin\bootstrap.jar
[2005-05-19 20:38:54] [1131 prunsrv.c] [error] ServiceStart returned 2

When I enter the line -Xmx256m - the server starts.
If the line -Xmx256m is stayed, will it be correct ?

Thanks in advance,

regards,
 Sergey                          mailto:[hidden email]


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]




---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re[2]: server options

Sergey Livanov
In reply to this post by Fritz Schneider
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:[hidden email]]
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:[hidden email]


FS> ---------------------------------------------------------------------
FS> To unsubscribe, e-mail: [hidden email]
FS> For additional commands, e-mail: [hidden email]


FS> ---------------------------------------------------------------------
FS> To unsubscribe, e-mail: [hidden email]
FS> For additional commands, e-mail: [hidden email]



--
regards
 Sergey                          mailto:[hidden email]


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: server options

rrsIPOV
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: [hidden email]
For additional commands, e-mail: [hidden email]