RDF4J on Debian 10: Logging problems #3133
-
Dear RDF4J People! The last two days I struggled to install RDF4J on a plain new Debian 10 system. The RDF4J-Server component I run in Tomcat as RAW with the following result.
RDF4J from the current tar.gz install. WAR files copied to /var/lib/tomcat/webapps/. I think this is a not too exotic setup. Running the same WAR in jetty I get the same exception but with a bit more friendly path:
When I run the code in eclipse (the console application) the same logging code produces /home//.RDF4J/server/logs Any cases are for from optimal. No one likes to give write a web app access to paths like that :-). The strace's I did show me that RDF4J does look for logging config files but at weird positions e.g.
But RDF4J never ever ask for a logback.xml file which is given by the WAR. Surely I miss something here. Any help appreciated, Volker |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 1 reply
-
Hi Volker, have you tried setting the See also |
Beta Was this translation helpful? Give feedback.
-
Thank you so much for the fast answer. I have solved the problem in no time. I really missed that documentation bit. Installation is a quite complex case and if you are not familiar with Java and the where abouts you can get lost quickly. Same with Python installation in principal. If you come from Java you will be lost at first. But : In the python plane there are for any application some "walk through" tutorials for some platforms. These are not complete, nor accurate, nor perfect but they give you a base line, something to work with. I really miss such a thing in the java plane. I did not found any base line tutorial to setup RDF4J for non Java Programmers. I have the experience of 40 years of programing and I stuck. Cheers, |
Beta Was this translation helpful? Give feedback.
-
Hi Volker, glad it worked that way... admittedly the getting started part of the documentation can be improved, most of the documentation is indeed written for/by Java developers. |
Beta Was this translation helpful? Give feedback.
-
@barthanssens We are in the uncomfortable situation that we utilized Blazegraph and it is dead now. There is also a 10 year and running "constriction" on the RDF Graph-DB-Market, driven by the "neuronal nets can do it all hype".
There is a pattern, you will noticed :-) I like your documentation. It is way better than that of Jena. Also I did not get the last 3 versions of Jena to install via maven. So I decided to base my trust on RDF4J. I was rewarded by your kind support and will stay here. I also will contribute as an offering to the goddess of good fortune an "Howto RDF4J for Python developers" on my company website. Cheers, |
Beta Was this translation helpful? Give feedback.
Hi Volker,
have you tried setting the
org.eclipse.rdf4j.appdata.basedir
(and if you're running tomcat as a systemd service, you might also need to modify the service file) ? That might do the trick...See also