You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by William Claxton <wi...@knowledgeplatform.com> on 2005/12/21 13:52:26 UTC

DNS error, no reply from Tomcat and no clues in the log

I'm trying to upgrade to Tomcat 5.5.14 on Windows2000.  The JRE is 
1.4.2_03.  I've deployed the compatability patch, and commented out 
the Apache Portable Runtime listener from the 'server.xml'.

I encountered an error when starting Tomcat for the first time after 
installation.  The service starts normally, but the browser reports a 
DNS error.  Netstat reports that Tomcat is listening on 8080 (for IP 
0.0.0.0).  But if I telnet to the machine's IP address and connect to 
port 8080 there is no reply.  Perhaps Tomcat is listening on a different IP?

Most perplexing, the Tomcat logs show nothing unusual.  Below are the 
(rather short) logs from my Tomcat startup.  What's missing 
here?  The Catalina logs stop before the expected 
'org.apache.catalina.startup.HostConfig checkResources', WAR 
deployment and context loading.

There are three areas I suspect issues to arise:

- The Java environment is a bit weird, with several versions of the 
JDK on the system.  When the Tomcat installer prompted for a JRE, the 
path suggested was invalid.  I opted to use 'D:\j2sdk1.4.2_03\jre' 
since I can see there is a JRE there, and JAVA_HOME points to 
'D:\j2sdk1.4.2_03'.  If I enter 'java -version' at the command line, I get:

java version "1.4.2_03"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_03-b02)
Java HotSpot(TM) Client VM (build 1.4.2_03-b02, mixed mode)

-  A JK2 ISAPI redirector is in place, and I'm working the 
installation around it.  This is because we can't restart the World 
Wide Web publishing service - it's a production service.

-  There's a separate instance of JRun on the machine, listening on 
port 8000 I think.  Is that the same as the MBean Server?

Any suggestions would be helpful.

Jakarta Service Log
`````````````````````````````
[2005-12-21 19:13:07] [info] Running Service...
[2005-12-21 19:13:07] [info] Starting service...
[2005-12-21 19:13:09] [info] Service started in 1531 ms.

Catalina Log
```````````````````````````
Dec 21, 2005 7:13:11 PM org.apache.coyote.http11.Http11BaseProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Dec 21, 2005 7:13:12 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 2890 ms
Dec 21, 2005 7:13:12 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Dec 21, 2005 7:13:12 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.14
Dec 21, 2005 7:13:12 PM org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
Dec 21, 2005 7:13:21 PM org.apache.coyote.http11.Http11BaseProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Dec 21, 2005 7:13:22 PM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
Dec 21, 2005 7:13:22 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/110  config=null
Dec 21, 2005 7:13:22 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 10203 ms

STDOUT Log
```````````````````````````
Created MBeanServer with ID: 197a37c:1084d05bf2a:-8000:sinccbwb2kp02:1

Localhost Log
```````````````````````````
Dec 21, 2005 7:13:15 PM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextInitialized()
Dec 21, 2005 7:13:15 PM org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextInitialized()
Dec 21, 2005 7:13:16 PM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextInitialized()
Dec 21, 2005 7:13:16 PM org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextInitialized()
Dec 21, 2005 7:13:18 PM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextInitialized()
Dec 21, 2005 7:13:18 PM org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextInitialized()






Regards, Bill Claxton (williamc@knowledgeplatform.com)
MSN: william_claxton@passport.com
Skype: william_claxton@skype.com
Blog: http://learningweb.blogspot.com