• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • paul wheaton
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
  • Himai Minh
Bartenders:

Installing Tomcat on linux help needed.

 
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.

 
Ranch Hand
Posts: 10198
3
Mac PPC Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Refer this post here https://coderanch.com/t/480560/Linux-UNIX/Installing-Java-Eclipse-Tomcat-Maven#2158697
 
pinga kanave
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Jothi Shankar Kumar wrote:Refer this post here https://coderanch.com/t/480560/Linux-UNIX/Installing-Java-Eclipse-Tomcat-Maven#2158697



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).
 
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
.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/
 
pinga kanave
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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 ?

 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic