![]() opt/local/share/java/tomcat6/bin/catalina.shĬheck that launchd detected you new daemon, if not reboot :( launchctl list|grep tomcat Run nano /Library/LaunchDaemons/ and paste the code below: In my example I allocated ~3Gb or RAM but you can adapt this, anyway don't put less than 1GB if you are running hudson inside tomcat. Inside /opt/local/share/java/tomcat6/conf/local.env export JAVA_JVM_VERSION=CurrentJDKĮxport JAVA_OPTS="-Xmx3000M -Xms3000M =true -Duser.timezone=UTC" įor forwarding port 80 to 8080 run this line and add it do /bin/catalina.sh: sudo ipfw add 100 fwd 127.0.0.1,8080 tcp from any to any 80 inĪssign enough memory to the Java machine or you may be in trouble later. ![]() It was tested on Mac OS 10.6 but should work also with 10.5.Įdit /opt/local/share/java/tomcat6/conf/server.xml and add proxyport="80" URIEncoding="UTF-8" inside. This is for installing tomcat as a daemon on port 8080 but enable also port 80 by using a firewall redirection.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |