You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@jena.apache.org by Sorin Gheorghiu <so...@uni-konstanz.de> on 2019/02/18 15:36:05 UTC

Running Fuseki 3.10 with Apache Tomcat

Hi,

Fuseki 3.10 fails to start with Tomcat, the error is related to 
openIndexWriter, but this is too few information for debugging. 
Otherwise it starts as a service with the same server configuration file 
(config.ttl) and with the same jar files. As well Fuseki started with 
Tomcat in the previous versions without issues.

[2019-02-18 16:10:28] Config     INFO  FUSEKI_HOME=unset
[2019-02-18 16:10:28] Config     INFO FUSEKI_BASE=/etc/fuseki
[2019-02-18 16:10:28] Config     INFO  Shiro file: 
file:///etc/fuseki/shiro.ini
[2019-02-18 16:10:28] Config     INFO  Context path = /fuseki
[2019-02-18 16:10:28] Config     INFO  Configuration file: 
/etc/fuseki/config.ttl
[2019-02-18 16:10:29] Server     ERROR Exception in initialization: 
caught: openIndexWriter
Feb 18, 2019 4:10:29 PM org.apache.catalina.core.StandardContext 
startInternal
SCHWERWIEGEND: One or more listeners failed to start. Full details will 
be found in the appropriate container log file
Feb 18, 2019 4:10:29 PM org.apache.catalina.core.StandardContext 
startInternal
SCHWERWIEGEND: Context [/fuseki] startup failed due to previous errors

Any idea why this error occurs?

Thank you in advance


Re: Running Fuseki 3.10 with Apache Tomcat

Posted by Sorin Gheorghiu <so...@uni-konstanz.de>.
Hi ajs6f,

thank you for answering and sorry for confusion!

I already replied on Feb 19th to users@ that I found the root cause in 
the config file, the path for the Lucene directory was wrong. Problem 
solved!

Thank you and regards,
Sorin

Am 26.02.2019 um 19:31 schrieb ajs6f:
> Have you examined, as the log suggests, the appropriate container log file?
>
> ajs6f
>
>> On Feb 18, 2019, at 10:36 AM, Sorin Gheorghiu <so...@uni-konstanz.de> wrote:
>>
>> Hi,
>>
>> Fuseki 3.10 fails to start with Tomcat, the error is related to openIndexWriter, but this is too few information for debugging. Otherwise it starts as a service with the same server configuration file (config.ttl) and with the same jar files. As well Fuseki started with Tomcat in the previous versions without issues.
>>
>> [2019-02-18 16:10:28] Config     INFO  FUSEKI_HOME=unset
>> [2019-02-18 16:10:28] Config     INFO FUSEKI_BASE=/etc/fuseki
>> [2019-02-18 16:10:28] Config     INFO  Shiro file: file:///etc/fuseki/shiro.ini
>> [2019-02-18 16:10:28] Config     INFO  Context path = /fuseki
>> [2019-02-18 16:10:28] Config     INFO  Configuration file: /etc/fuseki/config.ttl
>> [2019-02-18 16:10:29] Server     ERROR Exception in initialization: caught: openIndexWriter
>> Feb 18, 2019 4:10:29 PM org.apache.catalina.core.StandardContext startInternal
>> SCHWERWIEGEND: One or more listeners failed to start. Full details will be found in the appropriate container log file
>> Feb 18, 2019 4:10:29 PM org.apache.catalina.core.StandardContext startInternal
>> SCHWERWIEGEND: Context [/fuseki] startup failed due to previous errors
>>
>> Any idea why this error occurs?
>>
>> Thank you in advance
>>
-- 
Sorin Gheorghiu             Tel: +49 7531 88-3198
Universität Konstanz        Raum: B705
78464 Konstanz              sorin.gheorghiu@uni-konstanz.de

- KIM: Abteilung Contentdienste -


Re: Running Fuseki 3.10 with Apache Tomcat

Posted by ajs6f <aj...@apache.org>.
Have you examined, as the log suggests, the appropriate container log file?

ajs6f

> On Feb 18, 2019, at 10:36 AM, Sorin Gheorghiu <so...@uni-konstanz.de> wrote:
> 
> Hi,
> 
> Fuseki 3.10 fails to start with Tomcat, the error is related to openIndexWriter, but this is too few information for debugging. Otherwise it starts as a service with the same server configuration file (config.ttl) and with the same jar files. As well Fuseki started with Tomcat in the previous versions without issues.
> 
> [2019-02-18 16:10:28] Config     INFO  FUSEKI_HOME=unset
> [2019-02-18 16:10:28] Config     INFO FUSEKI_BASE=/etc/fuseki
> [2019-02-18 16:10:28] Config     INFO  Shiro file: file:///etc/fuseki/shiro.ini
> [2019-02-18 16:10:28] Config     INFO  Context path = /fuseki
> [2019-02-18 16:10:28] Config     INFO  Configuration file: /etc/fuseki/config.ttl
> [2019-02-18 16:10:29] Server     ERROR Exception in initialization: caught: openIndexWriter
> Feb 18, 2019 4:10:29 PM org.apache.catalina.core.StandardContext startInternal
> SCHWERWIEGEND: One or more listeners failed to start. Full details will be found in the appropriate container log file
> Feb 18, 2019 4:10:29 PM org.apache.catalina.core.StandardContext startInternal
> SCHWERWIEGEND: Context [/fuseki] startup failed due to previous errors
> 
> Any idea why this error occurs?
> 
> Thank you in advance
> 


