JAVA_OPTS are defined in all of these files
/etc/init.d/tomcat6
/etc/default/tomcat6
/usr/share/tomcat6/bin/catalina.sh
The output of ps auxwwwww | grep catalina shows...
tomcat6 20351 172 2.5 2229764 157500 ?
Sl 12:04 0:13
/usr/lib/jvm/java-6-sun/bin/java
-Djava.util.logging.config.file=/var/lib/tomcat6/conf/logging.properties
-server
-Xms2048M
-Xms2048m
-XX:SoftRefLRUPolicyMSPerMB=36000
-XX:PermSize=1024m
-XX:MaxPermSize=1024m
-XX:+UseParallelGC
-Xms256m
-Xmx1024m
-XX:MaxPermSize=384m
-Xss128k
-Djava.awt.headless=true
-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
-DGEOSERVER_DATA_DIR=/home/geoadmin1/data
-Djava.endorsed.dirs=/usr/share/tomcat6/endorsed
-classpath /usr/share/tomcat6/bin/bootstrap.jar
-Dcatalina.base=/var/lib/tomcat6
-Dcatalina.home=/usr/share/tomcat6
-Djava.io.tmpdir=/tmp/tomcat6-tmp org.apache.catalina.startup.Bootstrap start
1003 20368 0.0 0.0 3252 772 pts/0 R+ 12:04 0:00 grep
--color=auto catalina
Can anyone tell me if these values are acceptable?
cheers,
Robert
________________________________
Von: Gavin Stilgoe <[email protected]>
An: Robert Buckley <[email protected]>
Gesendet: 11:54 Montag, 24.September 2012
Betreff: Re: [Geoserver-users] Should JAVA_OPTS appear in my printev output?
normaly all environmental variables get set in a file setenv.sh or
setenv.bat. leave startup an catalina as supllied easier to update
On Sep 24, 2012 7:51 PM, "Robert Buckley" <[email protected]> wrote:
Going a bit deeper into the subject of defining JAVA variables in Tomcat6 on
ubuntu, I have found that there are 3 files where my JAVA_OPTS have been
defined...
>
>
>
>
>1. /etc/init.d/tomcat6
>
>
>2 /etc/default/tomcat6.
>
>
>3. /usr/share/tomcat6/bin/catalina.sh
>
>
>The output of ps auxwwwww | grep catalina outputs two different values of
>JAVA_OPTS. I am assuming that the last one printed is the one which will be
>applied....however this is a guess.
>
>
>
>
>If anyone knows how to get this set properly, please let me know,
>
>
>Thanks,
>Rob
>
>
>
>________________________________
> Von: Robert Buckley <[email protected]>
>An: "[email protected]"
><[email protected]>
>Gesendet: 10:52 Montag, 24.September 2012
>Betreff: [Geoserver-users] Should JAVA_OPTS appear in my printev output?
>
>
>Hi,
>
>
>Tomcat6 on Ubuntu 10.04 server crashed over the weekend, and i´m searching for
>possible causes.
>
>
>I checked printenv to see which enviroment variables are set, and couldn´t
>find anything for JAVA_OPTS. Later I found that JAVA_OPTS is being read from
>/etc/default/tomcat6
>
>
>Does this mean the the environment variable for JAVA_OPTS has not been set? Is
>this bad?...Tomcat6 has been running with geoserver for a while now, and very
>rarely do I get a crash.
>
>
>Thanks for any tips,
>
>
>Robert
>------------------------------------------------------------------------------
>Live Security Virtual Conference
>Exclusive live event will cover all the ways today's security and
>threat landscape has changed and how IT managers can respond. Discussions
>will include endpoint security, mobile security and the latest in malware
>threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>_______________________________________________
>Geoserver-users mailing list
>[email protected]
>https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>
>
>------------------------------------------------------------------------------
>Live Security Virtual Conference
>Exclusive live event will cover all the ways today's security and
>threat landscape has changed and how IT managers can respond. Discussions
>will include endpoint security, mobile security and the latest in malware
>threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>_______________________________________________
>Geoserver-users mailing list
>[email protected]
>https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users