Greetings all.
I did a search and noticed there isn't much discussion about Tomcat running on FreeBSD. And after getting few comments from quite a few people saying that FreeBSD and Tomcat/Java don't mix, I went ahead and see if I can prove them wrong.
After nearly 2 days of having the server kicking my ass, I finally lassoed it in and got it working beautifully. It requires some modification in the jsp-4-install script to comment out two RPM packages requirement since it is geared for Linux. Secondly, you will need to install the java into the system by modifying the port requirement file for the latest sun or blackdown java and then make a few links for jre and jsdk to the java directory.
Once that, do the FreeBSD port of the Tomcat installation to get few other things that is left out to be added in. Once that is done. remove the tomcat installation directory out. Then go back and run the jsp-install script to install the Cpanel version of Tomcat in it.
Then..you gotta go into the /usr/local/jakarta/ directory and go into the tomcat build directory and find the jk2_mod.so file and toss it over into Apache libexec directory. Then...restart the sucker and apache and voila...you got a working FreeBSD with Java support.
It take a little bit of trial and error to make it work but once you get the java part working, everything else is cakewalk from there.
It is built on FreeBSD-4.7-Stable Release.



LinkBack URL
About LinkBacks
Reply With Quote





