I'm running a L150 with Tomcat 5.0.28, Apache 2.0.5x and Java 1.4.2_09.
I chose the L120 (now a L150) for the breathing room. Tomcat can be a memory hog, so be sure to tighten it down some in the startup scripts. For example:
Code:
JAVA_OPTS="-Djava.awt.headless=true -Xms32m -Xmx64m"
Also be sure to check into running the headless option if you are doing any image generation, e.g. CAPTCHA,
Java Techniques discusses this in detail. FC2 will need some libraries,
Another Caffeinated Day discusses this a bit :
Quote:
It is enough to say that my VPS host did not install the X libraries and I ended up with UnsatisfiedLinkErrors. Some research on Google and some knowledge of Linux distros, solved my problem. For the Fedora Core series I determined the following packages provided the necessary X libraries to satify the link errors on my Java/blojsom/OS combination (again I need to say, YMMV):
Fedora Core 2: xorg-x11-libs
Fedora Core 3+: xorg-x11-deprecated-libs
[
Java Techniques tells] you exactly what libraries are needed in a Java 1.4 environment, whereas the above packages have dependcies that need to be satisified. If the dependencies are a non-issue, load them, otherwise consider a method to get just what you need; [
Java Techniques] outlines how one might go about doing so on RHL9.
Also be sure to look in to configuring PostgreSQL for tight memory environments. There is some discussion in the wiki and forums on this subject for MySQL. I'm sure PostgreSQL has similar build or configuration options.