Hudson on Tomcat
Sunday, April 29th, 2007I recently deployed Hudson on Tomcat 5 running on Fedora Core 6. A few things to note:
- Make sure to Hudson’s home directory belongs to the Tomcat user, i.e.
chown -R tomcat.tomcaton Hudson’s home directory. - To change Hudson’s home directory from
/usr/share/tomcat/.hudsonto somewhere else, edit/etc/tomcat5/tomcat5.confand add something like-DHUDSON_HOME=/home/hudsontoJAVA_OPTS. - While you’re at it, add
-servertoJAVA_OPTStoo. Sun’s server VM blows my mind. - Securing Hudson is pretty simple. It doesn’t seem like Tomcat requires any additional configuration after enabling security in Hudson itself.
- If you have any other issues, check
/var/log/tomcat5/catalina.out.