For running Fuseki with Apache Tomcat you should add shiro.ini to /etc/fuseki [1] and then customize it.

[1] https://jena.apache.org/documentation/fuseki2/fuseki-run.html#fuseki-web-application

Regards,
Sorin


Am 12.06.2019 um 08:22 schrieb Allan Kamau:
On Tue, Jun 11, 2019 at 7:50 PM Andy Seaborne <[email protected]> wrote:

The admin functions, by default, only respond to localhost.

This is controlled by shiro.ini.



On 11/06/2019 16:09, ajs6f wrote:
Do you mean you see Fuseki but it has no data in it or that you see
nothing?
ajs6f

On Jun 11, 2019, at 8:54 AM, Allan Kamau <[email protected]> wrote:

I have deployed fuseki by copying the fuseki.war file to the webapps
directory of my catalina installation.
It seems when I connect to the fuseki web application at "
http://localhost:8080/fuseki"; I can add and delete datasets under the
"Manage datasets" tab. As well as see the dataset which I constructed
along
with data that I have just loaded into it.
But when I connect to the site by using the ip address, there is no
sign of
the dataset I constructed nor its data.
Is there a way to enable remote access for datasets for such a
deployment
(fuseki.war) or do I need to the other deployment options?

Perhaps this question has already been posed and answered previously,
if so
simply send me the link.

Allan.
@js6f, The web page of fuseki is displaying correctly on both
"localhost:8080/fuseki/" and "someserver:8080/fuseki/" the only difference
is that the web page of "localhost:8080/fuseki/" does have the name of the
dataset I configured listed under "Datasets on this server" while the web
page of "someserver:8080/fuseki/" has "Datasets on this server but the
listing of the dataset is empty.
Note that "someserver" and "localhost" are resolving the same node.

@Andy, Thanks, I have searched for the shiro.ini file where I deployed the
fuseki.war under "${CATALINA_HOME}"/webapps/fuseki but there is none.
Neither is there "shiro.ini" under the "apache-jena-fuseki-3.11.0"
directory constructed after untaring the "apache-jena-fuseki-3.11.0.tar.gz"
file which I downloaded from "https://jena.apache.org/download/index.cgi";.
There is mention of "shiro.ini' in the main configuration fle
"${CATALINA_HOME}"/webapps/fuseki/WEB-INF/web.xml".

I am reading "
https://jena.apache.org/documentation/fuseki2/fuseki-security.html";, this
resource mentions that I need to configure shiro as you have indicated. I
will be looking at Apache Shiro and how to configure it.
I guess I would need to run the standalone version
("apache-jena-fuseki-3.11.0/fuseki-server") after placing Apache Shiro
configuration parameters into "apache-jena-fuseki-3.11.0/shiro.ini".

Allan.

Reply via email to