• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

The connection was refused when attempting to contact localhost:8080

 
Ranch Hand
Posts: 518
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
when i tried to see the Tomcat Administration page by giving http://localhost:8080 in the browser ,after tomcat installation in my redhat linux machine, i am getting the following error in an alert message.


The connection was refused when attempting to contact localhost:8080


what does it mean.why this error occured?please help me.I have downloaded and installed jdk1.6.0_04 in usr/java and jakarta-tomcat-5.0.28 in usr/local.

Thanks.
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Is Tomcat actually running, and configured to listen on port 8080?
 
preethi Ayyappan
Ranch Hand
Posts: 518
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I never had worked with tomcat.how could i find whether it is running and listening to port 8080?
could you please guide me?
 
Sheriff
Posts: 13411
Firefox Browser VI Editor Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
How did you start Tomcat?
 
preethi Ayyappan
Ranch Hand
Posts: 518
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I start the tomcat like ./startup.sh
 
preethi Ayyappan
Ranch Hand
Posts: 518
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am using redhat linux 4 and apache 2 and jdk 1.6.0_04.shall i uninstall the tomcat and reinstall another version.If so could anyone tell me where should i download tomcat and what are the installation instructions i have to follow?coz i am confused by looking at different installation instructions.please give me any useful link to download and install tomcat properly in my linux machine.
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser VI Editor Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

coz i am confused by ...



In an effort to help everyone get the most from our forums, we've compiled a
list of tips for asking questions here. You can find the list in our
FAQ section here.
In particular please see:
UseRealWords

Abbreviations such as "u" or "ur" in
place of "you" and "you are" or "you're" confound language translation software making
it hard for our non-English speaking members to read your posts.
'coz' is not a word in the English language.
 
Ulf Dittmer
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
There's no point in installing Tomcat again - you said you started the version that's installed. If you got neither error messages on the command line, nor any errors in the log files (those are generally in the TOMCAT_HOME/logs directory) then Tomcat should be running.
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser VI Editor Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Do you mean Fedora 4?
RedHat 4 ancient.


In any case if you ran startup.sh and didn't see errors on the screen, it should be running.
Did you read any of the logs under tomcat/logs to see if exceptions are being thrown?

The nestsat program will show you which port have something bound to them.
This is on my machine with Tomcat running on 8080:
 
preethi Ayyappan
Ranch Hand
Posts: 518
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks.Now i have installed apache-tomcat-5.5.26.tar.gz.Now it is working fine.sorry for using non english words
[ March 01, 2008: Message edited by: preethi Ayyappan ]
 
reply
    Bookmark Topic Watch Topic
  • New Topic