LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 09-17-2004, 05:45 PM   #1
zgiv
LQ Newbie
 
Registered: Sep 2004
Posts: 1

Rep: Reputation: 0
Tomcat 5 on RHL , PLEASE HELP!!!!!!!!!


Hey dudes,

heres my problem .
1.Red Hat 8.0
2.Tomcat 5.5.2 alpha base distro only
3.Java2 SDK 1.4.2
4. Mozilla 1.7.3

everything is set
1. Tomcat 5.5.2 is installed and integated to use JAVA 1.4.2
( Catalina_home , Java_home all reflect the appropriate directories)

2. Mozilla has been configured to use JRE 5

./startup.sh starts Tomcat 5 ( no error or warning messages)
./shutdown.sh stops Tomcat 5 ( no error or warning messages)

Yet after tomcat starts , when i type in 127.0.0.1:8080 or localhost:8080
it simple keeps giving me this error-----> " the connection was refused when attempting to contact ...", i even tried connecting from a different machine using the orginal IP ADDY...that too gives teh same error...

WHAT AM I DOING WRONG???this is my first trial with tomcat ...i tried reading all that i could!!!!!

am i supposed to have a httpd runnning on the machine since i am assuming and read that tomcat itself works as a webserver!

i even checked /etc/rc.d/rcsysint ../network.../hosts all reflect localhost!!!
i even pinged ..that works too!!!!


PLEASE PLEASE SOMEONE HELP ME !!!!!!!

peace dudes!
 
Old 09-27-2004, 11:29 PM   #2
jandersen78
LQ Newbie
 
Registered: Sep 2004
Location: Provo, UT
Distribution: Fedora Core 2
Posts: 15

Rep: Reputation: 0
Does the catalina.out or catalina.log file in <tomcat home>/logs add any useful information? It sounds like tomcat isn't up and running, maybe there's some error that's getting logged but not output to the console.
 
Old 10-19-2004, 01:21 PM   #3
ardee
LQ Newbie
 
Registered: Jun 2004
Distribution: Gentoo Linux, Ubuntu, Manderake 10 Official
Posts: 5

Rep: Reputation: 0
Have you checked on the proxy server settings?

I also had encountered that problem, and I found out that I have not put "localhost" or "127.0.0.1" under the "No proxy" list. Note that my PC is inside a network and connects through the internet via a proxy server. It seems that the resolution of the address (this includes 127.0.0.1) was done by the proxy server, and not my machine.

I don't know about Mozilla, but right now I am using firefox 0.8. I hope that the interface would be similar. If not, this is usually found somewhere near proxy settings tab.

To put 127.0.0.1 under the "No proxy" list in firefox 0.8:

Tools -> Options -> General -> Connection Settings -> No Proxy for:


Then put "127.0.0.1,localhost" on the text box (without the quotes).

Tell me if it works
 
Old 10-19-2004, 03:48 PM   #4
UsualTuxpect
Member
 
Registered: Aug 2004
Location: New York
Distribution: --------- Gentoo-2004.2 [2.6.8] Redhat-9 [2.6.6]
Posts: 545

Rep: Reputation: 31
what does #netstat -a | grep :8080

say

check if ur comp listening on 8080 [i mean can u see the port 8080]
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
TOMCAT init script not working on startup -- tomcat 4.x / Mandrake Linux 8.0 jmartinph Mandriva 0 03-08-2004 01:31 AM
RHL 6.2 compat libs for RHL 9? cw3bst3r Programming 0 01-30-2004 09:41 AM
Newb question: Install/config Tomcat 4.1.27 on RHL 9.0 rudejohn Linux - Software 2 09-01-2003 08:12 PM
Why use Apache with Tomcat rather than just Tomcat itself? davee Linux - Software 1 08-21-2003 09:47 PM
tomcat server configuration with apache on RHL 7.2, 6.2 sathu Linux - Software 0 02-05-2002 07:07 AM


All times are GMT -5. The time now is 05:24 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration