You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@jena.apache.org by Honza Hejzl <ho...@gmail.com> on 2015/11/11 14:36:55 UTC

Fuseki running on virtualhosts (not localhost)

Hi Jena users!

I am rather desperate with a silly problem I would not expected. I am
trying to run Fuseki on a distant virtualhost and it seems the application
has problems with that. Everything seems to work well (according to logs,
even the default dataset has been created) but the UI does not list
datasets and I can’t manage them through it (it is like a static site
only). I have tried the same on my local computer and it worked really
well, like a charm.

Is there any glitch I am not aware of with such a deployment? I am not
using any special configuration, I run it only via the command-line.

fuseki-server --update --loc=dataDir /myDataset

[2015-11-11 14:36:30] Server     INFO  Fuseki 2.3.0 2015-07-25T17:11:28+0000
[2015-11-11 14:36:30] Config     INFO
FUSEKI_HOME=/home/honza/.apache-jena-fuseki-2.3.0
[2015-11-11 14:36:30] Config     INFO  FUSEKI_BASE=/home/honza/karolinum/run
[2015-11-11 14:36:30] Servlet    INFO  Initializing Shiro environment
[2015-11-11 14:36:30] Config     INFO  Shiro file:
file:///home/honza/karolinum/run/shiro.ini
[2015-11-11 14:36:31] Config     INFO  Template file:
templates/config-tdb-dir
[2015-11-11 14:36:31] Config     INFO  TDB dataset: directory=dataDir
[2015-11-11 14:36:32] Config     INFO  Register: /myDataset
[2015-11-11 14:36:33] Server     INFO  Started 2015/11/11 14:36:33 CET on
port 3030


Any help more than welcome!

Best, H. Hejzl

Re: Fuseki running on virtualhosts (not localhost)

Posted by Honza Hejzl <ho...@gmail.com>.
Andy, thank you again very much, I got it! :)

Best, H. Hejzl

2015-11-11 15:45 GMT+01:00 Honza Hejzl <ho...@gmail.com>:

> Thank you a lot. I works, the login window appears. However, I log in the
> machine only via RSA key. I that case, is there any way to use password or
> set it?
>
> Best, H. Hejzl
>
> 2015-11-11 15:02 GMT+01:00 Andy Seaborne <an...@apache.org>:
>
>> http://jena.apache.org/documentation/fuseki2/fuseki-security.html
>>
>> You need to edit the deployed shiro.ini to enable password
>> authentication.  The default is localhost only for the UI functions that
>> change the server.
>>
>>         Andy
>>
>> On 11/11/15 13:36, Honza Hejzl wrote:
>>
>>> Hi Jena users!
>>>
>>> I am rather desperate with a silly problem I would not expected. I am
>>> trying to run Fuseki on a distant virtualhost and it seems the
>>> application
>>> has problems with that. Everything seems to work well (according to logs,
>>> even the default dataset has been created) but the UI does not list
>>> datasets and I can’t manage them through it (it is like a static site
>>> only). I have tried the same on my local computer and it worked really
>>> well, like a charm.
>>>
>>> Is there any glitch I am not aware of with such a deployment? I am not
>>> using any special configuration, I run it only via the command-line.
>>>
>>> fuseki-server --update --loc=dataDir /myDataset
>>>
>>> [2015-11-11 14:36:30] Server     INFO  Fuseki 2.3.0
>>> 2015-07-25T17:11:28+0000
>>> [2015-11-11 14:36:30] Config     INFO
>>> FUSEKI_HOME=/home/honza/.apache-jena-fuseki-2.3.0
>>> [2015-11-11 14:36:30] Config     INFO
>>> FUSEKI_BASE=/home/honza/karolinum/run
>>> [2015-11-11 14:36:30] Servlet    INFO  Initializing Shiro environment
>>> [2015-11-11 14:36:30] Config     INFO  Shiro file:
>>> file:///home/honza/karolinum/run/shiro.ini
>>> [2015-11-11 14:36:31] Config     INFO  Template file:
>>> templates/config-tdb-dir
>>> [2015-11-11 14:36:31] Config     INFO  TDB dataset: directory=dataDir
>>> [2015-11-11 14:36:32] Config     INFO  Register: /myDataset
>>> [2015-11-11 14:36:33] Server     INFO  Started 2015/11/11 14:36:33 CET on
>>> port 3030
>>>
>>>
>>> Any help more than welcome!
>>>
>>> Best, H. Hejzl
>>>
>>>
>>
>

Re: Fuseki running on virtualhosts (not localhost)

Posted by Honza Hejzl <ho...@gmail.com>.
Thank you a lot. I works, the login window appears. However, I log in the
machine only via RSA key. I that case, is there any way to use password or
set it?

Best, H. Hejzl

2015-11-11 15:02 GMT+01:00 Andy Seaborne <an...@apache.org>:

> http://jena.apache.org/documentation/fuseki2/fuseki-security.html
>
> You need to edit the deployed shiro.ini to enable password
> authentication.  The default is localhost only for the UI functions that
> change the server.
>
>         Andy
>
> On 11/11/15 13:36, Honza Hejzl wrote:
>
>> Hi Jena users!
>>
>> I am rather desperate with a silly problem I would not expected. I am
>> trying to run Fuseki on a distant virtualhost and it seems the application
>> has problems with that. Everything seems to work well (according to logs,
>> even the default dataset has been created) but the UI does not list
>> datasets and I can’t manage them through it (it is like a static site
>> only). I have tried the same on my local computer and it worked really
>> well, like a charm.
>>
>> Is there any glitch I am not aware of with such a deployment? I am not
>> using any special configuration, I run it only via the command-line.
>>
>> fuseki-server --update --loc=dataDir /myDataset
>>
>> [2015-11-11 14:36:30] Server     INFO  Fuseki 2.3.0
>> 2015-07-25T17:11:28+0000
>> [2015-11-11 14:36:30] Config     INFO
>> FUSEKI_HOME=/home/honza/.apache-jena-fuseki-2.3.0
>> [2015-11-11 14:36:30] Config     INFO
>> FUSEKI_BASE=/home/honza/karolinum/run
>> [2015-11-11 14:36:30] Servlet    INFO  Initializing Shiro environment
>> [2015-11-11 14:36:30] Config     INFO  Shiro file:
>> file:///home/honza/karolinum/run/shiro.ini
>> [2015-11-11 14:36:31] Config     INFO  Template file:
>> templates/config-tdb-dir
>> [2015-11-11 14:36:31] Config     INFO  TDB dataset: directory=dataDir
>> [2015-11-11 14:36:32] Config     INFO  Register: /myDataset
>> [2015-11-11 14:36:33] Server     INFO  Started 2015/11/11 14:36:33 CET on
>> port 3030
>>
>>
>> Any help more than welcome!
>>
>> Best, H. Hejzl
>>
>>
>

Re: Fuseki running on virtualhosts (not localhost)

Posted by Andy Seaborne <an...@apache.org>.
http://jena.apache.org/documentation/fuseki2/fuseki-security.html

You need to edit the deployed shiro.ini to enable password 
authentication.  The default is localhost only for the UI functions that 
change the server.

	Andy

On 11/11/15 13:36, Honza Hejzl wrote:
> Hi Jena users!
>
> I am rather desperate with a silly problem I would not expected. I am
> trying to run Fuseki on a distant virtualhost and it seems the application
> has problems with that. Everything seems to work well (according to logs,
> even the default dataset has been created) but the UI does not list
> datasets and I can’t manage them through it (it is like a static site
> only). I have tried the same on my local computer and it worked really
> well, like a charm.
>
> Is there any glitch I am not aware of with such a deployment? I am not
> using any special configuration, I run it only via the command-line.
>
> fuseki-server --update --loc=dataDir /myDataset
>
> [2015-11-11 14:36:30] Server     INFO  Fuseki 2.3.0 2015-07-25T17:11:28+0000
> [2015-11-11 14:36:30] Config     INFO
> FUSEKI_HOME=/home/honza/.apache-jena-fuseki-2.3.0
> [2015-11-11 14:36:30] Config     INFO  FUSEKI_BASE=/home/honza/karolinum/run
> [2015-11-11 14:36:30] Servlet    INFO  Initializing Shiro environment
> [2015-11-11 14:36:30] Config     INFO  Shiro file:
> file:///home/honza/karolinum/run/shiro.ini
> [2015-11-11 14:36:31] Config     INFO  Template file:
> templates/config-tdb-dir
> [2015-11-11 14:36:31] Config     INFO  TDB dataset: directory=dataDir
> [2015-11-11 14:36:32] Config     INFO  Register: /myDataset
> [2015-11-11 14:36:33] Server     INFO  Started 2015/11/11 14:36:33 CET on
> port 3030
>
>
> Any help more than welcome!
>
> Best, H. Hejzl
>