aspose file tools*
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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Installing Tomcat on linux help needed." Watch "Installing Tomcat on linux help needed." New topic
Author

Installing Tomcat on linux help needed.

pinga kanave
Greenhorn

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.

Core:
http://tomcat.apache.org/download-55.cgi
The setup was in following format.
apache-tomcat-5.5.29.tar.gz

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 startup.sh .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
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Joe Harry
Ranch Hand

Joined: Sep 26, 2006
Posts: 9243
    
    1

Refer this post here http://www.coderanch.com/t/480560/Linux-UNIX/Installing-Java-Eclipse-Tomcat-Maven#2158697


SCJP 1.4, SCWCD 1.4 - Hints for you, SCBCD Hints - Demnachst, SCDJWS - Auch Demnachst
Did a rm -R / to find out that I lost my entire Linux installation!
pinga kanave
Greenhorn

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: 41
.bin package are self executable no need to give rpm command.

http://www.cyberciti.biz/faq/howto-unix-command-run-execute-bin-files-in-linux/


Regards
Sachin
pinga kanave
Greenhorn

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

http://www.cyberciti.biz/faq/howto-unix-command-run-execute-bin-files-in-linux/

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

./startup.sh
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: http://aspose.com/file-tools
 
subject: Installing Tomcat on linux help needed.
 
Similar Threads
Help me finding root directory of apache.
Java and ORACLE XE connectivity Problem
Need a little help in running jsp pages(Tomcat server).
Installation Guide (Tomcat on Linux)
Cannot find jni_md.h in /usr/bin/java/ when installing APR Native Library in Tomcat 6