JAVA_OPTS

2004-11-15 Thread Steven Lister
uring initialization of VM  Too small initial heap" Tomcat wont start with either of these flags set in JAVA_OPTS. -- ___ Sign-up for Ads Free at Mail.com http://promo.mail.com/adsfr

JAVA_OPTS??

2005-06-07 Thread BATCHELOR, SCOTT \(CONTRACTOR\)
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. TIA SB

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 h

Re: JAVA_OPTS

2004-11-15 Thread Mufaddal Khumri
nothing, tomcat didnt start a process. Next is -Xms128 -Xmx384 gives me an error of  "Error occurred during initialization of VM  Too small initial heap" Tomcat wont start with either of these flags set in JAVA_OPTS. -- ___ Sign-up fo

RE: JAVA_OPTS

2004-11-15 Thread Steven Lister
Thanks for the quick reply. the sound you probably heard a couple of minutes ago was my head repeatedly hitting my desk. the Xms and Xms was a mispelling. :( export JAVA_OPTS='-server -Xms128m -Xmx384m -Djava.awt.headless=true' Does anyone know -server cached if that is mispelled or w

Re: JAVA_OPTS

2004-11-15 Thread Mufaddal Khumri
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 to specify the -server option in the registry. If you are using Mac OS X you can specify it in the JAVA_OPTS As far as what the -server option will do for you , that depends on

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 a

Re: JAVA_OPTS

2004-11-15 Thread Steven Lister
Sun's JVM on Debian OS. One question about JAVA_OPTS is there a setting that I should have if I am serving content that is image intensive and database intensive.  I understand that one app differes from another, just trying to get an idea on if I missing soemthing. JAVA_OPTS='-serve

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 (.../j2sdk1.4/jre

RE: JAVA_OPTS

2004-11-15 Thread Wick, Daniel
nday, November 15, 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'

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 ins

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

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:

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 usi

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

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-standar

USing JAVA_OPTS -Xmx

2002-11-06 Thread achana
Hi all. I am trying to modify catalina.sh Do I need to insert -Xmx255mB into all the options e.g [code] ... elif ["$1" = "start"] ; then ... $_RUNJAVA $JAVA_IPTS $CATALINA_OPTS \ -Djava.endorsed.dirs="JAVA_ENDORSED_DIRS" -classpath "$CLASSPATH" \ ... -Xmx256M ... ... [/code] -- To unsu

JAVA_OPTS in catalina.sh

2004-04-13 Thread Thomas Chua
Hi All, Anyone encountered any error when JAVA_OPTS='-Xmx512m -XX:+AggressiveHeap' is added in catalina.sh. For Environment : Red Hat Enterprise Linux ES release 2.1(panama) Kernel version: 2.4.9-e.12 Java Version: 1.4.2_04 Client VM (build 1.4.2_04-b05, mixed mode) The followin

JAVA_OPTS to tomcat

2003-12-17 Thread Vijay Kandy
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: USing JAVA_OPTS -Xmx

2002-11-06 Thread Shapira, Yoav
Hi, Scary. All you have to do is add one line at the top of the file: JAVA_OPTS='-Xmx256m' Don't mess with the individual targets, like start, run, stop, etc. And be careful specifying these properties: -Xmx255mB != -Xmx256M != -Xmx256m. Yoav Shapira Millennium

Re: USing JAVA_OPTS -Xmx

2002-11-06 Thread achana
quot; wrote: > > Hi, > Scary. > > All you have to do is add one line at the top of the file: > > JAVA_OPTS='-Xmx256m' > > Don't mess with the individual targets, like start, run, stop, etc. > > And be careful specifying these properties:

Re: USing JAVA_OPTS -Xmx

2002-11-06 Thread achana
"Shapira, Yoav" wrote: > > Hi, > Scary. Hi again, after the change and bouncing Tomcat with startup.sh , how do i determine whather the change has taken effect ??? TIA -- To unsubscribe, e-mail: For additional commands, e-mail:

RE: USing JAVA_OPTS -Xmx

2002-11-07 Thread Shapira, Yoav
Howdy, >It is so difficult to scale this. using vmstat, I can see my free memory >shrinking and shrinking . It is really a case of "suck and see". The free memory will keep going down until the VM feels it has to garbage-collect. You can tune this behavior using other non-standard options, for e

Re: USing JAVA_OPTS -Xmx :-)

2002-11-07 Thread achana
"Shapira, Yoav" wrote: Thanks -- To unsubscribe, e-mail: For additional commands, e-mail:

Where to set JAVA_OPTS

2004-04-06 Thread UmamaheswarKalluru
Hi, Where do I need to set JAVA_OPTS (Should I edit catalina.bat file?). I am using Win 2k Pro and Tomcat 5. Thank you, Best Regards, Uma - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

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

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 &g

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.

JAVA_OPTS and Xmx Xms

2005-01-04 Thread joon yoo
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 configured and running correctly? Thanks, Joon

JAVA_OPTS , C:\Tomcat 5.5 ?

2005-02-16 Thread Shakeel Ahmad
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 A H M A D http://members.fortunecity.com/javaclub/shakeel.htm Voice: 00923002723316 Senior

Startup.sh problems with JAVA_OPTS = Xmx ?

2002-11-07 Thread achana
Hi. I had some problems with insufficient memory and added the following line to catalina.sh (somewhere after the comment# --- execute and between 2 blocks of if-fi): JAVA_OPTS="-Xmx128m" When I startup with startup.sh I get the following errors ... If I don't use JAVA_OPTS, no er

UNIX JAVA_OPTS variables syntax quaestion

2002-03-17 Thread Steven Elliott
I am not a shell expert but none of the following settings from the terminal (tcsh) invoking the startup.sh are working: setenv JAVA_OPTS file.encoding=Latin-1 setenv JAVA_OPTS -Dfile.encoding=Latin-1 setenv JAVA_OPTS -Dfile.encoding=\"Latin-1\" If I go in and manual

Re: Where to set JAVA_OPTS

2004-04-07 Thread Giorgio Ponza
[EMAIL PROTECTED] ha scritto: Hi, Where do I need to set JAVA_OPTS (Should I edit catalina.bat file?). I am using Win 2k Pro and Tomcat 5. Thank you, Best Regards, Uma Hi usually i put my JAVA_OPTS in catalina.sh (in windows is catalina.bat) like this REM set JAVA_OPTS=-server -Xms128m -Xmx128m

Re: Where to set JAVA_OPTS

2004-04-07 Thread Jon Wingfield
TECTED] ha scritto: Hi, Where do I need to set JAVA_OPTS (Should I edit catalina.bat file?). I am using Win 2k Pro and Tomcat 5. Thank you, Best Regards, Uma Hi usually i put my JAVA_OPTS in catalina.sh (in windows is catalina.bat) like this REM set JAVA_OPTS=-server -Xms128m -Xmx128m -

Re: Where to set JAVA_OPTS

2004-04-07 Thread Paul Mansfield
On Wed, 2004-04-07 at 14:43, Jon Wingfield wrote: > No need to change the script. I normally set an Environment variable in > the same place I define JAVA_HOME > > Go to Control Panel \ System \ Advanced tab \ Environment variables... > Well, that's where it is on XP, which i'm currently running.

Re: Where to set JAVA_OPTS

2004-04-07 Thread Giorgio Ponza
think is a good approach, at least for me. An environment variable is accessible to all java programs. Modifying the script affects only tomcat. Bye Giorgio Giorgio Ponza wrote: Hi usually i put my JAVA_OPTS in catalina.sh (in windows is catalina.bat) like this REM set JAVA_OPTS=-server -X

RE: Where to set JAVA_OPTS

2004-04-07 Thread Shapira, Yoav
Hi, Yup, same here. I don't like to rely on the environment. Yoav Shapira Millennium Research Informatics >-Original Message- >From: Giorgio Ponza [mailto:[EMAIL PROTECTED] >Sent: Wednesday, April 07, 2004 9:56 AM >To: Tomcat Users List >Subject: Re: Where to

RE: Where to set JAVA_OPTS

2004-04-07 Thread ldrobertson
PROTECTED]> .com>cc: Subject: RE: Where to set JAVA_OPTS

