Hi,

I am a bit confused with how and where to set JAVA_OPTS in tomcat6 on linux.

There are soooo many different setting that I have found, and even many 
variations of where to set this variable so I thought I would bring this 
question for the 1000th time into the forum.

1. Does JAVA_OPTS get set in "/etc/default/tomcat6" or in "/etc/init.d/tomcat6" 
or both??

2. In  the start up script "/etc/init.d/tomcat6"...the JAVA_OPTS seems to be 
inside an if statement...so I don´t know if it gets read or not.

3. The first file in "/etc/default/tomcat6" is an extra file so I don´t know if 
this gets read either!

4. How can I check what JAVA_OPTS are really being used?


5. what options are necessary?

"Headless mode is a system configuration in which the display device, keyboard, 
or mouse is lacking. Sounds unexpected, but actually you can perform different 
operations in this mode, even with graphic data. "

source = http://java.sun.com/developer/technicalArticles/J2SE/Desktop/headless/

so in my case "-Djava.awt.headless=true" needs ot be included ...right?

and -jvm server ?

the rest are just numbers for me....so the higher the better...or is this wrong?

-Xms1024m -Xmx1024m -XX:NewRatio=2 -XX:+UserParalleGC -XX:+AggressiveOpt 
-XX:MaxPermSize=128m -XX:SoftRefLRUPolicyMSPerMB=3600 



I have of course read 
this..."http://download.osgeo.org/osgeo/foss4g/2009/SPREP/1Wed/Parkside%20GO3/1500/MakingMapsFast.pdf"...but
 thereis only one side about java.

any clarification would be nice,

yours
Rob
------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to