Hi Mike, <br><br>Following your advice to build the service using "python build/build.py --local run", I was pleased to find this does indeed initialise a service on the default port 8888.<br><br>It's possible to telnet to this service on that port (or indeed whatever other port xxx I make the servlet run on using "python build/build --port=xxx --local run "), but the markup validator "front end" seems to have a problem talking to the servlet.<br>

<br>The problem is seen to be a "504 gateway timeout" according to the markup validator, and shown thus:<br><br><span class="msg">External Checker not available</span>
    <p>
      Checking the Document Type of this document requires the help of an external tool which was either not enabled
      in this validator, or is currently unavailable. Check in the validator's system configuration 
      that HTML5 Validator is enabled and functional.
    </p>
    
    <p>
      The error encountered was:
      <code>504 Gateway Time-out</code><br></p><p>The actual servlet process looks like this:</p>[root@vp-w3c-validator12 config]# ps -ef | grep 4244<br>root      4244  4235  1 17:15 pts/1    00:00:09 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:./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:./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.jar:./dependencies/apache-log4j-1.2.15/log4j-1.2.15.jar:./dependencies/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.jar:./jars/htmlparser.jar:./jars/hs-aelfred2.jar:./jars/html5-datatypes.jar:./jars/validator.jar:jing-trang/build/jing.jar -Dnu.validator.servlet.log4j-properties=validator/log4j.properties -Dnu.validator.servlet.version=3 -Dnu.validator.servlet.service-name=Validator.nu -Dorg.whattf.datatype.lang-registry=file:local-entities/<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/assignments/character-sets">www.iana.org/assignments/character-sets</a> -Dorg.whattf.datatype.warn=true -Dnu.validator.servlet.about-page=<a href="http://about.validator.nu/">http://about.validator.nu/</a> -Dnu.validator.servlet.style-sheet=style.css -Dnu.validator.servlet.icon=icon.png -Dnu.validator.servlet.script=script.js -Dnu.validator.spec.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.validator.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.validator.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= -Dnu.validator.servlet.host.html5= -Dnu.validator.servlet.host.parsetree= -Dnu.validator.servlet.path.generic=/ -Dnu.validator.servlet.path.html5=/html5/ -Dnu.validator.servlet.path.parsetree=/parsetree/ -Dnu.validator.servlet.path.about=./validator/site/ nu.validator.servlet.Main 8888<br>
<br>The relevant entries in the validator.conf are:<br><br><External><br>HTML5 = <a href="http://localhost:8888/html5/">http://localhost:8888/html5/</a><br>CompoundXML = <a href="http://localhost:8888/">http://localhost:8888/</a><br>
</External><br><br>I'm not quite sure what's going wrong here. Does anyone have any experience of this?<br><br>Thanks for your comments,<br><br>Andrei<br><br><div class="gmail_quote">On 29 March 2012 17:17, Michael[tm] Smith <span dir="ltr"><<a href="mailto:mike@w3.org" target="_blank">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">
Please try "python build/build.py --local run"<br>
<br>
  --Mike<br>
<br>
Rancid Iodine <<a href="mailto:rancid.iodine@gmail.com" target="_blank">rancid.iodine@gmail.com</a>>, 2012-03-29 17:11 +0100:<br>
<div><div><br>
> I ran<br>
><br>
> python build/build.py --local all<br>
><br>
> but still end up getting the timeouts after "BUILD SUCCESSFUL".<br>
><br>
> The 1st time is here:<br>
><br>
> "java" -classpath<br>
> ./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:./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.jar:./dependencies/apache-log4j-1.2.15/log4j-1.2.15.jar:./dependencies/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:./dependencies/jsontools-core-1.5.jar:./dependencies/antlr.jar:./dependencies/xom-1.1.jar:./dependencies/junit-4.4.jar:./dependencies/apache-ant-1.7.0/lib/ant.jar:./dependencies/apache-ant-1.7.0/lib/ant-launcher.jar:./jars/non-schema.jar:./jars/io-xml-util.jar:./jars/htmlparser.jar:./jars/hs-aelfred2.jar:./jars/html5-datatypes.jar:./jars/test-harness.jar:jing-trang/build/jing.jar<br>



