Java Mailing List Archive

http://www.junlu.com/

Google
Google
Mailing List
Home
Forum Home
JBoss - Java Application Server
Struts - A MVC web framework
Tomcat - JSP/Servlet container
iText - An open source PDF Java Library
JDOM - JDOM XML Parser
J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition
J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog
Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology
JSP - A mailing list about Java Server Pages specification and reference
Struts & Hibernate
Subjects
JSP editor plugin for eclipse ?
org apache jasper JasperException: Unable to compile class for JSP
Tomcat: Connection reset by peer: socket write error
Cannot retrieve definition for form bean null
Struts Tiles Tutorial (free Struts training)
Where do I download Tomcat 4 0 6?
Data Access Object (DAO) pattern, example DAO 's
Where to download Tomcat v 4 1 24 from?
Tomcat 5 0 16 Requested resource not available
Oracle Connection Pooling in 3 2 2
Servlet : Session invalidate
Servlet action is currently unavailable
Tomcat/Struts Unicode Encoding/Decoding problems
Tomcat and webapplication specific java library path
Running a Simple JMS Example
Mapping in workers2 properties
org apache jasper JasperException
Cannot find message resources under key org apache struts action
   MESSAGE
problem with html:text bean throwing exception
Cannot find message resources under key org apache struts action MESSAGE
invalid direct reference problem with solution
Tool for jsp debug Try Sysdeo Eclipse Plugin
Tomcat 5 Cannot load JDBC driver class 'null ' SQL state: null
weblogic ejbc
java properties file
Jboss 3 2 3 Coyote Can 't re
Tomcat 5, Apache2 and mod jk2 integration problem
JBoss example problem new to J2EE
url string for connecting jboss to oracle
Value attribute of <html:checkbox
javax servlet ServletException: BeanUtils populate
HTTP Status 404 The requested resource is not available
5 0 18: Windows XP Pro vs Windows 2000
 
Vedr.: RE: VM settings in windows service

Vedr.: RE: VM settings in windows service

2004-02-05       - By STOCKHOLM, Raymond

 Back
Reply:     1     2  

>You do NOT have to reinstall Tomcat.
Fine by me,
but how can you change the CATALINA_OPTS used by your service,
if you do not reinstall the windows service ?
Environment variables are not used by the service.


-- --Message d'origine-- --
De : Thomas Nybro Bolding [mailto:thomas.bolding@(protected)]
Envoy� : jeudi 5 f�vrier 2004 09:07
� : Tomcat Users List
Objet : Vedr.: RE: VM settings in windows service


You do NOT have to reinstall Tomcat.

It appears to be case sensitive so use -Xmx256m

/Thomas





"STOCKHOLM, Raymond" <R.STOCKHOLM@(protected)>
04-02-2004 18:12
Besvar venligst til "Tomcat Users List"


       Til:    "Tomcat Users List" <tomcat-user@(protected)>
       cc:
       Vedr.:  RE: VM settings in windows service

You must re-install your tomcat service with the options you want.
To make sure your options are properly set, use regedit to check them :
HKEY_LOCAL_MACHINE
                SYSTEM
                                CurrentControlSet
                                                Services
                                                                Apache
Tomcat xxx
 Parameters
look for JVM Option Number x

Try this script (after adapting your parameters) to install your service.

set JAVA_HOME=C:\j2sdk1.4.1_05
set CATALINA_HOME=C:\SOFTWARE\TOMCAT_4.1.18
set CATALINA_OPTS=-server -Xms750m -Xmx750m -XX:NewRatio=2 -Xconcurrentio

set PARAMETERS=%JAVA_HOME%\jre\bin\server\jvm.dll
set PARAMETERS=%PARAMETERS%
-Djava.class.path=%CATALINA_HOME%\bin\bootstrap.jar;%JAVA_HOME%\lib\tools.jar
set PARAMETERS=%PARAMETERS% -Dcatalina.home=%CATALINA_HOME%
set PARAMETERS=%PARAMETERS%
-Djava.endorsed.dirs=%CATALINA_HOME%\common\endorsed
set PARAMETERS=%PARAMETERS% -Dsun.io.useCanonCaches�lse
set PARAMETERS=%PARAMETERS% %CATALINA_OPTS%
set PARAMETERS=%PARAMETERS% -start org.apache.catalina.startup.Bootstrap Source code of org.apache.catalina.startup.Bootstrap
-params start
set PARAMETERS=%PARAMETERS% -stop org.apache.catalina.startup.Bootstrap Source code of org.apache.catalina.startup.Bootstrap -params
stop
set PARAMETERS=%PARAMETERS% -out %CATALINA_HOME%\logs\stdout.log
set PARAMETERS=%PARAMETERS% -err %CATALINA_HOME%\logs\stderr.log

%CATALINA_HOME%\bin\tomcat -install "Apache Tomcat 4.1" %PARAMETERS%


-- --Message d'origine-- --
De : Tino Sch�llhorn [mailto:t.schoellhorn@(protected)]
Envoy� : mercredi 4 f�vrier 2004 17:51
� : tomcat-user@(protected)
Objet : VM settings in windows service


Hi,

I am using Tomcat 5.0.18 on Windows 2000 as a service and I want to
change the memory-setting of the VM the Tomcat-Service-Manager uses. I
already changed the "Java Options" in the Tomcat Configuration tool, but
when I look at the status page of tomcat it tells me that the MAX-Memory
is 64MB instead of my 256M which I want.

I used the -X option to achieve this: -Xmx256M

What can I do that the service accepts these settings?

Tino



-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)


-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)





<FONT SIZE=1 FACE="Arial">__ ____ ____ __
Vi g�r opm�rksom p�, at denne e-mail kan indeholde fortrolig information. Hvis
du ved en fejltagelse modtager e-mailen, beder vi dig venligst informere
afsender om fejlen ved at bruge svar-funktionen. Samtidig beder vi dig slette e
-mailen i dit system uden at videresende eller kopiere den.
Selv om e-mailen og ethvert vedh�ftet bilag efter vores overbevisning er fri
for virus og andre fejl, som kan p�virke computeren eller it-systemet, hvori
den modtages og l�ses, �bnes den p� modtagerens eget ansvar. Vi p�tager os ikke
noget ansvar for tab og skade, som er opst�et i forbindelse med at modtage og
bruge e-mailen.
__ ____ ____ __
Please note that this message may contain confidential information. If you have
received this message by mistake, please inform the sender of the mistake by
sending a reply, then delete the message from your system without making,
distributing or retaining any copies of it.
Although we believe that the message and any attachments are free from viruses
and other errors that might affect the computer or IT system where it is
received and read, the recipient opens the message at his or her own risk. We
assume no responsibility for any loss or damage arising from the receipt or use
of this message.
</FONT>


-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)



©2008 junlu.com - Jax Systems, LLC, U.S.A.