$webwork.htmlEncode($page.space.name) : GeoServer-Tomcat-Mac
This page last changed on Aug 17, 2007 by cholmes.
These are some notes if you are trying to use Geoserver on Mac OS X. I have Geoserver up and running in a Mac OS X server Dual 2GHz PowerPC G5 Processors with 4GB of RAM and is working really smooth. First of all there is a difference if you are using simple Mac OS X or Mac OS X server. The second one comes already with a Java servlet container installed called Tomcat/JBoss. The normal Mac OS X I think does not bring any. So if you have the simple Mac OS X then it is probably better to install Tomcat as many users in the geoserver mailing list use it and can help you in case of problems. If you are using Mac OS X server then you can 1) Use the existing Tomcat/JBoss application server. 2) Stop the running Java servlet container using the Server management application (check Application Server) and use Tomcat or Jetty or something else. I will explain here how to use the Tomcat/JBoss application server, but maybe some of this hints will help you when using Tomcat. I am new to the Java world more or less so maybe some of this steps were not necessary, but any case I hope it will help. – 1) Start by downloading Geoserver. I downloaded the WAR file that you can find in deployment. 2) I tried to use the Tomcat/JBoss administration panel and did not succeed in installing Geoserver, well, I managed to do it, but every time =I restarted the server the configurations were gone. 3) Move this folder to your "/Library/JBoss/3.2/deploy/" folder. 4) Go to the file "/Library/JBoss/3.2/bin/run.conf" and in the line where JAVA_OPTS are set use this line: JAVA_OPTS="-server -Dawt.headless=true -Xmx100M $JAVA_OPTS -Djboss.server.temp.dir=$JBOS I just added the -Dawt.headless=true to the options. 5) If you go now to the server manager and restart the Application server this should take effect. But in my case when starting the Application server from the server manager it does not take effect Go to http://localhost:8080/geoserver/ and hopefully geoserver will be already working. Things that I did not managed:
Good luck! |
![]() |
Document generated by Confluence on Jan 16, 2008 23:27 |