On *NIX, you should be able to firstly check to see if your environment
variables are being picked up when you start up tomcat with ps

eg

$ ps -ef , or ps -auxww

might show something like

  tcuser 23134     1  0   Nov 04 ?        0:44 /usr/java/bin/java
-server -verbose:gc -Xms768m -Xmx768m ....

and take it from there

KC.

-----Original Message-----
From: Mike Curwen [mailto:[EMAIL PROTECTED]
Sent: Saturday, 13 November 2004 11:46 AM
To: 'Tomcat Users List'
Subject: RE: Tomcat and -server option

You might need a space here, depending on what else is being constructed
and
sent to the command line:

JAVA_OPTS="-server
-----------^

might need:
JAVA_OPTS=" -server



> -----Original Message-----
> From: Mufaddal Khumri [mailto:[EMAIL PROTECTED]
> Sent: Friday, November 12, 2004 3:09 PM
> To: Tomcat Users List
> Subject: Re: Tomcat and -server option
>
>
> Hi,
>
> I have: JAVA_OPTS="-server -Djava.awt.headless=true -Xms1g -Xmx1g
> -Dfile.encoding=ISO-8859-1" in catalina.sh
>
> I just tried:
>       logger.info("java.vm.name: " +
> System.getProperty("java.vm.name"));
> and i get:
>       INFO - java.vm.name: Java HotSpot(TM) Client VM
>
> Why is the -server option not taking effect?
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




www.sensis.com.au

A leading Australian advertising, information
and directories business.

www.yellowpages.com.au
www.whitepages.com.au
www.citysearch.com.au
www.whereis.com.au
www.telstra.com.au
www.tradingpost.com.au

This email and any attachments are intended only for the use of the recipient 
and may be confidential and/or legally privileged.
Sensis Pty Ltd disclaims liability for any errors, omissions, viruses, loss 
and/or damage arising from using, opening or transmitting this email.
If you are not the intended recipient you must not use, interfere with, 
disclose, copy or retain this email and you should notify the sender 
immediately by return email or by contacting Sensis Pty Ltd by telephone on 
[+61 3 8653 5000]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to