Comments (5)
Hello,
Please see if one of the suggestions described here works for you. You may need to either add the path to the journal file as a startup parameter to Tomcat or edit the RWStore.properties.
The logging is done to the catalina.out for Tomcat in the war / Tomcat deployment model.
from database.
Hi,
thanks for the help!
Rather late (the holidays...) I want to report that I got blazegraph running on tomcat.
There were two problems:
- the blazegraph.war release file does not contain blazegraph.jnl. I downloaded the source code, compiled it and got the jnl called blazegraph.jnl.
- despite the release being called blazegraph.war, in the RWStore.properties (and other .properties files), the library is called bigdata.jnl, not blazegraph.jnl. I changed them to the latter and used an absolute path.
After restarting tomcat a couple of times, blazegraph works fine now.
from database.
from database.
Good to know! So finally it seems the problem was that blazegraph/tomcat could not create the file due to missing permissions.
Thanks!
Martin
from database.
Blazegraph by default will create the bigdata.jnl
file inside he folder where the servlet container is run. Usually that folder is protected so the jnl
file can't be created. You should pick another location by defining an absolute path of in the properties files of Blazegraph.
Solution:
change
./webapps/blazegraph/WEB-INF/web.xml
line:42:<param-value>RWStore.properties</param-value>
./webapps/blazegraph/WEB-INF/GraphStore.properties
line:12:com.bigdata.journal.AbstractJournal.file=bigdata.jnl
./webapps/blazegraph/WEB-INF/classes/RWStore.properties
line:12:com.bigdata.journal.AbstractJournal.file=bigdata.jnl
to
./webapps/blazegraph/WEB-INF/web.xml
line:42:<param-value>/opt/tomcat/webapps/blazegraphpublic/WEB-INF/RWStore.properties</param-value>
./webapps/blazegraph/WEB-INF/GraphStore.properties
line:12:com.bigdata.journal.AbstractJournal.file=/your/existing/desired/path/bigdata.jnl
./webapps/blazegraph/WEB-INF/classes/RWStore.properties
line:12:com.bigdata.journal.AbstractJournal.file=/your/existing/desired/path/bigdata.jnl
also, you might need to
chown tomcat:tomcat /your/existing/desired/path/
link: https://github.com/blazegraph/database/wiki/NanoSparqlServer#common-startup-problems
from database.
Related Issues (20)
- RDF-star triple delete not working as required by W3C HOT 3
- Found typo in README
- Setting CORS When Accessing the Blazegraph Database HOT 2
- java.lang.RuntimeException: Not set: com.bigdata.journal.IIndexManager Error when starting server from code
- Blazegraph workbench offline
- Transaction capability appears to disagree with documentation
- Throwing exception on complicated query that works in other triplestores HOT 1
- java.lang.IllegalArgumentException: Buffering capacity 2097152 exceeded HOT 4
- Namespaces missing after restart HOT 2
- HAVING with mutiple conditions does not work
- Does Blazegraph support the Graph Store Protocol HOT 2
- How to search predicates by full-text search?
- web interface Blazegraph Workbench is unseponsive
- What release should I use? HOT 1
- Distance Function in Geospatial
- How is blazegraph configured?
- Allow constraining search algorithms to expand links of types belonging to a set
- Is there a way (what is the best way) to import a zip file containing many turtle files?
- Database
- REST API documentation HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from database.