RE: JAVA_OPTS??

2005-06-07 Thread Peter Crowther
From: BATCHELOR, SCOTT (CONTRACTOR) [mailto:[EMAIL PROTECTED] I really apologize if this has been answered previously but I cannot find any definative documentation on the JAVA_OPTS option. I would like to bring myself up to date on what might be accomplished using this setting. Using

Re: JAVA_OPTS??

2005-06-07 Thread Matt Galvin
Using JAVA_OPTS, you can pass any options *directly to the Java virtual machine* on which you are running Tomcat. Some of these options are standard, others are VM-specific. If you want to know the details, check the documentation for your particular JVM - if it can be passed an option, you

Re: JAVA_OPTS??

2005-06-07 Thread Paul
Scott, the JAVA_OPTS parameter are used to pass different startup configuration options to the Java Virtual Machine. Most commonly it's probably used to speficify the RAM used by the VM and to fine tune your GC (Garbage Collection) settings. There are both standard and non-standard options.

Re: JAVA_OPTS , C:\Tomcat 5.5 ?

2005-02-16 Thread Edmon Begoli
Give few more details, so that I can try your test case. Thank you, Edmon Shakeel Ahmad wrote: Hi, JAVA_OPTS used to work in older Tomcat versions but the JVM Heap settings are not picked by Tomcat 5.5 from JAVA_OPTS. Please guide if anyone knows. Thanks in advance. Best Regards, S H A K E E L

RE: JAVA_OPTS , C:\Tomcat 5.5 ?

2005-02-16 Thread Shakeel Ahmad
Technologies. www.globalnorthstar.com EE(Computer Engineering), UET Lahore, Pakistan. SCJP,SCWCD SCBCD Sun Microsystems, Inc. Brain Bench Certified Java Programmer. -Original Message- From: Edmon Begoli [mailto:[EMAIL PROTECTED] Sent: 16 February, 2005 9:54 PM To: Tomcat Users List Subject: Re

Re: JAVA_OPTS and Xmx Xms

2005-01-04 Thread Dwayne Ghant
http://localhost:port/manager/status joon yoo wrote: On a Win2000 SP4 server running tomcat 5.0.24 with 1GB of RAM JAVA_OPTS was set to -Xmx768m -Xms768m -server as an environment variable in Windows, (not set in a batch file to start tomcat). How can it be confirmed that the new JVM settings is

RE: JAVA_OPTS and Xmx Xms

2005-01-04 Thread Phillip Qin
In the batch file, echo %JAVA_OPTS% -Original Message- From: joon yoo [mailto:[EMAIL PROTECTED] Sent: January 4, 2005 4:19 PM To: tomcat-user@jakarta.apache.org Subject: JAVA_OPTS and Xmx Xms On a Win2000 SP4 server running tomcat 5.0.24 with 1GB of RAM JAVA_OPTS was set to -Xmx768m

Re: JAVA_OPTS and Xmx Xms

2005-01-04 Thread joon yoo
Sorry I mispoke when I said it's not started in a batch file. What I meant was that tomcat is running as a service that comes in the tomcat installer app. Joon On Tue, 4 Jan 2005 16:36:59 -0500, Phillip Qin [EMAIL PROTECTED] wrote: In the batch file, echo %JAVA_OPTS% -Original

Re: JAVA_OPTS and Xmx Xms

2005-01-04 Thread Ben Souther
Are you running Tomcat as a Windows Service? On Tue, 2005-01-04 at 16:36, joon yoo wrote: it looks like it's still stuck on the 64MB default value: JVM Free memory: 4.58 MB Total memory: 14.01 MB Max memory: 63.56 MB `set` shows the system env. variables as:

Re: JAVA_OPTS and Xmx Xms

2005-01-04 Thread joon yoo
Yes On Tue, 04 Jan 2005 16:40:33 -0500, Ben Souther [EMAIL PROTECTED] wrote: Are you running Tomcat as a Windows Service? \ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: JAVA_OPTS and Xmx Xms

2005-01-04 Thread Mufaddal Khumri
You can stick this code in somewhere: Runtime r = Runtime.getRuntime(); System.out.println(Free Memory: + r.freeMemory()); System.out.println(Total Memory: + r.totalMemory()); If your settings are taking effect you will see the

RE: JAVA_OPTS for multiple apps running under 1 tomcat

2004-11-19 Thread Peter Crowther
From: Wick, Daniel [mailto:[EMAIL PROTECTED] When I set JAVA_OPTS=-Xmx 512m, in the bin/setenv.sh on UNIX, does this max out 512m for each context, or does it set it for everthing that runs under tomcat? It sets it for the Java virtual machine. Since all three contexts run in one virtual

Re: JAVA_OPTS for multiple apps running under 1 tomcat

2004-11-19 Thread Larry Meadors
They are all sharing one JVM and it's resources. Java knows nothing of tomcat or contexts. [EMAIL PROTECTED] 11/19/04 8:59 AM Hi! I have 3 virtual hosts in tomcat, each with it's own java app/context (total of 3 apps). When I set JAVA_OPTS=-Xmx 512m, in the bin/setenv.sh on UNIX, does this max

RE: JAVA_OPTS for multiple apps running under 1 tomcat

2004-11-19 Thread Wick, Daniel
I guess I could have deduced that from seeing only 1 java process...but I'm happy to have the validation of the group! Many thanks! -Original Message- From: Larry Meadors [mailto:[EMAIL PROTECTED] Sent: Friday, November 19, 2004 10:35 AM To: [EMAIL PROTECTED] Subject: Re

RE: JAVA_OPTS for multiple apps running under 1 tomcat

2004-11-19 Thread Shapira, Yoav
Hi, It's for everything under the Tomcat instance, since one Tomcat instance is one JVM, no matter how many Hosts or webapps you have on it. Yoav Shapira http://www.yoavshapira.com -Original Message- From: Wick, Daniel [mailto:[EMAIL PROTECTED] Sent: Friday, November 19, 2004 11:00 AM

RE: JAVA_OPTS

2004-11-15 Thread Shapira, Yoav
Hi, First one is I was looking at -server cached and tested that out and got nothing, tomcat didnt start a process. You probably mistyped the JAVA_OPTS setting. Next is -Xms128 -Xmx384 gives me an error of  Error occurred during initialization of VM  Too small initial heap Tomcat wont start

Re: JAVA_OPTS

2004-11-15 Thread Mufaddal Khumri
Specify -Xms128M and -Xmx384M ... the M stands for megabytes. On Nov 15, 2004, at 10:22 AM, Steven Lister wrote: First time caller, long time listener.  :) Have a couple of questions about JAVA_OPT settings in catalina.sh. First one is I was looking at -server cached and tested that out and got

RE: JAVA_OPTS

2004-11-15 Thread Steven Lister
? - Original Message - From: Shapira, Yoav To: Tomcat Users List Subject: RE: JAVA_OPTS Date: Mon, 15 Nov 2004 12:23:36 -0500 Hi, First one is I was looking at -server cached and tested that out and got nothing, tomcat didnt start a process. You probably mistyped

Re: JAVA_OPTS

2004-11-15 Thread Mufaddal Khumri
' Does anyone know -server cached if that is mispelled or wrong tense? - Original Message - From: Shapira, Yoav To: Tomcat Users List Subject: RE: JAVA_OPTS Date: Mon, 15 Nov 2004 12:23:36 -0500 Hi, First one is I was looking at -server cached and tested that out and got nothing, tomcat didnt

Re: JAVA_OPTS

2004-11-15 Thread Didier McGillis
Linux RH9 and RHE3, using Sun 1.4.2 From: Mufaddal Khumri [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Re: JAVA_OPTS Date: Mon, 15 Nov 2004 11:11:37 -0700 I do not know what VM you are using. If you are using Windows and have

Re: JAVA_OPTS

2004-11-15 Thread Steven Lister
-Xmx384m -Djava.awt.headless=true' - Original Message - From: Mufaddal Khumri To: Tomcat Users List Subject: Re: JAVA_OPTS Date: Mon, 15 Nov 2004 11:11:37 -0700 I do not know what VM you are using. If you are using Windows and have tomcat as a service on there you will have

Re: JAVA_OPTS

2004-11-15 Thread Shankar Unni
Mufaddal Khumri wrote: As far as what the -server option will do for you , that depends on your VM vendor. The Sun JRE distributions typically don't include a server VM, so -server will give an error. You'll have to download the JDK, and run the JRE that is embedded within it

RE: JAVA_OPTS

2004-11-15 Thread Wick, Daniel
, 2004 12:36 PM To: [EMAIL PROTECTED] Subject: Re: JAVA_OPTS Mufaddal Khumri wrote: As far as what the -server option will do for you , that depends on your VM vendor. The Sun JRE distributions typically don't include a server VM, so -server will give an error. You'll have

RE: JAVA_OPTS

2004-11-15 Thread Peter Crowther
From: Wick, Daniel [mailto:[EMAIL PROTECTED] I understand why you would set a max amount of memory that Java will use (-Xmx 512m), but why do you set a minimum (-Xms128m)? Doesn't it just use what it needs until it hits the max? So that you don't have it starting up small and then

RE: JAVA_OPTS

2004-11-15 Thread Shapira, Yoav
Hi, I understand why you would set a max amount of memory that Java will use (-Xmx 512m), but why do you set a minimum (-Xms128m)? Doesn't it just use what it needs until it hits the max? People set the minimum so that it's allocated on startup. That's faster than allocating each block size on

RE: JAVA_OPTS

2004-11-15 Thread Matt
If you'd prefer to use the tomcat service here's a page to assist in setup of Xms, Xmx : http://www.pauaware.co.nz/tomcatntservice.htm -Original Message- From: Steven Lister [mailto:[EMAIL PROTECTED] Sent: Tuesday, 16 November 2004 6:22 a.m. To: Tomcat Users List Subject: JAVA_OPTS

RE: JAVA_OPTS in catalina.bat (Tomcat 5.0.27)

2004-08-26 Thread Dale, Matt
There must be an error message somewhere. Either in catalina.out or on the console. Put a pause in at the end of catalina.bat so it stays on screen when you try to start tomcat. -Original Message- From: Chris Ward [mailto:[EMAIL PROTECTED] Sent: 26 August 2004 11:17 To: [EMAIL

RE: JAVA_OPTS in catalina.bat (Tomcat 5.0.27)

2004-08-26 Thread Chris Ward
the leading and trailing spaces in the command to avoid potential problems when it gets expanded. Oh well. Thanks again, Chris -Original Message- From: Dale, Matt [mailto:[EMAIL PROTECTED] Sent: Thursday, August 26, 2004 11:22 AM To: Tomcat Users List Subject: RE: JAVA_OPTS in catalina.bat

RE: JAVA_OPTS in catalina.bat (Tomcat 5.0.27)

2004-08-26 Thread Dale, Matt
It works fine on my XP machine and in 2K, what version of windows are you running? -Original Message- From: Chris Ward [mailto:[EMAIL PROTECTED] Sent: 26 August 2004 11:46 To: Tomcat Users List Subject: RE: JAVA_OPTS in catalina.bat (Tomcat 5.0.27) Thanks Matt, I've since found

RE: JAVA_OPTS in catalina.bat (Tomcat 5.0.27)

2004-08-26 Thread Chris Ward
: JAVA_OPTS in catalina.bat (Tomcat 5.0.27) It works fine on my XP machine and in 2K, what version of windows are you running? -Original Message- From: Chris Ward [mailto:[EMAIL PROTECTED] Sent: 26 August 2004 11:46 To: Tomcat Users List Subject: RE: JAVA_OPTS in catalina.bat

RE: JAVA_OPTS to tomcat

2003-12-17 Thread Shapira, Yoav
Howdy, Yeah, what's going on is limited familiarity with unix syntax. Use single or double quotes of your JAVA_OPTS (or any other environment variable) includes spaces, e.g. JAVA_OPTS='-Da=b -Dc=d'. Yoav Shapira Millennium ChemInformatics -Original Message- From: Vijay Kandy

Re: JAVA_OPTS to tomcat

2003-12-17 Thread Krzysztof Gil
Hello All, When I add the following line to catalina.sh: JAVA_OPTS=-Djava.naming.factory.initial=org.jnp.interfaces.NamingContextFact ory -Djava.naming.provider.url=jnp://localhost:1099 -Djava.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces I get this error: ./catalina.sh:

RE: JAVA_OPTS to tomcat

2003-12-17 Thread Vijay Kandy
Thank you but there was no need to pick on me. -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 17, 2003 3:02 PM To: Tomcat Users List Subject: RE: JAVA_OPTS to tomcat Howdy, Yeah, what's going on is limited familiarity with unix syntax. Use