I made the changes to log4j.properties which you suggested and restarted the servlet. Output looks like this:<br><br>[root@vp-w3c-validator12 checker]# python build/build.py --port=80 --local run &<br>[1] 4468<br>[root@vp-w3c-validator12 checker]# java -XX:-DontCompileHugeMethods -Xms131072k -Xmx131072k -XX:ThreadStackSize=2048 -classpath . /dependencies/commons-codec-1.4/commons-codec-1.4.jar:./dependencies/commons-httpclient-3.1/commons-httpclient-3.1.jar:./dependen cies/commons-logging-1.1.1/commons-logging-1.1.1.jar:./dependencies/commons-logging-1.1.1/commons-logging-adapters-1.1.1.jar:./de pendencies/commons-logging-1.1.1/commons-logging-api-1.1.1.jar:./dependencies/icu4j-charsets-4_4_2.jar:./dependencies/icu4j-4_4_2 .jar:./dependencies/iri-0.5/lib/iri.jar:./dependencies/jetty-6.1.26/lib/servlet-api-2.5-20081211.jar:./dependencies/jetty-6.1.26/ lib/jetty-6.1.26.jar:./dependencies/jetty-6.1.26/lib/jetty-util-6.1.26.jar:./dependencies/jetty-6.1.26/lib/ext/jetty-ajp-6.1.26.j ar:./dependencies/apache-log4j-1.2.15/log4j-1.2.15.jar:./dependencies/rhino1_7R1/js.jar:./dependencies/xerces-2_9_1/xercesImpl.ja r:./dependencies/xerces-2_9_1/xml-apis.jar:./dependencies/slf4j-1.5.2/slf4j-log4j12-1.5.2.jar:./dependencies/commons-fileupload-1 .2.1/lib/commons-fileupload-1.2.1.jar:./dependencies/isorelax.jar:./dependencies/mozilla/intl/chardet/java/dist/lib/chardet.jar:. /dependencies/saxon9.jar:./jars/non-schema.jar:./jars/io-xml-util.jar:./jars/htmlparser.jar:./jars/hs-aelfred2.jar:./jars/html5-d atatypes.jar:./jars/validator.jar:jing-trang/build/jing.jar -Dnu.validator.servlet.log4j-properties=validator/log4j.properties -D nu.validator.servlet.version=3 -Dnu.validator.servlet.service-name=Validator.nu -Dorg.whattf.datatype.lang-registry=file:local-en tities/<a href="http://www.iana.org/assignments/language-subtag-registry">www.iana.org/assignments/language-subtag-registry</a> -Dorg.whattf.datatype.charset-registry=file:local-entities/<a href="http://www.iana.org/">www.iana.org/</a> assignments/character-sets -Dorg.whattf.datatype.warn=true -Dnu.validator.servlet.about-page=<a href="http://about.validator.nu/">http://about.validator.nu/</a> -Dnu.vali dator.servlet.style-sheet=style.css -Dnu.validator.servlet.icon=icon.png -Dnu.validator.servlet.script=script.js -Dnu.validator.s pec.microsyntax-descriptions=file:local-entities/<a href="http://wiki.whatwg.org/wiki/MicrosyntaxDescriptions">wiki.whatwg.org/wiki/MicrosyntaxDescriptions</a> -Dnu.validator.spec.alt-advice=file :local-entities/<a href="http://wiki.whatwg.org/wiki/Validator.nu_alt_advice">wiki.whatwg.org/wiki/Validator.nu_alt_advice</a> -Dnu.validator.spec.html5-load=file:validator/spec/html5.html -Dnu.v alidator.spec.html5-link=<a href="http://www.whatwg.org/specs/web-apps/current-work/">http://www.whatwg.org/specs/web-apps/current-work/</a> -Dnu.validator.servlet.max-file-size=7340032 -Dnu.val idator.servlet.connection-timeout=5000 -Dnu.validator.servlet.socket-timeout=5000 -Dnu.validator.servlet.use-local-copies=1 -Dnu. validator.servlet.w3cbranding=0 -Dorg.mortbay.http.HttpRequest.maxFormContentSize=7340032 -Dnu.validator.servlet.host.generic= -D nu.validator.servlet.host.html5= -Dnu.validator.servlet.host.parsetree= -Dnu.validator.servlet.path.generic=/ -Dnu.validator.serv let.path.html5=/html5/ -Dnu.validator.servlet.path.parsetree=/parsetree/ -Dnu.validator.servlet.path.about=./validator/site/ nu.v alidator.servlet.Main 80<br>
2012-04-18 16:13:42.839:INFO::Logging to STDERR via org.mortbay.log.StdErrLog<br>org.apache.commons.httpclient.params.DefaultHttpParams - Set parameter http.useragent = Jakarta Commons-HttpClient/3.1<br>org.apache.commons.httpclient.params.DefaultHttpParams - Set parameter http.protocol.version = HTTP/1.1<br>
org.apache.commons.httpclient.params.DefaultHttpParams - Set parameter http.connection-manager.class = class org.apache.commons.h ttpclient.SimpleHttpConnectionManager<br>org.apache.commons.httpclient.params.DefaultHttpParams - Set parameter http.protocol.cookie-policy = default<br>
org.apache.commons.httpclient.params.DefaultHttpParams - Set parameter http.protocol.element-charset = US-ASCII<br>org.apache.commons.httpclient.params.DefaultHttpParams - Set parameter http.protocol.content-charset = ISO-8859-1<br>
org.apache.commons.httpclient.params.DefaultHttpParams - Set parameter http.method.retry-handler = org.apache.commons.httpclient. DefaultHttpMethodRetryHandler@270e3293<br>org.apache.commons.httpclient.params.DefaultHttpParams - Set parameter http.dateparser.patterns = [EEE, dd MMM yyyy HH:mm:ss zzz, EEEE, dd-MMM-yy HH:mm:ss zzz, EEE MMM d HH:mm:ss yyyy, EEE, dd-MMM-yyyy HH:mm:ss z, EEE, dd-MMM-yyyy HH-mm-ss z, EEE, dd MMM yy HH:mm:ss z, EEE dd-MMM-yyyy HH:mm:ss z, EEE dd MMM yyyy HH:mm:ss z, EEE dd-MMM-yyyy HH-mm-ss z, EEE dd-MMM-yy HH:mm:ss z, EEE dd MMM yy HH:mm:ss z, EEE,dd-MMM-yy HH:mm:ss z, EEE,dd-MMM-yyyy HH:mm:ss z, EEE, dd-MM-yyyy HH:mm:ss z]<br>
org.apache.commons.httpclient.HttpClient - Java version: 1.6.0_17<br>org.apache.commons.httpclient.HttpClient - Java vendor: Sun Microsystems Inc.<br>org.apache.commons.httpclient.HttpClient - Java class path: ./dependencies/commons-codec-1.4/commons-codec-1.4.jar:./dependencies /commons-httpclient-3.1/commons-httpclient-3.1.jar:./dependencies/commons-logging-1.1.1/commons-logging-1.1.1.jar:./dependencies/ commons-logging-1.1.1/commons-logging-adapters-1.1.1.jar:./dependencies/commons-logging-1.1.1/commons-logging-api-1.1.1.jar:./dep endencies/icu4j-charsets-4_4_2.jar:./dependencies/icu4j-4_4_2.jar:./dependencies/iri-0.5/lib/iri.jar:./dependencies/jetty-6.1.26/ lib/servlet-api-2.5-20081211.jar:./dependencies/jetty-6.1.26/lib/jetty-6.1.26.jar:./dependencies/jetty-6.1.26/lib/jetty-util-6.1. 26.jar:./dependencies/jetty-6.1.26/lib/ext/jetty-ajp-6.1.26.jar:./dependencies/apache-log4j-1.2.15/log4j-1.2.15.jar:./dependencie s/rhino1_7R1/js.jar:./dependencies/xerces-2_9_1/xercesImpl.jar:./dependencies/xerces-2_9_1/xml-apis.jar:./dependencies/slf4j-1.5. 2/slf4j-log4j12-1.5.2.jar:./dependencies/commons-fileupload-1.2.1/lib/commons-fileupload-1.2.1.jar:./dependencies/isorelax.jar:./ dependencies/mozilla/intl/chardet/java/dist/lib/chardet.jar:./dependencies/saxon9.jar:./jars/non-schema.jar:./jars/io-xml-util.ja r:./jars/htmlparser.jar:./jars/hs-aelfred2.jar:./jars/html5-datatypes.jar:./jars/validator.jar:jing-trang/build/jing.jar<br>
org.apache.commons.httpclient.HttpClient - Operating system name: Linux<br>org.apache.commons.httpclient.HttpClient - Operating system architecture: amd64<br>org.apache.commons.httpclient.HttpClient - Operating system version: 2.6.32-71.29.1.el6.x86_64<br>
org.apache.commons.httpclient.HttpClient - SUN 1.6: SUN (DSA key/parameter generation; DSA signing; SHA-1, MD5 digests; SecureRan dom; X.509 certificates; JKS keystore; PKIX CertPathValidator; PKIX CertPathBuilder; LDAP, Collection CertStores, JavaPolicy Poli cy; JavaLoginConfig Configuration)<br>
org.apache.commons.httpclient.HttpClient - SunRsaSign 1.7: Sun RSA signature provider<br>org.apache.commons.httpclient.HttpClient - SunJSSE 1.6: Sun JSSE provider(PKCS12, SunX509 key/trust factories, SSLv3, TLSv1)<br>org.apache.commons.httpclient.HttpClient - SunJCE 1.7: SunJCE Provider (implements RSA, DES, Triple DES, AES, Blowfish, ARCFOUR, RC2, PBE, Diffie-Hellman, HMAC)<br>
org.apache.commons.httpclient.HttpClient - SunJGSS 1.0: Sun (Kerberos v5, SPNEGO)<br>org.apache.commons.httpclient.HttpClient - SunSASL 1.5: Sun SASL provider(implements client mechanisms for: DIGEST-MD5, GSSAPI, E XTERNAL, PLAIN, CRAM-MD5; server mechanisms for: DIGEST-MD5, GSSAPI, CRAM-MD5)<br>
org.apache.commons.httpclient.HttpClient - XMLDSig 1.0: XMLDSig (DOM XMLSignatureFactory; DOM KeyInfoFactory)<br>org.apache.commons.httpclient.HttpClient - SunPCSC 1.6: Sun PC/SC provider<br>org.apache.commons.httpclient.params.DefaultHttpParams - Set parameter http.connection.timeout = 5000<br>
org.apache.commons.httpclient.params.DefaultHttpParams - Set parameter http.socket.timeout = 5000<br>org.apache.commons.httpclient.params.DefaultHttpParams - Set parameter http.connection-manager.max-per-host = {HostConfiguration[ ]=100}<br>
org.apache.commons.httpclient.params.DefaultHttpParams - Set parameter http.connection-manager.max-total = 200<br>org.apache.commons.httpclient.params.DefaultHttpParams - Set parameter http.protocol.allow-circular-redirects = true<br>
org.apache.commons.httpclient.params.DefaultHttpParams - Set parameter http.protocol.max-redirects = 20<br>org.apache.commons.httpclient.params.DefaultHttpParams - Set parameter http.useragent = Validator.nu/LV<br>nu.validator.servlet.VerifierServletTransaction - Starting static initializer.<br>
nu.validator.servlet.VerifierServletTransaction - Starting to loop over config file lines.<br>nu.validator.servlet.VerifierServletTransaction - Finished reading config.<br>nu.validator.servlet.VerifierServletTransaction - Converted config to arrays.<br>
nu.validator.servlet.VerifierServletTransaction - Prepared namespace array.<br>nu.validator.servlet.VerifierServletTransaction - Parsed doctype numbers into ints.<br>nu.validator.servlet.VerifierServletTransaction - The cache path prefix is: null<br>
nu.validator.servlet.VerifierServletTransaction - Parsing set up. Starting to read schemas.<br>nu.validator.servlet.VerifierServletTransaction - Will load schema: <a href="http://s.validator.nu/html5.rnc">http://s.validator.nu/html5.rnc</a><br>
nu.validator.servlet.VerifierServletTransaction - Will load schema: <a href="http://s.validator.nu/html5-rdfalite.rnc">http://s.validator.nu/html5-rdfalite.rnc</a><br>nu.validator.servlet.VerifierServletTransaction - Will load schema: <a href="http://s.validator.nu/xhtml10/xhtml-strict.rnc">http://s.validator.nu/xhtml10/xhtml-strict.rnc</a><br>
nu.validator.servlet.VerifierServletTransaction - Will load schema: <a href="http://s.validator.nu/xhtml10/xhtml.sch">http://s.validator.nu/xhtml10/xhtml.sch</a><br>nu.validator.servlet.VerifierServletTransaction - Will load schema: <a href="http://s.validator.nu/xhtml10/xhtml-transitional.rnc">http://s.validator.nu/xhtml10/xhtml-transitional.rnc</a><br>
nu.validator.servlet.VerifierServletTransaction - Will load schema: <a href="http://s.validator.nu/xhtml10/xhtml-frameset.rnc">http://s.validator.nu/xhtml10/xhtml-frameset.rnc</a><br>nu.validator.servlet.VerifierServletTransaction - Will load schema: <a href="http://s.validator.nu/xhtml5.rnc">http://s.validator.nu/xhtml5.rnc</a><br>
nu.validator.servlet.VerifierServletTransaction - Will load schema: <a href="http://s.validator.nu/xhtml5-rdfalite.rnc">http://s.validator.nu/xhtml5-rdfalite.rnc</a><br>nu.validator.servlet.VerifierServletTransaction - Will load schema: <a href="http://s.validator.nu/xhtml1-ruby-rdf-svg-mathml.rnc">http://s.validator.nu/xhtml1-ruby-rdf-svg-mathml.rnc</a><br>
nu.validator.servlet.VerifierServletTransaction - Will load schema: <a href="http://s.validator.nu/svg-xhtml5-rdf-mathml.rnc">http://s.validator.nu/svg-xhtml5-rdf-mathml.rnc</a><br>nu.validator.servlet.VerifierServletTransaction - Schemas read.<br>
nu.validator.servlet.VerifierServletTransaction - Reading spec.<br>nu.validator.servlet.VerifierServletTransaction - Spec read.<br>nu.validator.servlet.VerifierServletTransaction - Initialization complete.<br>2012-04-18 16:13:51.647:INFO::jetty-6.1.26<br>
2012-04-18 16:13:51.748:INFO::Started <a href="http://SocketConnector@0.0.0.0:80">SocketConnector@0.0.0.0:80</a><br><br>Is there any obvious problem in any of that?<br><br>Telnet voodoo tells us that running "GET / HTTP/1.0" and hitting <ENTER> twice should throw back some basic html such as<br>
<br><!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"><br><html><head><br><title>302 Found</title><br></head><body><br><h1>Found</h1> and so forth ...<br><br>
but in the case of the servlet, nothing whatsoever comes back. Please let me know if you have any ideas, otherwise I will see what tcpdump has to say.<br><br><br><br><br><div class="gmail_quote">On 18 April 2012 15:09, Michael[tm] Smith <span dir="ltr"><<a href="mailto:mike@w3.org">mike@w3.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Rancid Iodine <<a href="mailto:rancid.iodine@gmail.com">rancid.iodine@gmail.com</a>>, 2012-04-18 14:03 +0100:<br>
<div class="im"><br>
> python build/build.py --port=80 --local run &<br>
><br>
> We can see it's listening:<br>
><br>
> [root@vp-w3c-validator12 tmp]# netstat -ltunp | grep 80<br>
> tcp 0 0 :::80 :::*<br>
> LISTEN 4402/java<br>
><br>
> Even so, I am encountering the same problem as before: although it's<br>
> possible to telnet to port 80 on this host from wherever (btw I run the<br>
> servlet on port 80 as it's the "generally open" port in our network), it's<br>
> still not possible to browse port 80 on this host, not even from the local<br>
> machine using any command line browser like lynx, links or w3m.<br>
<br>
</div>I have never observed this problem and I have no idea what might be causing it.<br>
<br>
You can get some additional debug info that might help, by editing the<br>
validator/log4j.properties file and making these changes:<br>
<br>
-<a href="http://log4j.logger.org" target="_blank">log4j.logger.org</a>=WARN<br>
+<a href="http://log4j.logger.org" target="_blank">log4j.logger.org</a>=DEBUG<br>
<br>
-log4j.logger.nu.validator.servlet.VerifierServlet=FATAL<br>
+log4j.logger.nu.validator.servlet.VerifierServlet=DEBUG<br>
<br>
Beyond that, I'm stumped.<br>
<div class="HOEnZb"><div class="h5"><br>
--Mike<br>
<br>
--<br>
Michael[tm] Smith <a href="http://people.w3.org/mike" target="_blank">http://people.w3.org/mike</a><br>
</div></div></blockquote></div><br>