Hmm, that looks fine. How did you set -XX:+UseParallelGC? In JAVA_OPTS in /etc/default/tomcat7? If two contradictory options are provided, tomcat7 may refuse to start.
Did you see any errors in the logs or when running "service tomcat7 start"? Kind regards, Ben. On 15/07/14 16:17, AndyT wrote: > Hi Ben > > Java versions as requested: > > xxx@xx-xx-xx-xx:~$ update-alternatives --display java > java - manual mode > link currently points to /usr/lib/jvm/java-6-oracle/jre/bin/java > /usr/lib/jvm/java-6-oracle/jre/bin/java - priority 1 > slave java.1.gz: /usr/lib/jvm/java-6-oracle/man/man1/java.1.gz > Current 'best' version is '/usr/lib/jvm/java-6-oracle/jre/bin/java'. > > xxx@xx-xx-xx-xx:~$ java -version > java version "1.6.0_45" > Java(TM) SE Runtime Environment (build 1.6.0_45-b06) > Java HotSpot(TM) 64-Bit Server VM (build 20.45-b01, mixed mode) > > > Andy > > > > What JVM are you using? What is the output of these commands? > update-alternatives --display java > java -version > > On 14/07/14 23:31, AndyT wrote: >> Hi, >> >> I have geoserver up and running but during install (aws Ubuntu 14.04) i >> found http://docs.geoserver.org/stable/en/user/production/container.html >> recommends setting -XX:+UseParallelGC. This caused Tomcat7 to fail to >> start. >> >> I found reference elsewhere to -XX:+UseParNewGC being similar. With this >> setting Tomcat7 and consequently GeoServer does run but i wonder whether >> anyone has had a similar issue and/or knows whether this alternative >> setting >> is really going to have the desired effect? >> >> Thanks >> >> Andy > > > > > -- > View this message in context: > http://osgeo-org.1560.x6.nabble.com/tomcat7-wont-start-with-XX-UseParallelGC-tp5150938p5151083.html > Sent from the GeoServer - User mailing list archive at Nabble.com. > > ------------------------------------------------------------------------------ > Want fast and easy access to all the code in your enterprise? Index and > search up to 200,000 lines of code with a free copy of Black Duck > Code Sight - the same software that powers the world's largest code > search on Ohloh, the Black Duck Open Hub! Try it now. > http://p.sf.net/sfu/bds > _______________________________________________ > Geoserver-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/geoserver-users > > -- Ben Caradoc-Davies <[email protected]> Software Engineer CSIRO Mineral Resources Flagship Australian Resources Research Centre ------------------------------------------------------------------------------ Want fast and easy access to all the code in your enterprise? Index and search up to 200,000 lines of code with a free copy of Black Duck Code Sight - the same software that powers the world's largest code search on Ohloh, the Black Duck Open Hub! Try it now. http://p.sf.net/sfu/bds _______________________________________________ Geoserver-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
