GraphDB FAQ

compared with
Current by Nikola Petrov
on Apr 24, 2015 19:28.

Key
This line was removed.
This word was removed. This word was added.
This line was added.

Changes (4)

View Page History




bq. Invocation of init method failed; nested exception is java.io.IOException: Unable to create logging directory /usr/share/tomcat6/.aduna/openrdf-sesame/logs
then this indicates that Tomcat does not have write permission to its data directory (where it stores configuration, logs, and actual repository data). To fix this, log in as root to the server machine and do the following:
h5. I am getting SocketTimout when uploading large files

This might be caused because the import is taking longer than the configured timeout for your application server. In the case of tomcat you can change/add a connectionTimeout parameter in the Connector element the Connector element in *conf/server.xml* like this:
{code} <Connector executor="tomcatThreadPool"
port="8080" protocol="HTTP/1.1"
or disable upload timeouts by setting the&nbsp;*disableUploadTimeout* to false. More information can be found in tomcat's documentation&nbsp;[here|http://tomcat.apache.org/tomcat-7.0-doc/config/http.html#Standard_Implementation]

h5. Slow tomcat startup time on Linux

If you are seeing the following in the logs
{code}
Creation of SecureRandom instance for session ID generation using [SHA1PRNG] took [5172] milliseconds.
{code}
then try adding {code}
-Djava.security.egd=file:/dev/./urandom
{code}
to your *CATALINA_OPTS* in *setenv.sh*
You can check [this|http://wiki.apache.org/tomcat/HowTo/FasterStartUp#Entropy_Source] for more information and implications for this parameter

h1. Backup/restore/import/export





bq. Parser has reached the entity expansion limit "64,000" set by the Application.
when it generates more than a specified number of 'entities'. The default limit for the built-in Java XML parser is 64,000, however it can be configured by using a Java system property. To increase the limit, pass the following to the JVM in which GraphDB/Sesame is running. Note that the actual value can be increased as necessary. Don't forget that if running in Tomcat then this must be passed to the Tomcat instance using the CATALINA_OPTS environment variable.