posted 12 years ago
A lot of that depends on the distro you're using and whether you're installing these resources as OS packages or manually. Unlike most system components, I prefer manual installation of Tomcat.
The Red Hat rpm installs the JDK under /usr/java/xxxxx, where "xxxx" is a name that indicates the JDK version, so all your different JDK's and JRE's can live in the same place. I normally unzip Tomcat into the /usr/local directory, although strictly speaking, this isn't ideal behavior anymore. I also create a tomcat user and group ID so that Tomcat doesn't have to run as root.
The secret of how to be miserable is to constantly expect things are going to happen the way that they are "supposed" to happen.
You can have faith, which carries the understanding that you may be disappointed. Then there's being a willfully-blind idiot, which virtually guarantees it.