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:[EMAIL PROTECTED] 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:[EMAIL PROTECTED] FS - FS To unsubscribe, e-mail: [EMAIL PROTECTED] FS For additional commands, e-mail: [EMAIL PROTECTED] FS - FS To unsubscribe, e-mail: [EMAIL PROTECTED] FS For additional commands, e-mail: [EMAIL PROTECTED] -- regards Sergey mailto:[EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: server options
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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
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:[EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
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:[EMAIL PROTECTED] 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:[EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
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:[EMAIL PROTECTED] 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:[EMAIL PROTECTED] 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:[EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: server options
It's platform dependant, AFAIK. -Original Message- From: Jim Henderson [mailto:[EMAIL PROTECTED] 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:[EMAIL PROTECTED] 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:[EMAIL PROTECTED] 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:[EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Proxy server options for SSL from Apache to Tomcat
We have been using an Apache/Tomcat on the same machine configuration in production for several months now. We are starting to roll out more J2EE components that work best with the servlet container and the J2EE container on the same machine. This means we would like to leave Apache at the front of our configuration and move Tomcat/JBoss to an application server inside the firewall. We are currently having problems getting the proxy server on Apache to work with SSL and Tomcat. Does anyone have suggestions for setting up this kind of configuration? Can you still use a mod_jk configuration for communication across servers or does mod_jk only work when the servers are running on the same machine? Thanks for your help, Brett -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Proxy server options for SSL from Apache to Tomcat
I know absoluely nothing about your proxy stuff, but I hear mod_jk should work just fine with TC located on a seperate machine from apache. You may be interested in ubeans.com/tomcat. While he sets both of his up locally, he indicates what would have to be done to put (one) TC on another machine. The same principal would apply, I think. HTH, Eddie Brett G. Palmer wrote: We have been using an Apache/Tomcat on the same machine configuration in production for several months now. We are starting to roll out more J2EE components that work best with the servlet container and the J2EE container on the same machine. This means we would like to leave Apache at the front of our configuration and move Tomcat/JBoss to an application server inside the firewall. We are currently having problems getting the proxy server on Apache to work with SSL and Tomcat. Does anyone have suggestions for setting up this kind of configuration? Can you still use a mod_jk configuration for communication across servers or does mod_jk only work when the servers are running on the same machine? Thanks for your help, Brett -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]