Re: [jira] [Commented] (JENA-499) fuseki-server command does not accept --host argument
On 04/09/13 09:08, Danny Ayers wrote: I /may/ have a use case for using a specific IP address. Running on OpenShift hosting, as far as I can tell the only available IP is provided by an environment variable. This can be supplied in jetty.xml, as in [1] : ... ... There is --port for the command line. By default, Fuseki listens on all interfaces for the port -- does that cause a specific problem on OpenShift? We run with port blocking (on AWS) with only 22, 80, and 443 open (and some specific point-to-point for monitoring: e.g. ganglia and nagios). Fuseki listens on 3030 and hence only hears localhost. We don't use --locaalhost; it's not needed. Without this, command-line startup from the latest Fuseki release gets a Permission denied (I've not tried the --localhost option yet, svn is downloading as I type). Is the error message illuminating? You can download a build - https://repository.apache.org/content/groups/snapshots/org/apache/jena/jena-fuseki/1.0.0-SNAPSHOT/ but if you are on a slowish link by being half way up a mountain, then a grab of SVN, maven caching and local builds off increments may save you bandwidth. What I'm aiming for is essentially the same as the Fuseki-behind-Apache setup, though using some node.js stuff rather than Apache (with Fuseki running on port 15000 to hide it). Cheers, Danny. Andy [1] https://github.com/semfact/openshift-fuseki/blob/master/conf/jetty.xml On 8 August 2013 21:41, Andy Seaborne (JIRA) wrote: [ https://issues.apache.org/jira/browse/JENA-499?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13733888#comment-13733888] Andy Seaborne commented on JENA-499: http://jena.staging.apache.org/ is already updated. Presumably, you have both v4 and v6 running. The Fuseki code sets host "localhost" to name the interface -- that should return some 127.?.?.? block address (for IPv4) or ::1 (IPv6). I don't see ATM how to do both. What's your machine setup? What does "dig localhost" / "nslookup localhost" return? fuseki-server command does not accept --host argument - Key: JENA-499 URL: https://issues.apache.org/jira/browse/JENA-499 Project: Apache Jena Issue Type: Bug Components: Fuseki Affects Versions: Fuseki 0.2.7 Environment: Mac OS 10.7.5 java version "1.6.0_35" Java(TM) SE Runtime Environment (build 1.6.0_35-b10-428-11G63) Java HotSpot(TM) 64-Bit Server VM (build 20.10-b01-428, mixed mode) Reporter: Nicholas Humfrey Assignee: Andy Seaborne Fix For: Fuseki 0.2.8 The Fuseki command line help describes at the {{--host}} argument is supported: {noformat} fuseki-server --help fuseki [--config=FILE] [--mem|--desc=AssemblerFile|--file=FILE] [--port PORT] [--host HOST] /DatasetPathName {noformat} But when trying to use it I get an error: {noformat} ~ $ fuseki-server --port 8080 --host 127.0.0.1 --mem /data Unknown argument: host {noformat} The {{--host}} argument is also documented here: http://jena.apache.org/documentation/serving_data/#running-a-fuseki-server -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
Re: [jira] [Commented] (JENA-499) fuseki-server command does not accept --host argument
I /may/ have a use case for using a specific IP address. Running on OpenShift hosting, as far as I can tell the only available IP is provided by an environment variable. This can be supplied in jetty.xml, as in [1] : ... ... Without this, command-line startup from the latest Fuseki release gets a Permission denied (I've not tried the --localhost option yet, svn is downloading as I type). What I'm aiming for is essentially the same as the Fuseki-behind-Apache setup, though using some node.js stuff rather than Apache (with Fuseki running on port 15000 to hide it). Cheers, Danny. [1] https://github.com/semfact/openshift-fuseki/blob/master/conf/jetty.xml On 8 August 2013 21:41, Andy Seaborne (JIRA) wrote: > > [ > https://issues.apache.org/jira/browse/JENA-499?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13733888#comment-13733888] > > Andy Seaborne commented on JENA-499: > > > http://jena.staging.apache.org/ is already updated. > > Presumably, you have both v4 and v6 running. > > The Fuseki code sets host "localhost" to name the interface -- that should > return some 127.?.?.? block address (for IPv4) or ::1 (IPv6). I don't see > ATM how to do both. > > What's your machine setup? What does "dig localhost" / "nslookup > localhost" return? > > > > fuseki-server command does not accept --host argument > > - > > > > Key: JENA-499 > > URL: https://issues.apache.org/jira/browse/JENA-499 > > Project: Apache Jena > > Issue Type: Bug > > Components: Fuseki > >Affects Versions: Fuseki 0.2.7 > > Environment: Mac OS 10.7.5 > > java version "1.6.0_35" > > Java(TM) SE Runtime Environment (build 1.6.0_35-b10-428-11G63) > > Java HotSpot(TM) 64-Bit Server VM (build 20.10-b01-428, mixed mode) > >Reporter: Nicholas Humfrey > >Assignee: Andy Seaborne > > Fix For: Fuseki 0.2.8 > > > > > > The Fuseki command line help describes at the {{--host}} argument is > supported: > > {noformat} > > fuseki-server --help > > fuseki [--config=FILE] [--mem|--desc=AssemblerFile|--file=FILE] [--port > PORT] [--host HOST] /DatasetPathName > > {noformat} > > But when trying to use it I get an error: > > {noformat} > > ~ $ fuseki-server --port 8080 --host 127.0.0.1 --mem /data > > Unknown argument: host > > {noformat} > > The {{--host}} argument is also documented here: > > > http://jena.apache.org/documentation/serving_data/#running-a-fuseki-server > > -- > This message is automatically generated by JIRA. > If you think it was sent incorrectly, please contact your JIRA > administrators > For more information on JIRA, see: http://www.atlassian.com/software/jira > -- http://dannyayers.com http://webbeep.it - text to tones and back again
[jira] [Commented] (JENA-499) fuseki-server command does not accept --host argument
[ https://issues.apache.org/jira/browse/JENA-499?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13733888#comment-13733888 ] Andy Seaborne commented on JENA-499: http://jena.staging.apache.org/ is already updated. Presumably, you have both v4 and v6 running. The Fuseki code sets host "localhost" to name the interface -- that should return some 127.?.?.? block address (for IPv4) or ::1 (IPv6). I don't see ATM how to do both. What's your machine setup? What does "dig localhost" / "nslookup localhost" return? > fuseki-server command does not accept --host argument > - > > Key: JENA-499 > URL: https://issues.apache.org/jira/browse/JENA-499 > Project: Apache Jena > Issue Type: Bug > Components: Fuseki >Affects Versions: Fuseki 0.2.7 > Environment: Mac OS 10.7.5 > java version "1.6.0_35" > Java(TM) SE Runtime Environment (build 1.6.0_35-b10-428-11G63) > Java HotSpot(TM) 64-Bit Server VM (build 20.10-b01-428, mixed mode) >Reporter: Nicholas Humfrey >Assignee: Andy Seaborne > Fix For: Fuseki 0.2.8 > > > The Fuseki command line help describes at the {{--host}} argument is > supported: > {noformat} > fuseki-server --help > fuseki [--config=FILE] [--mem|--desc=AssemblerFile|--file=FILE] [--port PORT] > [--host HOST] /DatasetPathName > {noformat} > But when trying to use it I get an error: > {noformat} > ~ $ fuseki-server --port 8080 --host 127.0.0.1 --mem /data > Unknown argument: host > {noformat} > The {{--host}} argument is also documented here: > http://jena.apache.org/documentation/serving_data/#running-a-fuseki-server -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (JENA-499) fuseki-server command does not accept --host argument
[ https://issues.apache.org/jira/browse/JENA-499?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13733839#comment-13733839 ] Nicholas Humfrey commented on JENA-499: --- Just noticed that with IPv6 enabled, the --localhost argument doesn't bind to ::1 as well as 127.0.0.1 Also, it would be good to remove the documentation for the --host argument from this page: http://jena.apache.org/documentation/serving_data/ > fuseki-server command does not accept --host argument > - > > Key: JENA-499 > URL: https://issues.apache.org/jira/browse/JENA-499 > Project: Apache Jena > Issue Type: Bug > Components: Fuseki >Affects Versions: Fuseki 0.2.7 > Environment: Mac OS 10.7.5 > java version "1.6.0_35" > Java(TM) SE Runtime Environment (build 1.6.0_35-b10-428-11G63) > Java HotSpot(TM) 64-Bit Server VM (build 20.10-b01-428, mixed mode) >Reporter: Nicholas Humfrey >Assignee: Andy Seaborne > Fix For: Fuseki 0.2.8 > > > The Fuseki command line help describes at the {{--host}} argument is > supported: > {noformat} > fuseki-server --help > fuseki [--config=FILE] [--mem|--desc=AssemblerFile|--file=FILE] [--port PORT] > [--host HOST] /DatasetPathName > {noformat} > But when trying to use it I get an error: > {noformat} > ~ $ fuseki-server --port 8080 --host 127.0.0.1 --mem /data > Unknown argument: host > {noformat} > The {{--host}} argument is also documented here: > http://jena.apache.org/documentation/serving_data/#running-a-fuseki-server -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (JENA-499) fuseki-server command does not accept --host argument
[ https://issues.apache.org/jira/browse/JENA-499?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13731811#comment-13731811 ] Nicholas Humfrey commented on JENA-499: --- Tested and correctly binding to 127.0.0.1 when --localhost argument given. > fuseki-server command does not accept --host argument > - > > Key: JENA-499 > URL: https://issues.apache.org/jira/browse/JENA-499 > Project: Apache Jena > Issue Type: Bug > Components: Fuseki >Affects Versions: Fuseki 0.2.7 > Environment: Mac OS 10.7.5 > java version "1.6.0_35" > Java(TM) SE Runtime Environment (build 1.6.0_35-b10-428-11G63) > Java HotSpot(TM) 64-Bit Server VM (build 20.10-b01-428, mixed mode) >Reporter: Nicholas Humfrey >Assignee: Andy Seaborne > Fix For: Fuseki 0.2.8 > > > The Fuseki command line help describes at the {{--host}} argument is > supported: > {noformat} > fuseki-server --help > fuseki [--config=FILE] [--mem|--desc=AssemblerFile|--file=FILE] [--port PORT] > [--host HOST] /DatasetPathName > {noformat} > But when trying to use it I get an error: > {noformat} > ~ $ fuseki-server --port 8080 --host 127.0.0.1 --mem /data > Unknown argument: host > {noformat} > The {{--host}} argument is also documented here: > http://jena.apache.org/documentation/serving_data/#running-a-fuseki-server -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (JENA-499) fuseki-server command does not accept --host argument
[ https://issues.apache.org/jira/browse/JENA-499?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13728978#comment-13728978 ] Andy Seaborne commented on JENA-499: Tonight's development build will have this in. Please let us know if it works for you. > fuseki-server command does not accept --host argument > - > > Key: JENA-499 > URL: https://issues.apache.org/jira/browse/JENA-499 > Project: Apache Jena > Issue Type: Bug > Components: Fuseki >Affects Versions: Fuseki 0.2.7 > Environment: Mac OS 10.7.5 > java version "1.6.0_35" > Java(TM) SE Runtime Environment (build 1.6.0_35-b10-428-11G63) > Java HotSpot(TM) 64-Bit Server VM (build 20.10-b01-428, mixed mode) >Reporter: Nicholas Humfrey > > The Fuseki command line help describes at the {{--host}} argument is > supported: > {noformat} > fuseki-server --help > fuseki [--config=FILE] [--mem|--desc=AssemblerFile|--file=FILE] [--port PORT] > [--host HOST] /DatasetPathName > {noformat} > But when trying to use it I get an error: > {noformat} > ~ $ fuseki-server --port 8080 --host 127.0.0.1 --mem /data > Unknown argument: host > {noformat} > The {{--host}} argument is also documented here: > http://jena.apache.org/documentation/serving_data/#running-a-fuseki-server -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (JENA-499) fuseki-server command does not accept --host argument
[ https://issues.apache.org/jira/browse/JENA-499?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13728974#comment-13728974 ] ASF subversion and git services commented on JENA-499: -- Commit 1510330 from [~andy.seaborne] in branch 'site/trunk' [ https://svn.apache.org/r1510330 ] JENA-499 : Description of --localhost > fuseki-server command does not accept --host argument > - > > Key: JENA-499 > URL: https://issues.apache.org/jira/browse/JENA-499 > Project: Apache Jena > Issue Type: Bug > Components: Fuseki >Affects Versions: Fuseki 0.2.7 > Environment: Mac OS 10.7.5 > java version "1.6.0_35" > Java(TM) SE Runtime Environment (build 1.6.0_35-b10-428-11G63) > Java HotSpot(TM) 64-Bit Server VM (build 20.10-b01-428, mixed mode) >Reporter: Nicholas Humfrey > > The Fuseki command line help describes at the {{--host}} argument is > supported: > {noformat} > fuseki-server --help > fuseki [--config=FILE] [--mem|--desc=AssemblerFile|--file=FILE] [--port PORT] > [--host HOST] /DatasetPathName > {noformat} > But when trying to use it I get an error: > {noformat} > ~ $ fuseki-server --port 8080 --host 127.0.0.1 --mem /data > Unknown argument: host > {noformat} > The {{--host}} argument is also documented here: > http://jena.apache.org/documentation/serving_data/#running-a-fuseki-server -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (JENA-499) fuseki-server command does not accept --host argument
[ https://issues.apache.org/jira/browse/JENA-499?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13728973#comment-13728973 ] Hudson commented on JENA-499: - SUCCESS: Integrated in Jena_Development_Test #806 (See [https://builds.apache.org/job/Jena_Development_Test/806/]) JENA-499 : Add --localhost to have the server only listen to the loopback interface. (andy: rev 1510329) * /jena/trunk/jena-fuseki/ReleaseNotes.txt * /jena/trunk/jena-fuseki/pom.xml * /jena/trunk/jena-fuseki/src/main/java/org/apache/jena/fuseki/FusekiCmd.java * /jena/trunk/jena-fuseki/src/main/java/org/apache/jena/fuseki/server/FusekiConfig.java * /jena/trunk/jena-fuseki/src/main/java/org/apache/jena/fuseki/server/SPARQLServer.java * /jena/trunk/jena-fuseki/src/main/java/org/apache/jena/fuseki/server/ServerConfig.java * /jena/trunk/jena-fuseki/src/test/java/org/apache/jena/fuseki/ServerTest.java * /jena/trunk/jena-fuseki/src/test/java/org/apache/jena/fuseki/TestAuth.java > fuseki-server command does not accept --host argument > - > > Key: JENA-499 > URL: https://issues.apache.org/jira/browse/JENA-499 > Project: Apache Jena > Issue Type: Bug > Components: Fuseki >Affects Versions: Fuseki 0.2.7 > Environment: Mac OS 10.7.5 > java version "1.6.0_35" > Java(TM) SE Runtime Environment (build 1.6.0_35-b10-428-11G63) > Java HotSpot(TM) 64-Bit Server VM (build 20.10-b01-428, mixed mode) >Reporter: Nicholas Humfrey > > The Fuseki command line help describes at the {{--host}} argument is > supported: > {noformat} > fuseki-server --help > fuseki [--config=FILE] [--mem|--desc=AssemblerFile|--file=FILE] [--port PORT] > [--host HOST] /DatasetPathName > {noformat} > But when trying to use it I get an error: > {noformat} > ~ $ fuseki-server --port 8080 --host 127.0.0.1 --mem /data > Unknown argument: host > {noformat} > The {{--host}} argument is also documented here: > http://jena.apache.org/documentation/serving_data/#running-a-fuseki-server -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (JENA-499) fuseki-server command does not accept --host argument
[ https://issues.apache.org/jira/browse/JENA-499?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13728972#comment-13728972 ] ASF subversion and git services commented on JENA-499: -- Commit 1510329 from [~andy.seaborne] in branch 'jena/trunk' [ https://svn.apache.org/r1510329 ] JENA-499 : Add --localhost to have the server only listen to the loopback interface. > fuseki-server command does not accept --host argument > - > > Key: JENA-499 > URL: https://issues.apache.org/jira/browse/JENA-499 > Project: Apache Jena > Issue Type: Bug > Components: Fuseki >Affects Versions: Fuseki 0.2.7 > Environment: Mac OS 10.7.5 > java version "1.6.0_35" > Java(TM) SE Runtime Environment (build 1.6.0_35-b10-428-11G63) > Java HotSpot(TM) 64-Bit Server VM (build 20.10-b01-428, mixed mode) >Reporter: Nicholas Humfrey > > The Fuseki command line help describes at the {{--host}} argument is > supported: > {noformat} > fuseki-server --help > fuseki [--config=FILE] [--mem|--desc=AssemblerFile|--file=FILE] [--port PORT] > [--host HOST] /DatasetPathName > {noformat} > But when trying to use it I get an error: > {noformat} > ~ $ fuseki-server --port 8080 --host 127.0.0.1 --mem /data > Unknown argument: host > {noformat} > The {{--host}} argument is also documented here: > http://jena.apache.org/documentation/serving_data/#running-a-fuseki-server -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (JENA-499) fuseki-server command does not accept --host argument
[ https://issues.apache.org/jira/browse/JENA-499?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13728965#comment-13728965 ] Nicholas Humfrey commented on JENA-499: --- Hi Andy, Yes, I was expecting it to bind to a specific IP address, rather than do some kind of name based virtual hosting. My use-case is indeed to ensure that the store is only accessible from the local machine and not bind to all available IP addresses. Having Apache acting as a reverse-proxy in front of another HTTP server is something I do quite a lot. nick. > fuseki-server command does not accept --host argument > - > > Key: JENA-499 > URL: https://issues.apache.org/jira/browse/JENA-499 > Project: Apache Jena > Issue Type: Bug > Components: Fuseki >Affects Versions: Fuseki 0.2.7 > Environment: Mac OS 10.7.5 > java version "1.6.0_35" > Java(TM) SE Runtime Environment (build 1.6.0_35-b10-428-11G63) > Java HotSpot(TM) 64-Bit Server VM (build 20.10-b01-428, mixed mode) >Reporter: Nicholas Humfrey > > The Fuseki command line help describes at the {{--host}} argument is > supported: > {noformat} > fuseki-server --help > fuseki [--config=FILE] [--mem|--desc=AssemblerFile|--file=FILE] [--port PORT] > [--host HOST] /DatasetPathName > {noformat} > But when trying to use it I get an error: > {noformat} > ~ $ fuseki-server --port 8080 --host 127.0.0.1 --mem /data > Unknown argument: host > {noformat} > The {{--host}} argument is also documented here: > http://jena.apache.org/documentation/serving_data/#running-a-fuseki-server -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (JENA-499) fuseki-server command does not accept --host argument
[ https://issues.apache.org/jira/browse/JENA-499?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13728814#comment-13728814 ] Andy Seaborne commented on JENA-499: The {{--host}} argument is misnamed (it does not listen to one host - it listens to the interface for that IP address). It's commented out of the Fuseki code Do you have a use case for it? It could be restored with a better name. Generally, Fuseki does not try to to provide security features (in the broad sense), but rather replies on the deployment environment. e.g. run on a server with only port 80 available, run Apache httpd on that port and proxy to Fuseki. There are many features needed so getting them delivered by a system specializing in that seems better. The one case that does make sense is only talking to the localhost. e.g. an argument {{--localhost}} (and no argument). > fuseki-server command does not accept --host argument > - > > Key: JENA-499 > URL: https://issues.apache.org/jira/browse/JENA-499 > Project: Apache Jena > Issue Type: Bug > Components: Fuseki >Affects Versions: Fuseki 0.2.7 > Environment: Mac OS 10.7.5 > java version "1.6.0_35" > Java(TM) SE Runtime Environment (build 1.6.0_35-b10-428-11G63) > Java HotSpot(TM) 64-Bit Server VM (build 20.10-b01-428, mixed mode) >Reporter: Nicholas Humfrey > > The Fuseki command line help describes at the {{--host}} argument is > supported: > {noformat} > fuseki-server --help > fuseki [--config=FILE] [--mem|--desc=AssemblerFile|--file=FILE] [--port PORT] > [--host HOST] /DatasetPathName > {noformat} > But when trying to use it I get an error: > {noformat} > ~ $ fuseki-server --port 8080 --host 127.0.0.1 --mem /data > Unknown argument: host > {noformat} > The {{--host}} argument is also documented here: > http://jena.apache.org/documentation/serving_data/#running-a-fuseki-server -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira