> I am trying to run jakarta-tomcat 5.5.

Signature
Sean
A sarcasm detector, that's a REAL useful invention. (BOOM) --Comic Book
Guy
tail -5 /usr/local/jakarta-tomcat-5.5.9/logs/localhost.2005-06-23.log
INFO: 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]]
Jun 23, 2005 5:11:34 PM org.apache.catalina.core.ApplicationContext log
INFO: 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]]
Jun 23, 2005 5:12:14 PM org.apache.catalina.core.ApplicationContext log
INFO: 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]]
tail -5 catalina.out
at
org.apache.catalina.startup.Catalina$CatalinaShutdownHook.run(Catalina.java:629)
Jun 23, 2005 5:12:17 PM org.apache.coyote.http11.Http11Protocol destroy
INFO: Stopping Coyote HTTP/1.1 on http-8080
Jun 23, 2005 5:12:17 PM org.apache.catalina.connector.Connector stop
SEVERE: Coyote connector has not been started
tail -5 catalina.2005-06-23.log
at
org.apache.jk.server.JkCoyoteHandler.pause(JkCoyoteHandler.java:209)
at org.apache.catalina.connector.Connector.pause(Connector.java:943)
at
org.apache.catalina.core.StandardService.stop(StandardService.java:491)
at
org.apache.catalina.core.StandardServer.stop(StandardServer.java:717)
at org.apache.catalina.startup.Catalina.stop(Catalina.java:586)
at
org.apache.catalina.startup.Catalina$CatalinaShutdownHook.run(Catalina.java:629)
Jun 23, 2005 5:15:22 PM org.apache.catalina.core.StandardService stop
INFO: Stopping service Catalina
Jun 23, 2005 5:15:22 PM org.apache.coyote.http11.Http11Protocol destroy
INFO: Stopping Coyote HTTP/1.1 on http-8080
>From the browser:
It hangs a long time, saying: Connecting.... then:
A network error occurred while Netscape was receiving data.
(Network Error: Connection reset by peer)
Try connecting again.
SMC - 28 Jun 2005 03:35 GMT
Need more context than that, which unfortunately would be a very long
post. Starting from the bottom of the logs, search upwards for something
like "root cause".
I use the Firefox browser with the Live HTTP Headers plugin to check the
request/response codes from requests. Gives you a better idea of the
responses from your web server (if any). See
http://livehttpheaders.mozdev.org/
You could also try telnet localhost 8080. If you get connection refused
then Tomcat isn't running (but from the looks of your logs, it isn't).
Post the root cause lines from your logs (if you can find them).
> tail -5 /usr/local/jakarta-tomcat-5.5.9/logs/localhost.2005-06-23.log
>
[quoted text clipped - 60 lines]
>
> Try connecting again.

Signature
Sean
The only weapon of mass destruction is nuclear. In all others, mass is
conserved.
SQ - 28 Jun 2005 13:56 GMT
I found out what the problem was - Tomcat took about 1-2 minutes to
start. It doesn't start instantly like Apache.
The platform is Solaris 8, the Tomcat version is 5.5 and the browser is
Netscape that came with Solaris 8.
Everything is fine now. When I first start it, the Tomcat's CPU goes to
33% or so then once it comes down to 0.7%, it's ready to start serving
requests.
Alan Krueger - 29 Jun 2005 01:17 GMT
> I found out what the problem was - Tomcat took about 1-2 minutes to
> start. It doesn't start instantly like Apache.
[quoted text clipped - 3 lines]
> 33% or so then once it comes down to 0.7%, it's ready to start serving
> requests.
You can configure webapps in Tomcat to not load at startup. That will
delay loading them until the first request. On a system with a lot of
webapps, this greatly speeds up startup but slows down the initial
requests of the webapps.