File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Tomcat and the fly likes Installing Tomcat on linux help needed. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Installing Tomcat on linux help needed." Watch "Installing Tomcat on linux help needed." New topic

Installing Tomcat on linux help needed.

pinga kanave

Joined: Mar 11, 2010
Posts: 20
I want to setup apache tomcat on my linux distribution .

I Have downloaded apache tomcat from below mentioned link.

The setup was in following format.

Below are the command i have used to install the software.
I have copied the file to / directory
Run following commands.

gunzip apache-tomcat-5.5.29.tar.gz
tar -xvf apache-tomcat-5.5.29.tar

Now there is a folder called apache-tomcat-5.5.29 in my root directory.
Now whenever i run .It says

What should be the next step?

I m currently stuck at this step .What should be my next step. i had no trouble installing it on my windows box but since i m new to linux request you to help me install it.

My linux distribution detail:
LSB Version: :core-3.1-ia32:core-3.1-noarch:graphics-3.1-ia32:graphics-3.1-noarch
Distributor ID: EnterpriseEnterpriseServer
Description: Enterprise Linux Enterprise Linux Server release 5.2 (Carthage)
Release: 5.2
Codename: Carthage

Java Version Information:

# java -version
java version "1.4.2"
gij (GNU libgcj) version 4.1.2 20071124 (Red Hat 4.1.2-42)

Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
Joe Harry
Ranch Hand

Joined: Sep 26, 2006
Posts: 9999

Refer this post here

SCJP 1.4, SCWCD 1.4 - Hints for you, Certified Scrum Master
Did a rm -R / to find out that I lost my entire Linux installation!
pinga kanave

Joined: Mar 11, 2010
Posts: 20

How do i install jre-6u20-linux-i586-rpm.bin file .

I have created java folder in /usr
now whenever i execute jre-6u20-linux-i586-rpm.bin using rpm -i jre-6u20-linux-i586-rpm.bin i get following error:

jre-6u20-linux-i586-rpm.bin: not an rpm package (or package manifest):

What should i do I only have terminal access (not gui access to the server).
sachin burange
Ranch Hand

Joined: Jun 24, 2008
Posts: 43
.bin package are self executable no need to give rpm command.

pinga kanave

Joined: Mar 11, 2010
Posts: 20
sachin burange wrote:.bin package are self executable no need to give rpm command.

Thanks i have installed the bin file successfully also able to run

Using CATALINA_BASE: /apache-tomcat-5.5.29
Using CATALINA_HOME: /apache-tomcat-5.5.29
Using CATALINA_TMPDIR: /apache-tomcat-5.5.29/temp
Using JRE_HOME: /usr/java/jre1.6.0_20
Using CLASSPATH: /apache-tomcat-5.5.29/bin/bootstrap.jar

Finally I got it working All i need to do is to disable the firewall as it was blocking port 8080

Now whenever i click on admin page and enter default user as admin password blank it says invalid password.

I have not done any changes to password file ?
Have they changed the default user/password ?

I agree. Here's the link:
subject: Installing Tomcat on linux help needed.
It's not a secret anymore!