You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@jena.apache.org by Michael Wechner <mi...@wyona.com> on 2021/09/12 20:52:51 UTC
Re: Getting started with Jena Fuseki: export FUSEKI_HOME and
FUSEKI_BASE?
Hi Andy
I have created a patch
git diff main..set-fuseki_base
diff --git a/source/documentation/fuseki2/fuseki-quick-start.md
b/source/documentation/fuseki2/fuseki-quick-start.md
index fc8e12226..d3a1cb098 100644
--- a/source/documentation/fuseki2/fuseki-quick-start.md
+++ b/source/documentation/fuseki2/fuseki-quick-start.md
@@ -8,9 +8,10 @@ This page describes how to achieve certain common tasks
in the most direct way p
1. Unpack the distribution.
2. Copy the WAR file into the Apache tomcat webapp directory, under
the name 'fuseki'
-3. In a browser, go to
`[http://localhost:8080/fuseki/](http://localhost:8080/fuseki)` (details
such as port number depend on the Tomcat setup).
-4. Click on "Add one", choose "in-memory", choose a name for the URL
for the dataset.
-5. Go to "add data" and load the file (single graph).
+3. If the user under which Apache tomcat is running does not have write
access to `/etc`, then please make sure to set the environment variable
FUSEKI_BASE, whereas the value should be a directory where the user
running Apache tomcat is able to write to.
+4. In a browser, go to
`[http://localhost:8080/fuseki/](http://localhost:8080/fuseki)` (details
such as port number depend on the Tomcat setup).
+5. Click on "Add one", choose "in-memory", choose a name for the URL
for the dataset.
+6. Go to "add data" and load the file (single graph).
## Publish an RDF file as a SPARQL endpoint.
but since I do not have write access to the github repo I am not able to
create pull request
https://github.com/apache/jena-site/compare
Or should I fork the repo and make a pull request inside the fork?
Thanks
Michael
Am 30.08.21 um 16:27 schrieb Michael Wechner:
> Hi Andy
>
> Great, thanks, I will create a pull request.
>
> Thanks
>
> Michael
>
> Am 30.08.21 um 11:01 schrieb Andy Seaborne:
>>
>>
>> On 29/08/2021 13:26, Michael Wechner wrote:
>>> Hi Andy
>>>
>>> Thanks for your reply!
>>>
>>> Yes, the user "michaelwechner" I am using on MacOS under which
>>> Tomcat is running does not have write access to /etc.
>>>
>>> A hint on the quick start page re making sure to either have write
>>> access to /etc or set the env variables would be great.
>>>
>>> I would be happy to write such a hint, but I am not sure how to
>>> submit a patch for
>>>
>>> https://jena.apache.org/documentation/fuseki2/fuseki-quick-start.html
>>
>> That would be great.
>>
>> The website is in git (isn't everything?)
>>
>> https://github.com/apache/jena-site
>>
>> Andy
>>
>>>
>>> Thanks
>>>
>>> Michael
>>>
>>> Am 29.08.21 um 11:32 schrieb Andy Seaborne:
>>>> Hi Michael,
>>>>
>>>> Thanks for the feedback
>>>>
>>>> Presumably, the user under which Tomcat is running does not have
>>>> write access to /etc?
>>>>
>>>> Andy
>>>>
>>>> On 27/08/2021 17:02, Michael Wechner wrote:
>>>>> Hi
>>>>>
>>>>> I was trying to get Fuseki running on MacOS, whereas I followed
>>>>> the instructions at
>>>>>
>>>>> https://jena.apache.org/documentation/fuseki2/fuseki-quick-start.html
>>>>>
>>>>> but it did not work. I checked the Tomcat log files and saw the error
>>>>>
>>>>> [2021-08-27 17:58:23] Config INFO FUSEKI_HOME=unset
>>>>> [2021-08-27 17:58:23] Config INFO FUSEKI_BASE=/etc/fuseki
>>>>> [2021-08-27 17:58:23] Server ERROR Exception in server
>>>>> initialization
>>>>> org.apache.jena.fuseki.FusekiConfigException: Failed to create
>>>>> directory: /etc/fuseki
>>>>>
>>>>> So I created a directory
>>>>>
>>>>> /Users/michaelwechner/local/apache-jena-fuseki-4.1.0/fuseki_home/base
>>>>>
>>>>> and set
>>>>>
>>>>> export
>>>>> FUSEKI_HOME=/Users/michaelwechner/local/apache-jena-fuseki-4.1.0/fuseki_home
>>>>>
>>>>> export
>>>>> FUSEKI_BASE=/Users/michaelwechner/local/apache-jena-fuseki-4.1.0/fuseki_home/base
>>>>>
>>>>>
>>>>> Would it make sense to add this information to the quick start
>>>>> guide or am I the only one experiencing this problem during setup?
>>>>>
>>>>> Thanks
>>>>>
>>>>> Michael
>>>
>
Re: Getting started with Jena Fuseki: export FUSEKI_HOME and
FUSEKI_BASE?
Posted by Andy Seaborne <an...@apache.org>.
Hi Michael,
On 13/09/2021 06:33, Michael Wechner wrote:
> done :-)
>
> https://github.com/apache/jena-site/pull/67
>
> Anything else?
>
> Btw, on the following page dev@jira is mentioned
>
> https://jena.apache.org/getting_involved/index.html
>
> pointing to
>
> https://jena.apache.org/help_and_support/
>
> but on this page only users and dev mailing lists are mentioned and
> nothing about jira. Do I misunderstand something?
Thanks for that and the PR.
JIRA is not ideal for question-answer discussions - it is nice to be
able to close tickets when no further work is needed. The questions we
get that route don't get discussion from the reporter and the ticket
just hangs in the air. JIRA is more the place to record changes.
For help & support, email provides a searchable archive.
And StackOverflow!
Andy
>
> Thanks
>
> Michael
>
>
>
> Am 13.09.21 um 01:45 schrieb Bruno P. Kinoshita:
>> >Or should I fork the repo and make a pull request inside the fork?
>> You should fork and make a pull request, please. That way a committer
>> can review and merge it.
>>
>>
>> Thanks!
>> Bruno
>>
>> On Monday, 13 September 2021, 08:53:04 am NZST, Michael Wechner
>> <mi...@wyona.com> wrote:
>> Hi Andy
>>
>> I have created a patch
>>
>> git diff main..set-fuseki_base
>> diff --git a/source/documentation/fuseki2/fuseki-quick-start.md
>> b/source/documentation/fuseki2/fuseki-quick-start.md
>> index fc8e12226..d3a1cb098 100644
>> --- a/source/documentation/fuseki2/fuseki-quick-start.md
>> +++ b/source/documentation/fuseki2/fuseki-quick-start.md
>> @@ -8,9 +8,10 @@ This page describes how to achieve certain common tasks
>> in the most direct way p
>>
>> 1. Unpack the distribution.
>> 2. Copy the WAR file into the Apache tomcat webapp directory, under
>> the name 'fuseki'
>> -3. In a browser, go to
>> `[http://localhost:8080/fuseki/](http://localhost:8080/fuseki)` (details
>> such as port number depend on the Tomcat setup).
>> -4. Click on "Add one", choose "in-memory", choose a name for the URL
>> for the dataset.
>> -5. Go to "add data" and load the file (single graph).
>> +3. If the user under which Apache tomcat is running does not have write
>> access to `/etc`, then please make sure to set the environment variable
>> FUSEKI_BASE, whereas the value should be a directory where the user
>> running Apache tomcat is able to write to.
>> +4. In a browser, go to
>> `[http://localhost:8080/fuseki/](http://localhost:8080/fuseki)` (details
>> such as port number depend on the Tomcat setup).
>> +5. Click on "Add one", choose "in-memory", choose a name for the URL
>> for the dataset.
>> +6. Go to "add data" and load the file (single graph).
>>
>> ## Publish an RDF file as a SPARQL endpoint.
>>
>> but since I do not have write access to the github repo I am not able to
>> create pull request
>>
>> https://github.com/apache/jena-site/compare
>>
>> Or should I fork the repo and make a pull request inside the fork?
>>
>> Thanks
>>
>> Michael
>>
>>
>>
>> Am 30.08.21 um 16:27 schrieb Michael Wechner:
>>> Hi Andy
>>>
>>> Great, thanks, I will create a pull request.
>>>
>>> Thanks
>>>
>>> Michael
>>>
>>> Am 30.08.21 um 11:01 schrieb Andy Seaborne:
>>>>
>>>> On 29/08/2021 13:26, Michael Wechner wrote:
>>>>> Hi Andy
>>>>>
>>>>> Thanks for your reply!
>>>>>
>>>>> Yes, the user "michaelwechner" I am using on MacOS under which
>>>>> Tomcat is running does not have write access to /etc.
>>>>>
>>>>> A hint on the quick start page re making sure to either have write
>>>>> access to /etc or set the env variables would be great.
>>>>>
>>>>> I would be happy to write such a hint, but I am not sure how to
>>>>> submit a patch for
>>>>>
>>>>> https://jena.apache.org/documentation/fuseki2/fuseki-quick-start.html
>>>> That would be great.
>>>>
>>>> The website is in git (isn't everything?)
>>>>
>>>> https://github.com/apache/jena-site
>>>>
>>>> Andy
>>>>
>>>>> Thanks
>>>>>
>>>>> Michael
>>>>>
>>>>> Am 29.08.21 um 11:32 schrieb Andy Seaborne:
>>>>>> Hi Michael,
>>>>>>
>>>>>> Thanks for the feedback
>>>>>>
>>>>>> Presumably, the user under which Tomcat is running does not have
>>>>>> write access to /etc?
>>>>>>
>>>>>> Andy
>>>>>>
>>>>>> On 27/08/2021 17:02, Michael Wechner wrote:
>>>>>>> Hi
>>>>>>>
>>>>>>> I was trying to get Fuseki running on MacOS, whereas I followed
>>>>>>> the instructions at
>>>>>>>
>>>>>>> https://jena.apache.org/documentation/fuseki2/fuseki-quick-start.html
>>>>>>>
>>>>>>>
>>>>>>> but it did not work. I checked the Tomcat log files and saw the
>>>>>>> error
>>>>>>>
>>>>>>> [2021-08-27 17:58:23] Config INFO FUSEKI_HOME=unset
>>>>>>> [2021-08-27 17:58:23] Config INFO FUSEKI_BASE=/etc/fuseki
>>>>>>> [2021-08-27 17:58:23] Server ERROR Exception in server
>>>>>>> initialization
>>>>>>> org.apache.jena.fuseki.FusekiConfigException: Failed to create
>>>>>>> directory: /etc/fuseki
>>>>>>>
>>>>>>> So I created a directory
>>>>>>>
>>>>>>> /Users/michaelwechner/local/apache-jena-fuseki-4.1.0/fuseki_home/base
>>>>>>>
>>>>>>>
>>>>>>> and set
>>>>>>>
>>>>>>> export
>>>>>>> FUSEKI_HOME=/Users/michaelwechner/local/apache-jena-fuseki-4.1.0/fuseki_home
>>>>>>>
>>>>>>>
>>>>>>> export
>>>>>>> FUSEKI_BASE=/Users/michaelwechner/local/apache-jena-fuseki-4.1.0/fuseki_home/base
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> Would it make sense to add this information to the quick start
>>>>>>> guide or am I the only one experiencing this problem during setup?
>>>>>>>
>>>>>>> Thanks
>>>>>>>
>>>>>>> Michael
>
Re: Getting started with Jena Fuseki: export FUSEKI_HOME and
FUSEKI_BASE?
Posted by Michael Wechner <mi...@wyona.com>.
done :-)
https://github.com/apache/jena-site/pull/67
Anything else?
Btw, on the following page dev@jira is mentioned
https://jena.apache.org/getting_involved/index.html
pointing to
https://jena.apache.org/help_and_support/
but on this page only users and dev mailing lists are mentioned and
nothing about jira. Do I misunderstand something?
Thanks
Michael
Am 13.09.21 um 01:45 schrieb Bruno P. Kinoshita:
> >Or should I fork the repo and make a pull request inside the fork?
> You should fork and make a pull request, please. That way a committer can review and merge it.
>
>
> Thanks!
> Bruno
>
> On Monday, 13 September 2021, 08:53:04 am NZST, Michael Wechner <mi...@wyona.com> wrote:
>
> Hi Andy
>
> I have created a patch
>
> git diff main..set-fuseki_base
> diff --git a/source/documentation/fuseki2/fuseki-quick-start.md
> b/source/documentation/fuseki2/fuseki-quick-start.md
> index fc8e12226..d3a1cb098 100644
> --- a/source/documentation/fuseki2/fuseki-quick-start.md
> +++ b/source/documentation/fuseki2/fuseki-quick-start.md
> @@ -8,9 +8,10 @@ This page describes how to achieve certain common tasks
> in the most direct way p
>
> 1. Unpack the distribution.
> 2. Copy the WAR file into the Apache tomcat webapp directory, under
> the name 'fuseki'
> -3. In a browser, go to
> `[http://localhost:8080/fuseki/](http://localhost:8080/fuseki)` (details
> such as port number depend on the Tomcat setup).
> -4. Click on "Add one", choose "in-memory", choose a name for the URL
> for the dataset.
> -5. Go to "add data" and load the file (single graph).
> +3. If the user under which Apache tomcat is running does not have write
> access to `/etc`, then please make sure to set the environment variable
> FUSEKI_BASE, whereas the value should be a directory where the user
> running Apache tomcat is able to write to.
> +4. In a browser, go to
> `[http://localhost:8080/fuseki/](http://localhost:8080/fuseki)` (details
> such as port number depend on the Tomcat setup).
> +5. Click on "Add one", choose "in-memory", choose a name for the URL
> for the dataset.
> +6. Go to "add data" and load the file (single graph).
>
> ## Publish an RDF file as a SPARQL endpoint.
>
> but since I do not have write access to the github repo I am not able to
> create pull request
>
> https://github.com/apache/jena-site/compare
>
> Or should I fork the repo and make a pull request inside the fork?
>
> Thanks
>
> Michael
>
>
>
> Am 30.08.21 um 16:27 schrieb Michael Wechner:
>> Hi Andy
>>
>> Great, thanks, I will create a pull request.
>>
>> Thanks
>>
>> Michael
>>
>> Am 30.08.21 um 11:01 schrieb Andy Seaborne:
>>>
>>> On 29/08/2021 13:26, Michael Wechner wrote:
>>>> Hi Andy
>>>>
>>>> Thanks for your reply!
>>>>
>>>> Yes, the user "michaelwechner" I am using on MacOS under which
>>>> Tomcat is running does not have write access to /etc.
>>>>
>>>> A hint on the quick start page re making sure to either have write
>>>> access to /etc or set the env variables would be great.
>>>>
>>>> I would be happy to write such a hint, but I am not sure how to
>>>> submit a patch for
>>>>
>>>> https://jena.apache.org/documentation/fuseki2/fuseki-quick-start.html
>>> That would be great.
>>>
>>> The website is in git (isn't everything?)
>>>
>>> https://github.com/apache/jena-site
>>>
>>> Andy
>>>
>>>> Thanks
>>>>
>>>> Michael
>>>>
>>>> Am 29.08.21 um 11:32 schrieb Andy Seaborne:
>>>>> Hi Michael,
>>>>>
>>>>> Thanks for the feedback
>>>>>
>>>>> Presumably, the user under which Tomcat is running does not have
>>>>> write access to /etc?
>>>>>
>>>>> Andy
>>>>>
>>>>> On 27/08/2021 17:02, Michael Wechner wrote:
>>>>>> Hi
>>>>>>
>>>>>> I was trying to get Fuseki running on MacOS, whereas I followed
>>>>>> the instructions at
>>>>>>
>>>>>> https://jena.apache.org/documentation/fuseki2/fuseki-quick-start.html
>>>>>>
>>>>>> but it did not work. I checked the Tomcat log files and saw the error
>>>>>>
>>>>>> [2021-08-27 17:58:23] Config INFO FUSEKI_HOME=unset
>>>>>> [2021-08-27 17:58:23] Config INFO FUSEKI_BASE=/etc/fuseki
>>>>>> [2021-08-27 17:58:23] Server ERROR Exception in server
>>>>>> initialization
>>>>>> org.apache.jena.fuseki.FusekiConfigException: Failed to create
>>>>>> directory: /etc/fuseki
>>>>>>
>>>>>> So I created a directory
>>>>>>
>>>>>> /Users/michaelwechner/local/apache-jena-fuseki-4.1.0/fuseki_home/base
>>>>>>
>>>>>> and set
>>>>>>
>>>>>> export
>>>>>> FUSEKI_HOME=/Users/michaelwechner/local/apache-jena-fuseki-4.1.0/fuseki_home
>>>>>>
>>>>>> export
>>>>>> FUSEKI_BASE=/Users/michaelwechner/local/apache-jena-fuseki-4.1.0/fuseki_home/base
>>>>>>
>>>>>>
>>>>>> Would it make sense to add this information to the quick start
>>>>>> guide or am I the only one experiencing this problem during setup?
>>>>>>
>>>>>> Thanks
>>>>>>
>>>>>> Michael
>
Re: Getting started with Jena Fuseki: export FUSEKI_HOME and
FUSEKI_BASE?
Posted by "Bruno P. Kinoshita" <br...@yahoo.com.br.INVALID>.
>Or should I fork the repo and make a pull request inside the fork?
You should fork and make a pull request, please. That way a committer can review and merge it.
Thanks!
Bruno
On Monday, 13 September 2021, 08:53:04 am NZST, Michael Wechner <mi...@wyona.com> wrote:
Hi Andy
I have created a patch
git diff main..set-fuseki_base
diff --git a/source/documentation/fuseki2/fuseki-quick-start.md
b/source/documentation/fuseki2/fuseki-quick-start.md
index fc8e12226..d3a1cb098 100644
--- a/source/documentation/fuseki2/fuseki-quick-start.md
+++ b/source/documentation/fuseki2/fuseki-quick-start.md
@@ -8,9 +8,10 @@ This page describes how to achieve certain common tasks
in the most direct way p
1. Unpack the distribution.
2. Copy the WAR file into the Apache tomcat webapp directory, under
the name 'fuseki'
-3. In a browser, go to
`[http://localhost:8080/fuseki/](http://localhost:8080/fuseki)` (details
such as port number depend on the Tomcat setup).
-4. Click on "Add one", choose "in-memory", choose a name for the URL
for the dataset.
-5. Go to "add data" and load the file (single graph).
+3. If the user under which Apache tomcat is running does not have write
access to `/etc`, then please make sure to set the environment variable
FUSEKI_BASE, whereas the value should be a directory where the user
running Apache tomcat is able to write to.
+4. In a browser, go to
`[http://localhost:8080/fuseki/](http://localhost:8080/fuseki)` (details
such as port number depend on the Tomcat setup).
+5. Click on "Add one", choose "in-memory", choose a name for the URL
for the dataset.
+6. Go to "add data" and load the file (single graph).
## Publish an RDF file as a SPARQL endpoint.
but since I do not have write access to the github repo I am not able to
create pull request
https://github.com/apache/jena-site/compare
Or should I fork the repo and make a pull request inside the fork?
Thanks
Michael
Am 30.08.21 um 16:27 schrieb Michael Wechner:
> Hi Andy
>
> Great, thanks, I will create a pull request.
>
> Thanks
>
> Michael
>
> Am 30.08.21 um 11:01 schrieb Andy Seaborne:
>>
>>
>> On 29/08/2021 13:26, Michael Wechner wrote:
>>> Hi Andy
>>>
>>> Thanks for your reply!
>>>
>>> Yes, the user "michaelwechner" I am using on MacOS under which
>>> Tomcat is running does not have write access to /etc.
>>>
>>> A hint on the quick start page re making sure to either have write
>>> access to /etc or set the env variables would be great.
>>>
>>> I would be happy to write such a hint, but I am not sure how to
>>> submit a patch for
>>>
>>> https://jena.apache.org/documentation/fuseki2/fuseki-quick-start.html
>>
>> That would be great.
>>
>> The website is in git (isn't everything?)
>>
>> https://github.com/apache/jena-site
>>
>> Andy
>>
>>>
>>> Thanks
>>>
>>> Michael
>>>
>>> Am 29.08.21 um 11:32 schrieb Andy Seaborne:
>>>> Hi Michael,
>>>>
>>>> Thanks for the feedback
>>>>
>>>> Presumably, the user under which Tomcat is running does not have
>>>> write access to /etc?
>>>>
>>>> Andy
>>>>
>>>> On 27/08/2021 17:02, Michael Wechner wrote:
>>>>> Hi
>>>>>
>>>>> I was trying to get Fuseki running on MacOS, whereas I followed
>>>>> the instructions at
>>>>>
>>>>> https://jena.apache.org/documentation/fuseki2/fuseki-quick-start.html
>>>>>
>>>>> but it did not work. I checked the Tomcat log files and saw the error
>>>>>
>>>>> [2021-08-27 17:58:23] Config INFO FUSEKI_HOME=unset
>>>>> [2021-08-27 17:58:23] Config INFO FUSEKI_BASE=/etc/fuseki
>>>>> [2021-08-27 17:58:23] Server ERROR Exception in server
>>>>> initialization
>>>>> org.apache.jena.fuseki.FusekiConfigException: Failed to create
>>>>> directory: /etc/fuseki
>>>>>
>>>>> So I created a directory
>>>>>
>>>>> /Users/michaelwechner/local/apache-jena-fuseki-4.1.0/fuseki_home/base
>>>>>
>>>>> and set
>>>>>
>>>>> export
>>>>> FUSEKI_HOME=/Users/michaelwechner/local/apache-jena-fuseki-4.1.0/fuseki_home
>>>>>
>>>>> export
>>>>> FUSEKI_BASE=/Users/michaelwechner/local/apache-jena-fuseki-4.1.0/fuseki_home/base
>>>>>
>>>>>
>>>>> Would it make sense to add this information to the quick start
>>>>> guide or am I the only one experiencing this problem during setup?
>>>>>
>>>>> Thanks
>>>>>
>>>>> Michael
>>>
>