2 apps
I have 2 applications. The first is to be allowed from internet, the second is to enter data. Two apps are in the webapps. How can I configure tomcat to make cms unvisible from outside. -- regards, Sergey mailto:[EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat, windows and more memory
Hi, Charl. Very useful link, http://www.jchem.com/doc/admin/tomcat.html try to edit ENVIRONMENT VARIABLES - JAVA_OPTS CG How do you configure Tomcat (4.1.31) to be allocated CG more memory in Windows when using the installed CG Programs/Apache Tomcat 4.1/Start Tomcat shortcuts? CG These shortcuts do not seem to use the catalina.bat CG file, so setting the JAVA_OPTS there has no effect. CG I tried putting the java options -Xmx512 as an extra CG shortcut parameter, but then Tomcat didn't even start. CG Thanks CG Charl CG - CG To unsubscribe, e-mail: [EMAIL PROTECTED] CG 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[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]
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]
server opts
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, Sergey mailto:[EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
server opts
I have loaded 5.5.9 server. I want to set JVM options for Tomcat. When I add -server -Xmx256m option server does not start. 680 Mb memory is free on the server. Thanks you in advance . regards, Sergey mailto:[EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re[2]: server opts
DM What is the platform and error message? Windows 2000 sp4, 1 Gb [2005-05-14 22:52:35] [418 javajni.c] [error] CreateJavaVM Failed [2005-05-14 22:52:35] [903 prunsrv.c] [error] Failed initializing java C:\Apache\Tomcat\bin\bootstrap.jar [2005-05-14 22:52:35] [1131 prunsrv.c] [error] ServiceStart returned 2 In Java tab opts ( -server -Xmx256m ) without this options all applications works well. thank you a lot! Sergey. DM You haven't given us much to go on. DM -Original Message- DM From: Sergey Livanov [mailto:[EMAIL PROTECTED] DM Sent: 14 May 2005 18:56 DM To: Tomcat users DM Subject: server opts DM I have loaded 5.5.9 server. DM I want to set JVM options for Tomcat. DM When I add -server -Xmx256m option server does not start. DM 680 Mb memory is free on the server. DM Thanks you in advance . DM regards, DM Sergey mailto:[EMAIL PROTECTED] DM - DM To unsubscribe, e-mail: [EMAIL PROTECTED] DM For additional commands, e-mail: [EMAIL PROTECTED] DM - DM To unsubscribe, e-mail: [EMAIL PROTECTED] DM For additional commands, e-mail: [EMAIL PROTECTED] Sergey mailto:[EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
out of memory error
Pls help me to investigate type of error. Sometimes pages are not downloaded. We have looked into Log file and found out a message out of memory. When is this error appeared and what do we have to do to avoid this type of error? 2005-04-25 08:15:10 ApplicationDispatcher[] Servlet.service() for servlet jsp threw exception java.lang.OutOfMemoryError 2005-04-25 08:15:11 StandardWrapperValve[action]: Servlet.service() for servlet action threw exception java.lang.OutOfMemoryError -- regards, Sergey mailto:[EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Need help!
Client's server with applications stops ~ 1 in two days. Configuration: Win2003 server, sp4, Tomcat 5.12, Oracle 9.2. I'd like to ask a couple of questions 1. Is there a method to have a load on 80 rt, determine the number of inquiries and see how the system operates? 2. Do I need the Shareable parameter in web.xml? resource-ref descriptionDatabase Reference/description res-ref-nameORAPOOL/res-ref-name res-typejavax.sql.DataSource/res-type res-authContainer/res-auth res-sharing-scopeShareable/res-sharing-scope /resource-ref 3. Are my Tomcat Connection pool parameters normal? Resource auth=Container description=Oracle 9i database name=portalDataSource scope=Shareable type=javax.sql.DataSource / ResourceParams name=portalDataSource parameter namefactory/name valueorg.apache.commons.dbcp.BasicDataSourceFactory/value /parameter parameter namedriverClassName/name valueoracle.jdbc.driver.OracleDriver/value /parameter parameter nameurl/name valuejdbc:oracle:thin:@192.168.0.10:1521:APPL/value /parameter parameter nameusername/name valueusername/value /parameter parameter namepassword/name valuepwd/value /parameter parameter namemaxActive/name value80/value /parameter parameter namemaxIdle/name value40/value /parameter parameter namemaxWait/name value1/value /parameter parameter nameremoveAbandoned/name valuetrue/value /parameter parameter nameremoveAbandonedTimeout/name value60/value /parameter parameter namelogAbandoned/name valuetrue/value /parameter /ResourceParams Any advises ? Help advises are appreciated ! regards, Sergey mailto:[EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]