LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-10-2005, 10:52 PM   #1
zakidad
LQ Newbie
 
Registered: Aug 2004
Location: Serdang
Distribution: none
Posts: 26

Rep: Reputation: 15
Tomcat installation


Hi. Currently I have install jakarta tomcat version 5.0.8 on my fedora 3 with apache version 2.0. When I attemp to get the tomcat test page to dispplay, it seems that the browser searching continuously without an end when I typed
http://localhost:8080/
What would usualy caused the problem? The tomcat test page had once appeared without any changes given to the apache config file.
Is it the tomcat config file (server.xml) that need to be checked or there are some other simple thing that I forgot to check (comman error/mistake/carelessness) before starting to get the tomcat test page? Is mysql have anything to do with it?
Thanks for any idea and help.
Bye.
 
Old 07-11-2005, 02:22 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,165
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Are you sure tomcat is running? Run:
Code:
netstat -tpan|grep 8080
to see if port 8080 is listening.
If not, run
Code:
./startup.sh
from the /bin subdir of your tomcat installation dir.
If it's running check the logs under the /logs subdir to see what's wrong.
 
Old 07-11-2005, 08:12 PM   #3
zakidad
LQ Newbie
 
Registered: Aug 2004
Location: Serdang
Distribution: none
Posts: 26

Original Poster
Rep: Reputation: 15
The output is like this

[root@zaki log]# netstat -tpan|grep 8080
tcp 0 0 :::8080 :::* LISTEN 2993/java
tcp 389 0 ::ffff:127.0.0.1:8080 ::ffff:127.0.0.1:36126 CLOSE_WAIT -
tcp 389 0 ::ffff:127.0.0.1:8080 ::ffff:127.0.0.1:36124 CLOSE_WAIT -
tcp 320 0 ::ffff:127.0.0.1:8080 ::ffff:127.0.0.1:34139 CLOSE_WAIT -
tcp 389 0 ::ffff:127.0.0.1:8080 ::ffff:127.0.0.1:34138 CLOSE_WAIT -
tcp 389 0 ::ffff:127.0.0.1:8080 ::ffff:127.0.0.1:36058 CLOSE_WAIT -
tcp 389 0 ::ffff:127.0.0.1:8080 ::ffff:127.0.0.1:33047 CLOSE_WAIT -
tcp 389 0 ::ffff:127.0.0.1:8080 ::ffff:127.0.0.1:33869 CLOSE_WAIT -
tcp 320 0 ::ffff:127.0.0.1:8080 ::ffff:127.0.0.1:33868 CLOSE_WAIT -
tcp 389 0 ::ffff:127.0.0.1:8080 ::ffff:127.0.0.1:33866 CLOSE_WAIT -
tcp 320 0 ::ffff:127.0.0.1:8080 ::ffff:127.0.0.1:36168 CLOSE_WAIT -
tcp 320 0 ::ffff:127.0.0.1:8080 ::ffff:127.0.0.1:33927 CLOSE_WAIT -
tcp 389 0 ::ffff:127.0.0.1:8080 ::ffff:127.0.0.1:33926 CLOSE_WAIT -
tcp 320 0 ::ffff:127.0.0.1:8080 ::ffff:127.0.0.1:33861 CLOSE_WAIT -
tcp 389 0 ::ffff:127.0.0.1:8080 ::ffff:127.0.0.1:33860 CLOSE_WAIT -
tcp 320 0 ::ffff:127.0.0.1:8080 ::ffff:127.0.0.1:33859 CLOSE_WAIT -
tcp 389 0 ::ffff:127.0.0.1:8080 ::ffff:127.0.0.1:33858 CLOSE_WAIT -
tcp 389 0 ::ffff:127.0.0.1:8080 ::ffff:127.0.0.1:33921 CLOSE_WAIT -
tcp 320 0 ::ffff:127.0.0.1:8080 ::ffff:127.0.0.1:34617 CLOSE_WAIT -
tcp 389 0 ::ffff:127.0.0.1:8080 ::ffff:127.0.0.1:34616 CLOSE_WAIT -
tcp 320 0 ::ffff:127.0.0.1:8080 ::ffff:127.0.0.1:34168 CLOSE_WAIT -
tcp 389 0 ::ffff:127.0.0.1:8080 ::ffff:127.0.0.1:34167 CLOSE_WAIT -
tcp 320 0 ::ffff:127.0.0.1:8080 ::ffff:127.0.0.1:33071 CLOSE_WAIT -
tcp 389 0 ::ffff:127.0.0.1:8080 ::ffff:127.0.0.1:36143 CLOSE_WAIT -
tcp 389 0 ::ffff:127.0.0.1:8080 ::ffff:127.0.0.1:34603 CLOSE_WAIT -
tcp 389 0 ::ffff:127.0.0.1:8080 ::ffff:127.0.0.1:32810 CLOSE_WAIT -
tcp 389 0 ::ffff:127.0.0.1:8080 ::ffff:127.0.0.1:32809 CLOSE_WAIT -
tcp 320 0 ::ffff:127.0.0.1:8080 ::ffff:127.0.0.1:36070 CLOSE_WAIT -
tcp 389 0 ::ffff:127.0.0.1:8080 ::ffff:127.0.0.1:36133 CLOSE_WAIT -

and for the log files the content is

