Andrew Channels Dexter Pinion

Wherein I write some stuff that you may like to read. Or not, its up to you really.

August 01, 2004

Installing Jakarta-Tomcat on Debian

According to this excellent guide to installing Jakarta-Tomcat with Apache on Debian I need to get and install a JDK myself. Specifically it recommends the 1.18 JDK for Linux from IBM. Sadly the page that is mentioned when I install the Debian package ( http://www.ibm.com/java/jdk/118/linux/ ) no longer works. Which stumps me somewhat.

The prognosis isn't good, according to this bug report the package is moribund. So is there a way to get Tomcat working under Debian that neither I nor Google know about?

Posted by Andy Todd at August 01, 2004 02:50 PM

Comments

You could use blackdown jdk instead, then apt-get install tomcat4.

However I had difficult getting the package (Darkhorse CRM) runing with this. I think this was because Debian lacks Tomcat 5.

In the end I installed a gentoo UML instance. This works fine. I've got some discussion about that here: http://stateless.geek.nz/archives/2004/07/27/gentoo/

Posted by: Nicholas Lee on August 2, 2004 01:23 AM

(You can figure out my email address by going to the URL and typing in my name :-) )

To use Tomcat in Debian, I:

-Get the Sun JDK
(The Blackdown one seems a little suss with some
dependancy issues)
-Install it into /usr/local/java/j2s...
-Symlink /usr/local/java/current to the above
-Set various environments to point java_home etc.
to the symlinked location
-Set /etc/equivalents properly
... everything works nicely..

There are some dummy java packages you should install to satisfy dependancy stuff..

Ie. "Yes Debian, I did install the JVM" :)

You'll find the way to do this in java-common package I believe, you'll also need equivs package to build the dummies.

Ie. Install java-common - read

/usr/share/doc/java-common/dummy-packages

Posted by: Anthony Hogan on September 7, 2004 09:09 AM