> org.whattf.syntax.Driver<br>
> Exception in thread "main" java.lang.ExceptionInInitializerError<br>
>         at<br>
> org.whattf.datatype.Html5DatatypeLibrary.createDatatype(Html5DatatypeLibrary.java:134)<br>
>         at<br>
> org.whattf.datatype.Html5DatatypeLibrary.createDatatypeBuilder(Html5DatatypeLibrary.java:52)<br>
>         at<br>
> com.thaiopensource.relaxng.impl.SchemaBuilderImpl.makeDataPatternBuilder(Unknown<br>
> Source)<br>
>         at<br>
> com.thaiopensource.relaxng.parse.compact.CompactSyntax.DataExpr(Unknown<br>
> Source)<br>
>         at<br>
> com.thaiopensource.relaxng.parse.compact.CompactSyntax.PrimaryExpr(Unknown<br>
> Source)<br>
>         at<br>
> com.thaiopensource.relaxng.parse.compact.CompactSyntax.AnnotatedPrimaryExpr(Unknown<br>
> Source)<br>
>         at<br>
> com.thaiopensource.relaxng.parse.compact.CompactSyntax.UnaryExpr(Unknown<br>
> Source)<br>
>         at<br>
> com.thaiopensource.relaxng.parse.compact.CompactSyntax.Expr(Unknown Source)<br>
>         at<br>
> com.thaiopensource.relaxng.parse.compact.CompactSyntax.Define(Unknown<br>
> Source)<br>
>         at<br>
> com.thaiopensource.relaxng.parse.compact.CompactSyntax.Definition(Unknown<br>
> Source)<br>
>         at<br>
> com.thaiopensource.relaxng.parse.compact.CompactSyntax.GrammarComponent(Unknown<br>
> Source)<br>
>         at<br>
> com.thaiopensource.relaxng.parse.compact.CompactSyntax.GrammarBody(Unknown<br>
> Source)<br>
>         at<br>
> com.thaiopensource.relaxng.parse.compact.CompactSyntax.IncludedGrammar(Unknown<br>
> Source)<br>
>         at<br>
> com.thaiopensource.relaxng.parse.compact.CompactSyntax.parseInclude(Unknown<br>
> Source)<br>
>         at<br>
> com.thaiopensource.relaxng.parse.compact.CompactParseable.parseAsInclude(Unknown<br>
> Source)<br>
>         at<br>
> com.thaiopensource.relaxng.impl.SchemaBuilderImpl$IncludeImpl.endInclude(Unknown<br>
> Source)<br>
>         at<br>
> com.thaiopensource.relaxng.parse.compact.CompactSyntax.Include(Unknown<br>
> Source)<br>
>         at<br>
> com.thaiopensource.relaxng.parse.compact.CompactSyntax.GrammarComponent(Unknown<br>
> Source)<br>
>         at<br>
> com.thaiopensource.relaxng.parse.compact.CompactSyntax.GrammarBody(Unknown<br>
> Source)<br>
>         at<br>
> com.thaiopensource.relaxng.parse.compact.CompactSyntax.TopLevelGrammar(Unknown<br>
> Source)<br>
>         at<br>
> com.thaiopensource.relaxng.parse.compact.CompactSyntax.Input(Unknown Source)<br>
>         at<br>
> com.thaiopensource.relaxng.parse.compact.CompactSyntax.parse(Unknown Source)<br>
>         at<br>
> com.thaiopensource.relaxng.parse.compact.CompactParseable.parse(Unknown<br>
> Source)<br>
>         at com.thaiopensource.relaxng.impl.SchemaBuilderImpl.parse(Unknown<br>
> Source)<br>
>         at<br>
> com.thaiopensource.relaxng.impl.SchemaReaderImpl.createSchema(Unknown<br>
> Source)<br>
>         at<br>
> com.thaiopensource.validate.AbstractSchemaReader.createSchema(Unknown<br>
> Source)<br>
>         at org.whattf.syntax.Driver.schemaByFilename(Driver.java:122)<br>
>         at org.whattf.syntax.Driver.checkDirectory(Driver.java:202)<br>
>         at org.whattf.syntax.Driver.check(Driver.java:264)<br>
>         at org.whattf.syntax.Driver.main(Driver.java:296)<br>
> Caused by: java.lang.RuntimeException: java.net.ConnectException:<br>
> Connection timed out<br>
>         at org.whattf.datatype.Charset.<clinit>(Charset.java:50)<br>
>         ... 30 more<br>
><br>
><br>
> On 29 March 2012 16:51, Michael[tm] Smith <<a href="mailto:mike@w3.org" target="_blank">mike@w3.org</a>> wrote:<br>
><br>
> > Rancid Iodine <<a href="mailto:rancid.iodine@gmail.com" target="_blank">rancid.iodine@gmail.com</a>>, 2012-03-29 16:44 +0100:<br>
> ><br>
> > > Even so, the java (post- "BUILD SUCCESSFUL") compilation part of the<br>
> > build<br>
> > > procedure would still have the problem getting through our firewall/proxy<br>
> > > which I mentioned before, would it not?<br>
> ><br>
> > You should not have that problem if you run the build script with the<br>
> > "--local" option.<br>
> ><br>
> >  --Mike<br>
> ><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>