Either build Java without IPv6, or you need the following in /etc/rc.conf:
tomcat60_enable=”YES”
tomcat60_java_opts=”-Djava.awt.headless=true -Djava.net.preferIPv4Stack=true”
(The java.awt.headless
is if you’re running without an X console.)
Also, delete everyting in /usr/local/apache-tomcat-6.0/webapps/
except for subsonic
and subsonic.war
and rename these ROOT
and ROOT.war
respectively. Make sure www:www
is the owner of everything (including your subsonic databases in /var/subsonic
).
While you’re here, edit webapps/ROOT/WEB-INF/classes/ehcache.xml
and change to (just an example):
<cache name=”musicFolderCache”
maxElementsInMemory=”128″
eternal=”true”
diskPersistent=”true”
overflowToDisk=”true”/>
<cache name=”chatCache”
maxElementsInMemory=”128″
eternal=”true”
diskPersistent=”true”
overflowToDisk=”true”/>
Post a Comment