- From: <jos.deroo@agfa.com>
- Date: Mon, 6 Nov 2006 21:06:44 +0100
- To: connolly@w3.org
- Cc: www-archive@w3.org
> On Mon, 2006-11-06 at 18:52 +0100, jos.deroo@agfa.com wrote: > > > > The euler5 prolog version is best run as RESTfull webservice > > (see again http://eulersharp.sourceforge.net/README) > > as it needs the euler1 java version to do the N3->YAP > > The doc says to make sure it's running on port 80, but > it starts on port 1024. Help? That happens indeed when not starting euler.Codd as root on linux. Hmm.. the default port is 80 and can be specified explicitly with java euler.Codd --port 80 --chatty 0 and when the port is not allowed, it retries port++ till it finds a port that is fine (1024 in your case). Port 80 is a convenience when working with reasoner argument uri's that are served via localhost, but I see that your example should also work as wget -q -O- http://localhost:1024/.euler5+http%3A%2F%2Flocalhost:1024%2F.euler%2B--prolog%2Bhttp%253A%252F%252Fwww.agfa.com%252Fw3c%252Feuler%252Fmedic.n3%2B--query%2Bhttp%253A%252F%252Fwww.agfa.com%252Fw3c%252Feuler%252FmedicF.n3 > connolly@dirk:~/src/euler-yapp$ java euler.Codd --chatty 0 > 6 Nov 2006 19:22:17 GMT http://dirk:1024/ Codd 1.5.35 > > [1]+ Stopped java euler.Codd --chatty 0 > connolly@dirk:~/src/euler-yapp$ bg > [1]+ java euler.Codd --chatty 0 & > connolly@dirk:~/src/euler-yapp$ wget -q -O- > http://localhost:1024/.euler5+http%3A%2F%2Flocalhost%2F.euler%2B--prolog > %2Bhttp%253A%252F%252Fwww.agfa.com%252Fw3c%252Feuler%252Fmedic.n3% > 2B--query%2Bhttp%253A%252F%252Fwww.agfa.com%252Fw3c%252Feuler% > 252FmedicF.n3 > 6 Nov 2006 19:22:23 GMT 127.0.0.1 [1] GET /.euler5+http%3A%2F% > 2Flocalhost%2F.euler%2B--prolog%2Bhttp%253A%252F%252Fwww.agfa.com% > 252Fw3c%252Feuler%252Fmedic.n3%2B--query%2Bhttp%253A%252F% > 252Fwww.agfa.com%252Fw3c%252Feuler%252FmedicF.n3 HTTP/1.0 > 6 Nov 2006 19:22:23 GMT 127.0.0.1 java.lang.RuntimeException: HTTP/1.0 > 404 Not Found > 6 Nov 2006 19:22:23 GMT 127.0.0.1 [1] java.lang.RuntimeException: > http://localhost/.euler+--prolog+http%3A%2F%2Fwww.agfa.com%2Fw3c%2Feuler > %2Fmedic.n3+--query+http%3A%2F%2Fwww.agfa.com%2Fw3c%2Feuler%2FmedicF.n3 > java.lang.RuntimeException: http://localhost/.euler+--prolog+http%3A%2F% > 2Fwww.agfa.com%2Fw3c%2Feuler%2Fmedic.n3+--query+http%3A%2F% > 2Fwww.agfa.com%2Fw3c%2Feuler%2FmedicF.n3 > at euler.Euler.fromWeb(Euler.java:1737) > at euler.Codd.run(Codd.java:337) > at java.lang.Thread.run(Unknown Source) -- Jos De Roo, AGFA http://www.agfa.com/w3c/jdroo/
Received on Monday, 6 November 2006 20:07:22 UTC