I finally got Subsonic to install without the use of Tomcat.
Firstly, install Java 6. I used
http://download.oracle.com/otn-pub/java/jdk/6u32-b05/jdk-6u32-linux-x64-rpm.binI have a x64 version of SME 8 installed
wget http://download.oracle.com/otn-pub/java/jdk/6u32-b05/jdk-6u32-linux-x64-rpm.bin
chmod a+x jdk-6u32-linux-x64-rpm.bin
./jdk-6u32-linux-x64-rpm.bin
ln -s /usr/java/jdk1.6.0_32
You can remove the rpm and bin files from the root directory
rm jdk-6u32-linux-x64-rpm.bin
Now download the subsonic installation for Fedora/Red Hat
wget http://downloads.sourceforge.net/project/subsonic/subsonic/4.6/subsonic-4.6.rpm?r=http%3A%2F%2Fwww.subsonic.org%2Fpages%2Fdownload2.jsp%3Ftarget%3Dsubsonic-4.6.rpm&ts=1339113681&use_mirror=voxel
then yum localinstall subsonic-4.6.rpm
or whatever version you have
Afterwards, there are some key things to make it work in SME
ln -s /etc/init.d/subsonic /etc/rc.d/rc0.d/K02subsonic
ln -s /etc/init.d/subsonic /etc/rc.d/rc7.d/S98subsonic
ln -s /etc/init.d/subsonic /etc/rc.d/rc6.d/K02subsonic
ln -s /etc/init.d/subsonic /etc/rc.d/rc2.d/K02subsonic
ln -s /etc/init.d/subsonic /etc/rc.d/rc1.d/K02subsonic
Last is:
service subsonic start
The Installation is complete, and you can go to
http://yourdomain.com:4040In order to adjust the Java memory heap size you can
nano /etc/sysconfig/subsonic
or
nano /usr/share/subsonic/subsonic.sh
reveals some other settings possible through subsonic.sh
The only thing I am trying to figure out is how to get the webpage on yourdomain.com/subsonic vs. yourdomain.com:4040 without using a proxypass
I am also trying to get the native yourdomain.subsonic.org to register, but it is failing with a HTTP error 404. Would anyone care to help resolve this?