Page 1 of 1

Tomcat on FreeBSD

PostPosted: Fri Jan 25, 2008 9:00 pm
by ProBlazer
I know this probably isn't the best place to ask this, but here it goes.

Has anyone had any luck getting tomcat running under FreeBSD 6.X?
I've tried following a few guides out on the net, but they are cryptic at best. So if anyone that follows the group can help I would really appriciate it. Otherwise I fear I will have to look into using jinzora, yuck!

I love subsonic and used it for like a year and a half on my windows server, but since my switch to FreeBSD I can't seem to get Tomcat running, and without it I can't use my beloved subsonic.

PostPosted: Sat Jan 26, 2008 2:00 pm
by sindre_mehus
I think it should be possible to run Subsonic on FreeBSD (and any other OS) without running Tomcat, using the following undocumented and untested approach:

o Put subsonic.war and subsonic-booter-jar-with-dependencies.jar (from the Windows version) in a directory.
o Go to that directory and run:
Code: Select all
java -cp subsonic-booter-jar-with-dependencies.jar -Dsubsonic.port=80 -Dsubsonic.contextPath=/subsonic net.sourceforge.subsonic.booter.Main

o Ignore any warnings about "java.lang.UnsatisfiedLinkError: no tray in java.library.path"
o Open http://localhost/subsonic/ in your browser.
o If you want to run Subsonic on a different port or context path, change the command line arguments accordingly.

Hope this helps!

(I'll consider making a separate download for people who wants to run Subsonic like this).

PostPosted: Mon Feb 04, 2008 6:31 pm
by Ikyo
Before jumping into why Subsonic isn't working, what issues are you having getting Tomcat to run on BSD? It shouldn't be that difficult. If I remember correctly, doesn't FreeBSD have an apt-get command to get the correct version?

PostPosted: Tue Dec 23, 2008 10:14 pm
by ProBlazer
well after about a year of using Jinzora because I didn't want to mess with trying to get tomcat running I finally gave it another shot. It was definatly worth it. Subsonic is better than Jinzora by leaps.

works great on my windows mobile phone too!