Tomcat on FreeBSD

General discussions.

Moderator: moderators

Tomcat on FreeBSD

Postby ProBlazer » Fri Jan 25, 2008 9:00 pm

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.
ProBlazer
 
Posts: 9
Joined: Wed Sep 20, 2006 8:34 pm

Postby sindre_mehus » Sat Jan 26, 2008 2:00 pm

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).
User avatar
sindre_mehus
 
Posts: 1955
Joined: Tue Nov 29, 2005 6:19 pm
Location: Oslo, Norway

Postby Ikyo » Mon Feb 04, 2008 6:31 pm

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?
Ikyo
 
Posts: 58
Joined: Wed Nov 30, 2005 12:07 am

Postby ProBlazer » Tue Dec 23, 2008 10:14 pm

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!
ProBlazer
 
Posts: 9
Joined: Wed Sep 20, 2006 8:34 pm


Return to General

Who is online

Users browsing this forum: No registered users and 0 guests