You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@jena.apache.org by bo...@snee.com on 2019/06/10 15:02:04 UTC

trying to start up the geosparql fuseki server

This works with apache-jena-fuseki-3.12.0:

    java -Xmx1200M -jar fuseki-server.jar --update --loc=dataDir 
/myDataset

I downloaded jena-fuseki-geosparql-3.12.0.jar from 
http://central.maven.org/maven2/org/apache/jena/jena-fuseki-geosparql/3.12.0/ 
into the same directory, and this works:

    java -cp jena-fuseki-geosparql-3.12.0.jar 
org.apache.jena.fuseki.geosparql.Main --help

When I remove --help from the second one and try to add things to that 
command line to start up the server like the first command above does, I 
had no luck. I usually get the following:

    SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".

or

    Error: Could not find or load main class 
io.github.galbiston.geosparql_fuseki.Main

Can someone tell me a jena-fuseki-geosparql-3.12.0.jar version of that 
first command above to up the server that has geosparql support?

I’m looking forward to playing with it…

Thanks,

Bob

Re: trying to start up the geosparql fuseki server

Posted by Martynas Jusevičius <ma...@atomgraph.com>.
Ultimately I think it would be great to have it Docker-ized.

@Andy Seaborne was there any progress with that? I've made my
Dockerfile, feel free to reuse it:
https://github.com/AtomGraph/fuseki-docker/blob/master/Dockerfile

On Mon, Jun 10, 2019 at 5:02 PM <bo...@snee.com> wrote:
>
> This works with apache-jena-fuseki-3.12.0:
>
>     java -Xmx1200M -jar fuseki-server.jar --update --loc=dataDir
> /myDataset
>
> I downloaded jena-fuseki-geosparql-3.12.0.jar from
> http://central.maven.org/maven2/org/apache/jena/jena-fuseki-geosparql/3.12.0/
> into the same directory, and this works:
>
>     java -cp jena-fuseki-geosparql-3.12.0.jar
> org.apache.jena.fuseki.geosparql.Main --help
>
> When I remove --help from the second one and try to add things to that
> command line to start up the server like the first command above does, I
> had no luck. I usually get the following:
>
>     SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
>
> or
>
>     Error: Could not find or load main class
> io.github.galbiston.geosparql_fuseki.Main
>
> Can someone tell me a jena-fuseki-geosparql-3.12.0.jar version of that
> first command above to up the server that has geosparql support?
>
> I’m looking forward to playing with it…
>
> Thanks,
>
> Bob

Re: trying to start up the geosparql fuseki server

Posted by Sorin Gheorghiu <so...@uni-konstanz.de>.
It is very likely you're missing some jars (i.e. scribe-slf4j is related 
to org.slf4j.impl.StaticLoggerBinder)

Use the Apache Maven to manage the dependencies as described in the 
release notes:

* Via central.maven.org

The main jars and their dependencies can used with:

      <dependency>
        <groupId>org.apache.jena</groupId>
<artifactId>apache-jena-libs</artifactId>
        <type>pom</type>
        <version>3.12.0</version>
      </dependency>

and to get the GeoSPARQL module:

      <dependency>
        <groupId>org.apache.jena</groupId>
<artifactId>jena-geosparql</artifactId>
        <version>3.12.0</version>
      </dependency>

Full details of all maven artifacts are described at:

http://jena.apache.org/download/maven.html

Regards,
Sorin


Am 10.06.2019 um 17:02 schrieb bob@snee.com:
> This works with apache-jena-fuseki-3.12.0:
>
>    java -Xmx1200M -jar fuseki-server.jar --update --loc=dataDir 
> /myDataset
>
> I downloaded jena-fuseki-geosparql-3.12.0.jar from 
> http://central.maven.org/maven2/org/apache/jena/jena-fuseki-geosparql/3.12.0/ 
> into the same directory, and this works:
>
>    java -cp jena-fuseki-geosparql-3.12.0.jar 
> org.apache.jena.fuseki.geosparql.Main --help
>
> When I remove --help from the second one and try to add things to that 
> command line to start up the server like the first command above does, 
> I had no luck. I usually get the following:
>
>    SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
>
> or
>
>    Error: Could not find or load main class 
> io.github.galbiston.geosparql_fuseki.Main
>
> Can someone tell me a jena-fuseki-geosparql-3.12.0.jar version of that 
> first command above to up the server that has geosparql support?
>
> I’m looking forward to playing with it…
>
> Thanks,
>
> Bob

-- 
Sorin Gheorghiu             Tel: +49 7531 88-3198
Universität Konstanz        Raum: B705
78464 Konstanz              sorin.gheorghiu@uni-konstanz.de

- KIM: Abteilung Contentdienste -