Re: Running Fuseki 3.10 with Apache Tomcat

Posted by Andy Seaborne <an...@apache.org>.
Hi Sorin,

What's the config file?

And there should be some other info in catalina.out or other log file.

openIndexWriter is part of Lucene and at Jena 3.10.0, the lucene version 
upgraded from 6.x to 7.4.x.

You can try extrscting the dastaset configuration from config.ttl and 
run from the command line without Tomcat.

If you take the Fuseki standalone jar, use that as "-cp TheJar" and run 
"java -cp TheJar arq.sparql --conf ...." you might get more information.

     Andy

On 18/02/2019 15:36, Sorin Gheorghiu wrote:
> Hi,
> 
> Fuseki 3.10 fails to start with Tomcat, the error is related to 
> openIndexWriter, but this is too few information for debugging. 
> Otherwise it starts as a service with the same server configuration file 
> (config.ttl) and with the same jar files. As well Fuseki started with 
> Tomcat in the previous versions without issues.
> 
> [2019-02-18 16:10:28] Config     INFO  FUSEKI_HOME=unset
> [2019-02-18 16:10:28] Config     INFO FUSEKI_BASE=/etc/fuseki
> [2019-02-18 16:10:28] Config     INFO  Shiro file: 
> file:///etc/fuseki/shiro.ini
> [2019-02-18 16:10:28] Config     INFO  Context path = /fuseki
> [2019-02-18 16:10:28] Config     INFO  Configuration file: 
> /etc/fuseki/config.ttl
> [2019-02-18 16:10:29] Server     ERROR Exception in initialization: 
> caught: openIndexWriter
> Feb 18, 2019 4:10:29 PM org.apache.catalina.core.StandardContext 
> startInternal
> SCHWERWIEGEND: One or more listeners failed to start. Full details will 
> be found in the appropriate container log file
> Feb 18, 2019 4:10:29 PM org.apache.catalina.core.StandardContext 
> startInternal
> SCHWERWIEGEND: Context [/fuseki] startup failed due to previous errors
> 
> Any idea why this error occurs?
> 
> Thank you in advance
> 

Fwd: Running Fuseki 3.10 with Apache Tomcat

Posted by Sorin Gheorghiu <so...@uni-konstanz.de>.
Meanwhile I found the root cause in the config file, the path for the 
Lucene directory was wrong.

<#indexLucene> a text:TextIndexLucene ;
     text:directory <file:path_to_lucene_directory>;
     ...


Regards

-------- Weitergeleitete Nachricht --------
Betreff: 	Running Fuseki 3.10 with Apache Tomcat
Datum: 	Mon, 18 Feb 2019 16:36:05 +0100
Von: 	Sorin Gheorghiu <so...@uni-konstanz.de>
An: 	users@jena.apache.org



Hi,

Fuseki 3.10 fails to start with Tomcat, the error is related to 
openIndexWriter, but this is too few information for debugging. 
Otherwise it starts as a service with the same server configuration file 
(config.ttl) and with the same jar files. As well Fuseki started with 
Tomcat in the previous versions without issues.

[2019-02-18 16:10:28] Config     INFO  FUSEKI_HOME=unset
[2019-02-18 16:10:28] Config     INFO FUSEKI_BASE=/etc/fuseki
[2019-02-18 16:10:28] Config     INFO  Shiro file: 
file:///etc/fuseki/shiro.ini
[2019-02-18 16:10:28] Config     INFO  Context path = /fuseki
[2019-02-18 16:10:28] Config     INFO  Configuration file: 
/etc/fuseki/config.ttl
[2019-02-18 16:10:29] Server     ERROR Exception in initialization: 
caught: openIndexWriter
Feb 18, 2019 4:10:29 PM org.apache.catalina.core.StandardContext 
startInternal
SCHWERWIEGEND: One or more listeners failed to start. Full details will 
be found in the appropriate container log file
Feb 18, 2019 4:10:29 PM org.apache.catalina.core.StandardContext 
startInternal
SCHWERWIEGEND: Context [/fuseki] startup failed due to previous errors

Any idea why this error occurs?

Thank you in advance