Linked by Tony Arcieri on Thu 15th May 2003 00:46 UTC
Internet & Networking When you think of platforms upon which you would deploy a Java Application Server, FreeBSD probably isn't the first one that comes to mind. However, I hope to show in this tutorial how easy it is to deploy Apache Tomcat on a FreeBSD system, complete with a native build of the JDK.
Permalink for comment
To read all comments associated with this story, please click here.
Java Nightmare
by Tony B on Thu 15th May 2003 18:28 UTC

I recently went through hell on FreeBSD and Java. We were running the old 1.1.8 Java native for FreeBSD and Tomcat. The Java code was updated during a regular maintenance window. The code was tested in the dev environment and nothing came up. In production, however, problems started appearing about a day later. The Tomcat servers would just hang and stop serving requests. Tomcat/Apache had to be shutdown and restarted, thereby clearing out user sessions (an annoyance and it meant lost work). It happened about once every 36 hours for all of our webserver, and I didn't get much sleep.

Dev decided that upgrading Java was in order, and we thought about running Java in Linux compatibility mode. Given the problems we had, we weren't ready to take that risk. We used IBM's 1.4 JDK and it worked right out of the box, and worked perfectly ever since.