2005-07-11 12:24:00 StandardContext[/balancer]org.apache.webapp.balancer.BalancerFilter: init(): ruleChain: [org.apache.webapp.balancer.RuleChain: [org.apache.webapp.balancer.rules.URLStringMatchRule: Target string: News / Redirect URL: http://www.cnn.com], [org.apache.webapp.balancer.rules.RequestParameterRule: Target param name: paramName / Target param value: paramValue / Redirect URL: http://www.yahoo.com], [org.apache.webapp.balancer.rules.AcceptEverythingRule: Redirect URL: http://jakarta.apache.org]]
2005-07-11 12:24:09 StandardContext[/servlets-examples]ContextListener: contextInitialized()
2005-07-11 12:24:09 StandardContext[/servlets-examples]SessionListener: contextInitialized()
2005-07-11 12:24:10 StandardContext[/jsp-examples]ContextListener: contextInitialized()
2005-07-11 12:24:10 StandardContext[/jsp-examples]SessionListener: contextInitialized()
2005-07-11 12:24:11 StandardContext[/servlets-examples]ContextListener: attributeReplaced('org.apache.catalina.WELCOME_FILES', '[Ljava.lang.String;@221e9e')
2005-07-11 12:24:11 StandardContext[/servlets-examples]ContextListener: attributeReplaced('org.apache.catalina.WELCOME_FILES', '[Ljava.lang.String;@83e1e')
2005-07-11 12:24:11 StandardContext[/servlets-examples]ContextListener: attributeReplaced('org.apache.catalina.WELCOME_FILES', '[Ljava.lang.String;@1264eab')
2005-07-11 12:24:11 StandardContext[/servlets-examples]SessionListener: contextDestroyed()
2005-07-11 12:24:11 StandardContext[/servlets-examples]ContextListener: contextDestroyed()
2005-07-11 12:24:11 StandardContext[/jsp-examples]ContextListener: attributeReplaced('org.apache.catalina.WELCOME_FILES', '[Ljava.lang.String;@11a01dd')
2005-07-11 12:24:11 StandardContext[/jsp-examples]ContextListener: attributeReplaced('org.apache.catalina.WELCOME_FILES', '[Ljava.lang.String;@70610a')
2005-07-11 12:24:11 StandardContext[/jsp-examples]ContextListener: attributeReplaced('org.apache.catalina.WELCOME_FILES', '[Ljava.lang.String;@1f31652')
2005-07-11 12:24:11 StandardContext[/jsp-examples]SessionListener: contextDestroyed()
2005-07-11 12:24:11 StandardContext[/jsp-examples]ContextListener: contextDestroyed()
2005-07-11 16:16:15 StandardContext[/balancer]org.apache.webapp.balancer.BalancerFilter: init(): ruleChain: [org.apache.webapp.balancer.RuleChain: [org.apache.webapp.balancer.rules.URLStringMatchRule: Target string: News / Redirect URL: http://www.cnn.com], [org.apache.webapp.balancer.rules.RequestParameterRule: Target param name: paramName / Target param value: paramValue / Redirect URL: http://www.yahoo.com], [org.apache.webapp.balancer.rules.AcceptEverythingRule: Redirect URL: http://jakarta.apache.org]]
2005-07-11 16:16:22 StandardContext[/servlets-examples]ContextListener: contextInitialized()
2005-07-11 16:16:22 StandardContext[/servlets-examples]SessionListener: contextInitialized()
2005-07-11 16:16:22 StandardContext[/jsp-examples]ContextListener: contextInitialized()
2005-07-11 16:16:22 StandardContext[/jsp-examples]SessionListener: contextInitialized()
2005-07-11 16:16:24 StandardContext[/servlets-examples]ContextListener: attributeReplaced('org.apache.catalina.WELCOME_FILES', '[Ljava.lang.String;@3a1834')
2005-07-11 16:16:24 StandardContext[/servlets-examples]ContextListener: attributeReplaced('org.apache.catalina.WELCOME_FILES', '[Ljava.lang.String;@b1cd0')

2005-07-11 16:16:24 StandardContext[/servlets-examples]ContextListener: attributeReplaced('org.apache.catalina.WELCOME_FILES', '[Ljava.lang.String;@190a0d6')
2005-07-11 16:16:24 StandardContext[/servlets-examples]SessionListener: contextDestroyed()
2005-07-11 16:16:24 StandardContext[/servlets-examples]ContextListener: contextDestroyed()
2005-07-11 16:16:24 StandardContext[/jsp-examples]ContextListener: attributeReplaced('org.apache.catalina.WELCOME_FILES', '[Ljava.lang.String;@4a9a7d')
2005-07-11 16:16:24 StandardContext[/jsp-examples]ContextListener: attributeReplaced('org.apache.catalina.WELCOME_FILES', '[Ljava.lang.String;@1e4a47e')
2005-07-11 16:16:24 StandardContext[/jsp-examples]ContextListener: attributeReplaced('org.apache.catalina.WELCOME_FILES', '[Ljava.lang.String;@1eb5666')
2005-07-11 16:16:24 StandardContext[/jsp-examples]SessionListener: contextDestroyed()
2005-07-11 16:16:24 StandardContext[/jsp-examples]ContextListener: contextDestroyed()
..
What hapen actualy?
 
Old 07-12-2005, 02:15 AM   #4
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,165
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
PHP Code:
tcp 0 0 :::8080 :::* LISTEN 2993/java 
Are you sure your localhost is setup correctly? I guess you're on an IPv6 network! If that's correct check your /etc/hosts file for the localhost entry.
 
  


Reply



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 Installation Randvegeta Linux - Software 0 04-26-2005 05:34 AM
tomcat installation on redhat jkmartha Linux - General 1 04-11-2005 09:52 AM
Tomcat installation problems tryphonnette Fedora 0 11-17-2004 09:55 AM
Tomcat 5 binary installation...problems! vous Linux - Software 4 01-27-2004 06:07 PM
Tomcat installation questions NickDanger Linux - Software 1 12-07-2003 09:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:42 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration