Taming the Elusive Tomcat
joeyslopp writes: "Finding documentation on an open source project such as FreeBSD is usually quite easy. In fact, the project relies heavily upon user support. However, tracking down a good article that illustrates how to setup a .jsp (java server pages) environment using Tomcat has been difficult.
Devshed came close with their article Slapping Together A JSP Development Environment , but lacked specifics on JDK for FreeBSD -- their article was more specific to Linux. The studs in #freebsd on undernet enlightened me a bit more, but still I lacked concrete documenation.
Where can one find descriptive help in setting up Tomcat for FreeBSD?
Dun dun dun dun *cheesy superhero theme* Enter Victoria Chan's article seemingly tailor-made for my Tomcat woes. The article, also located here, actually appears on www.freebsd.org as well...imagine that :)
Hopefully other newbies to FreeBSD will read this and shorten their search time for a good article on the setup of Tomcat."
The project has faced numerous setbacks in recent years, leading to waning developer interest and participation, a user-base migrating to Linux, Windows XP and Mac OS X, and no financial support whatsoever.
How did it happen? Well, these were the main events. First, *BSD split into 3 incompatible projects - FreeBSD, which focused on 386 and 486 machines; NetBSD, which focused on little-used architectures like Sparc and PPC; and OpenBSD, which focused on minimal functionality and poor performance. This split divided the already-small community and served to set up bitter rivalries. Then, Linux came along and stole all of *BSD's press, funding, and much of it's thunder with its better performance, functionality and ease-of-use. As if that weren't enough, OS X later took nearly all of the desktop *BSD users. And finally, in what has all but spelled out the demise of *BSD, two core developers have quit the project. First, Jordan Hubbard quit *BSD to get an actual paying job at Apple. He made this move citing OS X's superiority, *BSD's imminent demise, and his inability to feed his family with the broken promises of an SMP-enabled kernel. Shortly after that, Michael Smith left, saying simply, "It's true, *BSD is dying."
Where does all this leave the IT industry at large? Fortunately, the IT world is now healthier than ever. The death of *BSD is simply natural selection at work, as companies leave the shoddily written *BSD behind and move ahead with Windows XP, Mac OS X, and Linux.
RIP *BSD.
Visit the new Troll site!
One more crippling bombshell hit the already beleaguered *BSD community when IDC confirmed that *BSD market share has dropped yet again, now down to less than a fraction of 1 percent of all servers. Coming on the heels of a recent Netcraft survey which plainly states that *BSD has lost more market share, this news serves to reinforce what we've known all along. *BSD is collapsing in complete disarray, as fittingly exemplified by failing dead last in the recent Sys Admin comprehensive networking test.
You don't need to be a Kreskin to predict *BSD's future. The hand writing is on the wall: *BSD faces a bleak future. In fact there won't be any future at all for *BSD because *BSD is dying.Things are looking very bad for *BSD. As many of us are already aware, *BSD continues to lose market share. Red ink flows like a river of blood. FreeBSD is the most endangered of them all, having lost 93% of its core developers.
Let's keep to the facts and look at the numbers.
OpenBSD leader Theo states that there are 7000 users of OpenBSD. How many users of NetBSD are there? Let's see. The number of OpenBSD versus NetBSD posts on Usenet is roughly in ratio of 5 to 1. Therefore there are about 7000/5 = 1400 NetBSD users. BSD/OS posts on Usenet are about half of the volume of NetBSD posts. Therefore there are about 700 users of BSD/OS. A recent article put FreeBSD at about 80 percent of the *BSD market. Therefore there are (7000+1400+700)*4 = 36400 FreeBSD users. This is consistent with the number of FreeBSD Usenet posts.
Due to the troubles of Walnut Creek, abysmal sales and so on, FreeBSD went out of business and was taken over by BSDI who sell another troubled OS. Now BSDI is also dead, its corpse turned over to yet another charnel house.
All major surveys show that *BSD has steadily declined in market share. *BSD is very sick and its long term survival prospects are very dim. If *BSD is to survive at all it will be among OS dilettante dabblers. *BSD continues to decay. Nothing short of a miracle could save it at this point in time. For all practical purposes, *BSD is dead.
Fact: *BSD is dying
Visit the new Troll site!
I can safely say that you should stay clear of Tomcat and go with a product that is usable in a production environment. The experienced staff of #java recommends resin (www.caucho.com) or orion (www.orionserver.com). For more help, come to #java.
Christ, they're right here dammit. The docs are great, watchoo talkin' 'bout Willis...
If that's not enough, go grab the servlet spec from Sun. It's really not that hard.
It's 10 PM. Do you know if you're un-American?
The question, though misworded, is about setting up Tomcat on FreeBSD which is nontrivial as the JDK is not 100% complete for this platform. As I understand it, many java applications need modification to get them running properly on FreeBSD, even though they may work perfectly well on Linux, Windows and Solaris.
Hopefully Sun will start to release official JDK/JREs for this platform very soon.
Sure, we all know that *BSD is a failure, but why? Why did *BSD fail? Once you get past the fact that *BSD is fragmented between a myriad of incompatible kernels, there is the historical record of failure and of failed operating systems. *BSD experienced moderate success about 15 years ago in academic circles. Since then it has been in steady decline. We all knw *BSD keeps losing market share but why? Is it the problematic personalities of many of the key players? Or is it larger than their troubled personalities?
The record is clear on one thing: no operating system has ever come back from the grave. Efforts to resuscitate *BSD are one step away from spiritualists wishing to communicate with the dead. As the situation grows more desperate for the adherents of this doomed OS, the sorrow takes hold. An unremitting glom hangs like a death shroud over a once hopeful *BSD community. The hope is gone; a mournful nostalgia has settled in. Now is the end time for *BSD.
You could using one of the free (as in beer) community editions of the IDE's. CE editions of JBuilder and Forte come pre-configured with TOMCAT.
http://jakarta.apache.org/tomcat/
http://jakarta.apache.org/tomcat/tomcat-3.2-
d
http://jakarta.apache.org/tomcat/to
# cd /usr/ports/www/jakarta-tomcat4
/usr/ports/emulators/linux_base
/usr/ports/java/linux-jdk13
# make install clean
After a while it will have done everything for you. I expect that you already have java installed in your machine. If not, then before the above do the following:
# cd
# make install clean
wait for it to finish
# linux (or, if using the current branch, "kldload linux)
# cd
# make install
Follow the instructions it provides to download the JDK; once downloaded to the correct location (/usr/ports/distfiles):
# make install clean
Now, install tomcat.
Always use the 4 branch of tomcat; the 3 branch is a piece of shit. 4 actually works well and is stable.
The title of the article was about Tomcat NOT Java.
Give me access to a FreeBSD box and then we'll talk. I only have NetBSD / Linux and Windows at the moment.
The steps above are generic. They apply to ALL platforms. If there is an inadequate jdk for FreeBSD then that is not my fault. Linux users got togeather at www.blackdown.org to release Java for Linux LONG before Sun supported it. Maybe FreeBSD people who are intereseted in a better port of java to Linux should talk to someone over there and maybe they can make a more generic jdk that will work better on FreeBSD.
Only 'flamers' flame!
Oh and I found a JDK for FreeBSD as well as a whole bunch of Java port. I think make install may be what he needs to do. http://www.freebsd.org/cgi/url.cgi?ports/java/jdk1 2-beta/pkg-descr
Only 'flamers' flame!
what else is needed?
Maybe 'cat README' or 'ls'
Who said that the question was about setting up Java? The issue is that though the JDK is available it is incomplete and there are hence issues running Tomcat.
Read what you are flaming before you flame!
These posts are not informative, they're almost all off-topic. The original post is not asking a question, it's pointing out an informative article that explains in detail how to download and compile the JDK (1.3!, not 1.2-beta) and required patches for FreeBSD, and then set up Tomcat to work there.
That fact that someone was able to download and copy some files on both Linux and Windows is pretty much irrelevant to the spirit of the post (Tomcat/FreeBSD How-To). Labelling such posts as informative when they provide no information that wasn't in Victoria Chan's article seems silly to me.
Could someone provide me with information regarding the overall general health of BSD?
C - A language that combines the speed of assembly with the ease of use of assembly.