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?