RE: [OT] JAVA_OPTS in catalina.sh

2004-04-13 Thread Ralph Einfeldt
MAIL PROTECTED] > Sent: Wednesday, April 14, 2004 8:32 AM > To: [EMAIL PROTECTED] > Subject: JAVA_OPTS in catalina.sh > > > Anyone encountered any error when JAVA_OPTS='-Xmx512m > -XX:+AggressiveHeap' > > For Environment : Red Hat Enterprise Linux ES rele

RE: [OT] JAVA_OPTS in catalina.sh

2004-04-14 Thread Thomas Chua
Ralph Einfeldt" <[EMAIL PROTECTED]> 04/14/2004 02:57 PM Please respond to "Tomcat Users List" To: "Tomcat Users List" <[EMAIL PROTECTED]> cc: Subject:RE: [OT] JAVA_OPTS in catalina.sh That is not a tomcat but an jvm issue.

RE: [OT] JAVA_OPTS in catalina.sh

2004-04-14 Thread Ralph Einfeldt
core libraries ? > -Original Message- > From: Thomas Chua [mailto:[EMAIL PROTECTED] > Sent: Wednesday, April 14, 2004 9:42 AM > To: Tomcat Users List > Subject: RE: [OT] JAVA_OPTS in catalina.sh > > > I tried with both (build 1.4.2_04-b05, mixed > mode)and(1.4.2-b28

RE: [OT] JAVA_OPTS in catalina.sh

2004-04-14 Thread Thomas Chua
; 04/14/2004 05:37 PM Please respond to "Tomcat Users List" To: "Tomcat Users List" <[EMAIL PROTECTED]> cc: Subject:RE: [OT] JAVA_OPTS in catalina.sh So it's most likely the kernel or an os library for Red Hat Enterprise Linux

Re: [OT] JAVA_OPTS in catalina.sh

2004-04-14 Thread QM
On Wed, Apr 14, 2004 at 06:46:35PM +0800, Thomas Chua wrote: : but i am not familiar with linux so i do not know whether this minor : difference : will cause the VM to crash. The RH kernels leave their .config file in /boot (I forget the exact name). Run a diff between the two files and you'll s

Re: [OT] JAVA_OPTS in catalina.sh

2004-04-14 Thread Thomas Chua
Thank you... will try to figure out the diff between the config and post it in Java forum :-) [EMAIL PROTECTED] 04/14/2004 08:45 PM Please respond to "Tomcat Users List" To: "Tomcat Users List" <[EMAIL PROTECTED]> cc: Subject:

Re: [OT] JAVA_OPTS in catalina.sh

2004-04-14 Thread Jeff Tulley
"Tomcat Users List" To: "Tomcat Users List" <[EMAIL PROTECTED]> cc: Subject:Re: [OT] JAVA_OPTS in catalina.sh On Wed, Apr 14, 2004 at 06:46:35PM +0800, Thomas Chua wrote: : but i am not familiar with linux so i do not know whether thi

Re: [OT] JAVA_OPTS in catalina.sh

2004-04-14 Thread QM
On Wed, Apr 14, 2004 at 10:15:36AM -0600, Jeff Tulley wrote: : Could this possibly be a time to try setting LD_ASSUME_KERNEL to 2.4? perhaps -- but I thought that only affected the underlying NTPL threading functionality... Did RH backport NPTL that long ago (RH ES 2.1)? -QM -- software --

Re: [OT] JAVA_OPTS in catalina.sh

2004-04-14 Thread Chong Yu Meng
5:37 PM Please respond to "Tomcat Users List" To: "Tomcat Users List" <[EMAIL PROTECTED]> cc: Subject:RE: [OT] JAVA_OPTS in catalina.sh So it's most likely the kernel or an os library for Red Hat Enterprise Linux ES release 2.1 that is

JAVA_OPTS in catalina.bat (Tomcat 5.0.27)

2004-08-26 Thread Chris Ward
Hi, I've added set JAVA_OPTS=" -Xms128m -Xmx128m " to my catalina.bat file and Tomcat no longer starts. Same happens if I set JAVA_OPT as an environment variable (Windows XP). Anyone hit this? It works on my Tomcat 4.x catalina.bat file. Bes

Windows Menu Startup and JAVA_OPTS

2003-09-12 Thread Chris Scudds
Folks, Tomcat 4.0.6 on Windows 2000 - we were running out of memory, so I added a "-Xms256m" to the JAVA_OPTS environment variable. However, it didn't seem to make any difference. Now, would I be right in saying that if Tomcat is started from the Windows desktop menu ie.

Re: JAVA_OPTS and Xmx Xms

2005-01-04 Thread Dwayne Ghant
http://localhost:/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% >

Re: JAVA_OPTS and Xmx Xms

2005-01-04 Thread Ben Souther
: > > JAVA_HOME=D:\Sun\AppServer\jdk > JAVA_OPTS=-Xmx768m -Xms768m -server > > Were quotes needed around the value for "JAVA_OPTS"? If configuring > it as a system env. variable was incorrect then can this registry edit > for tomcat4 work: > > http://www.pauaw

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 , 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
Here is the detail. I was successfully running Tomcat 4.X using JAVA_OPTS=-Xmx512m -Xms512m and my web application was running with this JVM Heap settings correctly, without any OutOfMemoryError. I recently installed Tomcat 5.5 and expected the same JVM Heap settings but they never happen. Now I

Re: Startup.sh problems with JAVA_OPTS = Xmx ?

2002-11-07 Thread Carlos Rodríguez Colino
[EMAIL PROTECTED] wrote: > > Hi. > I had some problems with insufficient memory and added the following > line to catalina.sh (somewhere after the comment# --- execute and > between 2 blocks of if-fi): > JAVA_OPTS="-Xmx128m" > When I startup with startup.sh I get t

Re: Startup.sh problems with JAVA_OPTS = Xmx ?

2002-11-07 Thread achana
Hi All I got Xmx working and managed to monitor it with netstat -na BUT I am puzzled why each user has 4 or more seesions (threads) ??? -- To unsubscribe, e-mail: For additional commands, e-mail:

RE: JAVA_OPTS in catalina.bat (Tomcat 5.0.27)

2004-08-26 Thread Dale, Matt
PROTECTED] Subject: JAVA_OPTS in catalina.bat (Tomcat 5.0.27) Hi, I've added set JAVA_OPTS=" -Xms128m -Xmx128m " to my catalina.bat file and Tomcat no longer starts. Same happens if I set JAVA_OPT as an environment variable (Windows XP). Anyone hit this? It works o

RE: JAVA_OPTS in catalina.bat (Tomcat 5.0.27)

2004-08-26 Thread Chris Ward
Thanks Matt, I've since found that it just didn't like the version of the command in catalina.bat (or setclasspath.bat) Fails = set JAVA_OPTS=" -Xms128m -Xmx128m " Succeeds = set JAVA_OPTS=-Xms128m -Xmx128m I'd seen some mailing list posting the other day tha

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
e there (see my previous mail) (In catalina.bat) Fails set JAVA_OPTS=" -Xms128m -Xmx128m " Succeedsset JAVA_OPTS= -Xms128m -Xmx128m(note trailing space still present) Best regards Chris -- Chris Ward, Horizon Asset Limited <mailto:[EMAIL PROTEC

RE: Windows Menu Startup and JAVA_OPTS

2003-09-12 Thread John Corrigan
does Auto Trader use Tomcat for production? -Original Message- From: Chris Scudds [mailto:[EMAIL PROTECTED] Sent: Friday, September 12, 2003 2:59 AM To: '[EMAIL PROTECTED]' Subject: Windows Menu Startup and JAVA_OPTS Folks, Tomcat 4.0.6 on Windows 2000 - we were running out of mem

MacOS X - Changing JAVA_OPTS for 8859_1 encoding

2002-03-17 Thread Steven Elliott
ion 1.3.1 I have set my JAVA_OPTS env variable to file.encoding=8859_1 but am still having problems with ResultSet values which continue to be MacRoman decoding of 8859_1 chars. I am accessing a MSSQL running on Windows 2000 via a JDirect Type 4 driver. Some of the data has Portuguese and Span

MacOS X - Changing JAVA_OPTS for 8859_1 encoding

2002-03-18 Thread Steven Elliott
From: Dave Makower <[EMAIL PROTECTED]> > > I think the correct syntax would be: > > JAVA_OPTS="-Dfile.encoding=8859_1" > > The quotes aren't really important, but the -D is. If that was just a typo > in your message, then I'm not really sure w

Using JAVA_OPTS=" -sever" with jsvc on linux

2004-06-10 Thread Mariano
Hi all, i like to specify JAVA_OPTS=" -sever" with jsvc on linux Fedora Core 1. I use J2SDK 1.4.2_04-b05 and Tomcat 5.0.25. Now i put a line into Tomcat.sh like JAVA_OPTS=" -sever ", but i don't know if this is correct. Tomcat.sh: JAVA_HOME=/var/j2sdk CATALINA_HOME=/va

How to use JAVA_OPTS with Apache tomcat4.0.6

2003-10-27 Thread Ramachandra
Dear Sir/Madam, (B (BPlease tell me how can I increase the java virtual heap size. ie., How can I (Buse java -Xms128M or java -Xmx256M with Apache tomcat4.0.6. (B (BActually, while loading the files more than 10MB using the file tag of HTML (Bi.e., (B. (B (B

Re: MacOS X - Changing JAVA_OPTS for 8859_1 encoding

2002-03-18 Thread Dave Makower
I think the correct syntax would be: JAVA_OPTS="-Dfile.encoding=8859_1" The quotes aren't really important, but the -D is. If that was just a typo in your message, then I'm not really sure what the problem is. But if that was actually what's in your script, it won

JAVA_OPTS for multiple apps running under 1 tomcat

2004-11-19 Thread Wick, Daniel
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 out 512m for each context, or does it set it for everthing that runs under

RE: Using JAVA_OPTS=" -sever" with jsvc on linux

2004-06-10 Thread Dale, Matt
ect: Using JAVA_OPTS=" -sever" with jsvc on linux Hi all, i like to specify JAVA_OPTS=" -sever" with jsvc on linux Fedora Core 1. I use J2SDK 1.4.2_04-b05 and Tomcat 5.0.25. Now i put a line into Tomcat.sh like JAVA_OPTS=" -sever ", but i don't know if this

Re: Using JAVA_OPTS=" -sever" with jsvc on linux

2004-06-10 Thread Bill Barker
Try adding: -jvm server to your command line. "Mariano" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi all, i like to specify JAVA_OPTS=" -sever" with jsvc on linux Fedora Core > 1. I use J2SDK 1.4.2_04-b05 and Tomcat 5.0.25. > > Now i pu

RE: Using JAVA_OPTS=" -sever" with jsvc on linux

2004-06-10 Thread Mariano
; [EMAIL PROTECTED] Asunto: RE: Using JAVA_OPTS=" -sever" with jsvc on linux It looks like you should put it in your CATALINA_OPTS so that line would become CATALINA_OPTS="-server -Xms256m -Xmx256m -XX:PermSize=128m -XX:MaxPermSize=128m" -Original Message- From: Ma

RE: Using JAVA_OPTS=" -sever" with jsvc on linux

2004-06-10 Thread Mariano
$CATALINA_HOME/logs/catalina.out -errfile '&1 ' $CATALINA_OPTS -cp $CLASSPATH org.apache.catalina.startup.Bootstrap -Mensaje original- De: news [mailto:[EMAIL PROTECTED] nombre de Bill Barker Enviado el: viernes, 11 de junio de 2004 7:04 Para: [EMAIL PROTECTED] Asunto: Re: Using JAVA

RE: Using JAVA_OPTS=" -sever" with jsvc on linux

2004-06-11 Thread Matt Dale
In that case I'd suggest putting the the JAVA_OPTS in the $TOMCAT_HOME/bin/catalina.sh. Add the line JAVA_OPTS="-server" to somewhere near the top of the file. On Fri, 2004-06-11 at 07:28, Mariano wrote: > With this opts in CATALINA_OPTS i get this message error: > > js

Re: Using JAVA_OPTS=" -sever" with jsvc on linux

2004-06-11 Thread Bill Barker
r=$TMP_DIR -outfile > $CATALINA_HOME/logs/catalina.out -errfile '&1 > ' $CATALINA_OPTS -cp $CLASSPATH org.apache.catalina.startup.Bootstrap > > -Mensaje original- > De: news [mailto:[EMAIL PROTECTED] nombre de Bill Barker > Enviado el: viernes, 11 de junio de

Re: How to use JAVA_OPTS with Apache tomcat4.0.6

2003-10-27 Thread Jacob Kjome
You need to read the docs a bit closer and remember that Java is case sensitive... http://java.sun.com/j2se/1.4.1/docs/tooldocs/windows/java.html#options try using... java -Xms128m or java -Xmx256m Jake At 10:02 AM 10/27/2003 +0530, you wrote: Dear Sir/Madam, Please tell me how can I in

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

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&quo

RE: JAVA_OPTS for multiple apps running under 1 tomcat

2004-11-19 Thread Wick, Daniel
ED] > Subject: Re: JAVA_OPTS for multiple apps running under 1 tomcat > > > 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 hos

RE: JAVA_OPTS for multiple apps running under 1 tomcat

2004-11-19 Thread Shapira, Yoav
19, 2004 11:00 AM >To: [EMAIL PROTECTED] >Subject: JAVA_OPTS for multiple apps running under 1 tomcat > >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

How to set up JAVA_OPTS while running tomcat as a service

2004-04-02 Thread Mandy Joss
I am running Tomcat 4.1.24 as service but under stress I get OutOfMemmoryError. To cure this I want to pass JAVA_OPTS=-server -Xms256m -Xmx1000m -Xincgc to the Tomcat. Can somebody please tell me where should I specify JAVA_OPTS so that Tomcat running as service will look at them

Re: How to set up JAVA_OPTS while running tomcat as a service

2004-04-02 Thread Thomas Tang
D]> To [EMAIL PROTECTED] cc Subject How to set up JAVA_OPTS while running tomcat as a service I am running Tomcat 4.1.24 as service but under stress I get OutOfMemmoryError. To cure this I want to pass JAVA_OPTS=-server -Xms256m -Xmx1000m -Xincgc to the Tomcat. Can somebody please

Re: How to set up JAVA_OPTS while running tomcat as a service

2004-04-02 Thread Mandy Joss
I have already tried this if I set up an environment variable called JAVA_OPTS as -Dmy.prop=myProp and then try to get it in my application thru System.getProperty("my.prop"); Its null. So I don't think it looks at the environment variables. If I specify the same thing in the s

Re: How to set up JAVA_OPTS while running tomcat as a service

2004-04-02 Thread Paul Mansfield
On Fri, 2004-04-02 at 17:54, Mandy Joss wrote: > I am running Tomcat 4.1.24 as service but under stress I get > OutOfMemmoryError. To cure this I want to pass JAVA_OPTS=-server -Xms256m > -Xmx1000m -Xincgc to the Tomcat. Can somebody please tell me where should I > specify JAVA_

RE: How to set up JAVA_OPTS while running tomcat as a service

2004-04-02 Thread Randall Svancara
Put them in your catalina.bat file located in the bin directory of your tomcat installation. -Original Message- From: Mandy Joss [mailto:[EMAIL PROTECTED] Sent: Friday, April 02, 2004 9:54 AM To: [EMAIL PROTECTED] Subject: How to set up JAVA_OPTS while running tomcat as a service I

Re: How to set up JAVA_OPTS while running tomcat as a service

2004-04-02 Thread Mandy Joss
ED]> Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]> To: Tomcat Users List <[EMAIL PROTECTED]> Subject: Re: How to set up JAVA_OPTS while running tomcat as a service Date: Fri, 02 Apr 2004 18:23:40 +0100 I put the settings into the catalina.sh file, e.g. > > #

RE: How to set up JAVA_OPTS while running tomcat as a service

2004-04-02 Thread Reis, Tom
2004 2:58 PM To: [EMAIL PROTECTED] Subject: Re: How to set up JAVA_OPTS while running tomcat as a service But the problem is when it runs as a windows service the tomcat.exe is called directly. if I put any echo message in catalina.bat file I don't see my message anywhere. I don't thi

RE: How to set up JAVA_OPTS while running tomcat as a service

2004-04-02 Thread Mandy Joss
quot; <[EMAIL PROTECTED]> Subject: RE: How to set up JAVA_OPTS while running tomcat as a service Date: Fri, 2 Apr 2004 15:10:31 -0600 You can set the options for services in the registry. [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Apache Tomcat 4.1\Parameters set the JVM Option Count t

RE: How to set up JAVA_OPTS while running tomcat as a service

2004-04-02 Thread Antoni Unkovich
: How to set up JAVA_OPTS while running tomcat as a service Tom Reis, Thanks a lot. It worked. You were awesome. I wish I could give you some Duke dollars :) Thanks again, Mandy >From: "Reis, Tom" <[EMAIL PROTECTED]> >Reply-To: "Tomcat Users List" &l

Re: How to set up JAVA_OPTS while running tomcat as a service

2004-04-03 Thread Bill Barker
t; Please can you supply a little more detail regarding the registry settings? > Thanks in advance > Antoni > > > > -Original Message- > From: Mandy Joss [mailto:[EMAIL PROTECTED] > Sent: Saturday, 3 April 2004 9:57 a.m. > To: [EMAIL PROTECTED] > Subject: R

RE: How to set up JAVA_OPTS while running tomcat as a service

2004-04-03 Thread Antoni Unkovich
Excellent! (the system tray Icon that is) Just what I was looking for. Thanks Antoni -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Bill Barker Sent: Sunday, 4 April 2004 9:36 a.m. To: [EMAIL PROTECTED] Subject: Re: How to set up JAVA_OPTS while running tomcat as a