Tomcat5 on RHEL AS3? Has *ANYBODY* managed to install this <censored> package?

Michael Wimpee mwimpee at gs.washington.edu
Thu Sep 2 20:43:59 UTC 2004


On Wed, Sep 01, 2004 at 06:03:54PM -0500, Benjamin J. Weiss wrote:
> I think the subject says it all.
> 
> I've set up my server and installed RHEL AS 3.0 on it.  I'm beginning to
> long for the days of M$, where all I had to do was run a <censored> .exe
> file, and it ran.  *sigh*
> 
> Okay, I downloaded something that purports to be an "executable" from the
> jakarta project, but the readme says that I have to have Java installed.
> Okay, I couldn't find any java packages installed, so I tried "which
> java", which showed a /usr/bin/java.  Cool, so I try running it.  I get
> some text message stating that it's nothing but a place holder for some
> other stuff. ack.  So I try up2date java.  no dice. I can't find the j2sdk
> or jre or anything recognizable, and I'm afraid to download Sun's because
> it might break whatever was installed by the installer!
> 
> Has *ANYBODY* installed tomcat5 on a virgin RHEL AS 3 install?  Is there a
> coherent HOWTO anywhere?  I've been googling and downloading crap for two
> hours now, and I'm about at my limit.
> 
> Thanks!
> 
> Ben
> 

I'd install the IBMJava2-JRE and IBMJava2-SDK packages from up2date.
Then for each java-related symlink in /etc/alternatives, change the
original link to point to the actual program. I imagine /usr/bin/java is
just a symlink to /etc/alternatives/java which in turn is a symlink to
some placeholder. If that's the case, change /usr/bin/java to point to
/opt/IBMJava2-141/jre/bin/java. Do similar things for javac (except that
this will point to /opt/IBMJava2-141/bin/javac -- not the jre directory)
and all the java-related symlinks in /etc/alternatives. (I seem to
remember problems running java as a symlink to a symlink to an
executable, which is why I'm suggesting you change /usr/bin/java instead
of /etc/alternatives/java)

Check to make sure /usr/bin/java actually runs java like you expect,
then set your $JAVA_HOME to /opt/IBMJava2-141 and try tomcat's
startup.sh script again.

I'm working from (distant) memory here, but I hope it gives you
somewhere to start.

Best of luck,

Mike Wimpee





More information about the redhat-list mailing list