tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Larry Isaacs <Larry.Isa...@sas.com>
Subject RE: Strange Tomcat 3.3 error
Date Wed, 30 Jan 2002 18:27:05 GMT
The "org.apache.crimson.parser.ExternalEntity.getInputSource" suggests
that a web.xml is trying reference an entity that is not found
locally.  Tomcat can resolve all the spec required entities locally
so they should not trigger access to the web.

I think a typo in the web.xml's <!DOCTYPE ...>, or perhaps a taglib TLD
file, would cause something like this.  

Cheers,
Larry

> -----Original Message-----
> From: Renato [mailto:webmaster@cienciapura.com.br]
> Sent: Wednesday, January 30, 2002 11:15 AM
> To: tomcat-user@jakarta.apache.org; tomcat-dev@jakarta.apache.org
> Subject: Strange Tomcat 3.3 error
> 
> 
> Hi all,
> 
> Sometimes, when I start my Tomcat 3.3 + Apache ( nightly 
> build 0 I have the 
> following error:
> 
> .....
> /web.xml - java.net.NoRouteToHostException: Connection timed out
>         at java.net.PlainSocketImpl.socketConnect(Native Method)
>         at 
> java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:329)
>         at java.net.PlainSocketImpl.connectToAddress
> (PlainSocketImpl.java:141)
>         at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:128)
>         at java.net.Socket.<init>(Socket.java:285)
>         at java.net.Socket.<init>(Socket.java:112)
>         at sun.net.NetworkClient.doConnect(NetworkClient.java:56)
>         at sun.net.www.http.HttpClient.openServer(HttpClient.java:347)
>         at sun.net.www.http.HttpClient.openServer(HttpClient.java:534)
>         at sun.net.www.http.HttpClient.<init>(HttpClient.java:282)
>         at sun.net.www.http.HttpClient.<init>(HttpClient.java:292)
>         at sun.net.www.http.HttpClient.New(HttpClient.java:304)
>         at sun.net.www.protocol.http.HttpURLConnection.connect
> (HttpURLConnection.java:393)
>         at sun.net.www.protocol.http.HttpURLConnection.getInputStream
> (HttpURLConnection.java:487)
>         at java.net.HttpURLConnection.getResponseCode
> (HttpURLConnection.java:221)
>         at org.apache.crimson.parser.Resolver.createInputSource
> (Resolver.java:287)
>         at org.apache.crimson.parser.ExternalEntity.getInputSource
> (ExternalEntity.java:92)
>         at 
> org.apache.crimson.parser.Parser2.pushReader(Parser2.java:3133)
>         at org.apache.crimson.parser.Parser2.externalParameterEntity
> (Parser2.java(Compiled Code))
>         at org.apache.crimson.parser.Parser2.maybeDoctypeDecl
> (Parser2.java:1167)
>         at 
> org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:489)
>         at org.apache.crimson.parser.Parser2.parse(Parser2.java:305)
>         at org.apache.crimson.parser.XMLReaderImpl.parse
> (XMLReaderImpl.java:442)
>         at org.xml.sax.helpers.XMLReaderAdapter.parse
> (XMLReaderAdapter.java:223)
>         at 
> org.apache.tomcat.util.xml.XmlMapper.readXml(Unknown Source)
>        at 
> org.apache.tomcat.facade.WebXmlReader.processWebXmlFile(Unknown 
> Source)
>         at 
> org.apache.tomcat.facade.WebXmlReader.contextInit(Unknown Source)
>         at org.apache.tomcat.core.Context.init(Unknown Source)
>         at org.apache.tomcat.core.ContextManager.init(Unknown Source)
>         at org.apache.tomcat.startup.EmbededTomcat.initContextManager
> (Unknown Source)
>         at 
> org.apache.tomcat.startup.EmbededTomcat.execute1(Unknown Source)
>         at 
> org.apache.tomcat.startup.EmbededTomcat$1.run(Unknown Source)
>         at 
> org.apache.tomcat.util.compat.Jdk12Support$PrivilegedProxy.run
> (Unknown Source)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at 
> org.apache.tomcat.util.compat.Jdk12Support.doPrivileged(Unknown 
> Source)
>         at 
> org.apache.tomcat.startup.EmbededTomcat.execute(Unknown Source)
>         at java.lang.reflect.Method.invoke(Native Method)
>         at 
> org.apache.tomcat.util.IntrospectionUtils.execute(Unknown Source)
>         at org.apache.tomcat.startup.Main.execute(Unknown Source)
>         at org.apache.tomcat.startup.Main.main(Unknown Source)
> 
> It works fine, but it take ages to start. What can this be ?
> 
> Thanks
> Renato - Brazil
> 
> --
> To unsubscribe, e-mail:   
> <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: 
> <mailto:tomcat-dev-help@jakarta.apache.org>
> 

--
To unsubscribe, e-mail:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message