Greetings Members,
I would greatly appreciate your help on this. I get the following error when trying to start
Tomcat:
"The connection was refused when attempting to contact localhost:8080"
I am trying to install Tomcat 5.5 on my laptop (Dell Espiron XPS. After installation when I try to start Tomcat from the command prompt I get several messages (below) and nothing else. When I do a ctrl/alt/delete I do not see Tomcat running as a process. FYI - I am using the Mozilla browser. Funny thing is I did have it working before but after many many attempts I cannot remember what I changed to make it fail (knucklead me).
If it helps I am trying to work through the Head First
Servlets &
JSP book by Bryan Bashan, Katch Sierra & Bert Bates (which enabled me to pass the
SCJP exam with the Bates and Sierra book - thanks). In the Head First book I am working on pages 72-77 and am stuck on page 76.
For what it is worth I am able to click on the form.html page and sucessfully bring it up in Mozilla.
I know I need to verify that 8080 is not already in use but do not know how.
Here is the messages from the command line attempt at starting Tomcat:
C:\Program Files\Apache Software Foundation\Tomcat 5.5\bin>tomcat5.exe
Jan 10, 2005 7:18:41 AM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Jan 10, 2005 7:18:41 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 719 ms
Jan 10, 2005 7:18:41 AM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Jan 10, 2005 7:18:41 AM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.4
Jan 10, 2005 7:18:41 AM org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
Jan 10, 2005 7:18:41 AM 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.bal
ancer.rules.RequestParameterRule: Target param name: paramName / Target
param va
lue: paramValue / Redirect URL:
http://www.yahoo.com], [org.apache.webapp.balanc
er.rules.AcceptEverythingRule: Redirect URL:
http://jakarta.apache.org]] Jan 10, 2005 7:18:41 AM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextInitialized()
Jan 10, 2005 7:18:41 AM org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextInitialized()
Jan 10, 2005 7:18:42 AM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextInitialized()
Jan 10, 2005 7:18:42 AM org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextInitialized()
Jan 10, 2005 7:18:42 AM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Jan 10, 2005 7:18:42 AM org.apache.jk.common.ChannelSocket init
INFO: JK2: ajp13 listening on /0.0.0.0:8009
Jan 10, 2005 7:18:42 AM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/15 config=null
Jan 10, 2005 7:18:42 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 1281 ms
Thank you so much for any help you have time to give me.
Sincerely,
Jerry Bustamente