Sv: Running Fuseki stand-alone - where is FUSEKI_BASE?

2020-04-09 Thread Glenn TheMan
I resolve to run Fuseki in Tomcat as web application (war) instead. Easiest way 
if you have Tomcat installed already.

Thanks Andy.


Från: Andy Seaborne 
Skickat: den 7 april 2020 22:21
Till: users@jena.apache.org 
Ämne: Re: Running Fuseki stand-alone - where is FUSEKI_BASE?

Hi Glenn,

Try running with --verbose. It prints out FUSEKI_HOME and FUSEKI_BASE.

FUSEKI_BASE is either set as an environment variable or is "run"
resolved against FUSEKI_HOME.

--data loads the file from the file as given into a memory dataset, not
resolved against FUSEKI_BASE.  Relative files are resolved against the
current directory.  The fuseki-server script does not change current
directory.

 Andy


On 07/04/2020 10:05, Glenn TheMan wrote:
> Hi, I am running Fuseki 3.14 as stand-alone but I have a problem 
> understanding where the process is running.
> I've set FUSEKI_HOME in  /etc/environment in Ubuntu and sourced it.
>
> FUSEKI_HOME="/home/myhome/Development/jena/apache-jena-fuseki"
>
> According to the documentation the FUSEKI_BASE is relative to 
> FUSEKI_HOME/run. But it's actually set to /home/myhome/Development/jena/run 
> when running it (depending to current path in terminal).
>
> I've tried different relative path (absolute path work of-course) but always 
> get an error that the server can't find the dataset file provided.
> ./apache-jena-fuseki/fuseki-server --file=../datafiles/artist_data_v2.ttl /ds
>
> Where is the stand-alone fuseki server actually running?
>
>
>


Re: Running Fuseki stand-alone - where is FUSEKI_BASE?

2020-04-07 Thread Andy Seaborne

Hi Glenn,

Try running with --verbose. It prints out FUSEKI_HOME and FUSEKI_BASE.

FUSEKI_BASE is either set as an environment variable or is "run" 
resolved against FUSEKI_HOME.


--data loads the file from the file as given into a memory dataset, not 
resolved against FUSEKI_BASE.  Relative files are resolved against the 
current directory.  The fuseki-server script does not change current 
directory.


Andy


On 07/04/2020 10:05, Glenn TheMan wrote:

Hi, I am running Fuseki 3.14 as stand-alone but I have a problem understanding 
where the process is running.
I've set FUSEKI_HOME in  /etc/environment in Ubuntu and sourced it.

FUSEKI_HOME="/home/myhome/Development/jena/apache-jena-fuseki"

According to the documentation the FUSEKI_BASE is relative to FUSEKI_HOME/run. 
But it's actually set to /home/myhome/Development/jena/run when running it 
(depending to current path in terminal).

I've tried different relative path (absolute path work of-course) but always 
get an error that the server can't find the dataset file provided.
./apache-jena-fuseki/fuseki-server --file=../datafiles/artist_data_v2.ttl /ds

Where is the stand-alone fuseki server actually running?





Running Fuseki stand-alone - where is FUSEKI_BASE?

2020-04-07 Thread Glenn TheMan
Hi, I am running Fuseki 3.14 as stand-alone but I have a problem understanding 
where the process is running.
I've set FUSEKI_HOME in  /etc/environment in Ubuntu and sourced it.

FUSEKI_HOME="/home/myhome/Development/jena/apache-jena-fuseki"

According to the documentation the FUSEKI_BASE is relative to FUSEKI_HOME/run. 
But it's actually set to /home/myhome/Development/jena/run when running it 
(depending to current path in terminal).

I've tried different relative path (absolute path work of-course) but always 
get an error that the server can't find the dataset file provided.
./apache-jena-fuseki/fuseki-server --file=../datafiles/artist_data_v2.ttl /ds

Where is the stand-alone fuseki server actually running?