I ran in the very same problem (Tomcat running as a service on Windows - which I assume is your case)
this is what I had to do https://stackoverflow.com/questions/40456863/setting-user-environment-variables-for-tomcat-on-windows while on the console you must use tomcat8 //US//YourServiceName ++Environment varname=value 2018-02-22 15:15 GMT-05:00 Chris Tomlinson <[email protected]>: > Hi Christian, > > Are you sure that the FUSEKI_BASE is defined in the environment when > tomcat is run? If you’re running tomcat as a service on Linux, for example, > then you would need to add the export to the service or systemd definition > that is used to run tomcat. > > Chris > > > On Feb 22, 2018, at 12:26 PM, Christian Schwaderer < > [email protected]> wrote: > > > > Hi Chris, > > > > > > thanks for that hint. However, it didn't work for me. Even after > rebooting the system, the error is still the same: > "org.apache.jena.fuseki.FusekiConfigException: > FUSEKI_BASE is not writable: /etc/fuseki" > > > > However, > > > > echo $FUSEKI_BASE > > > > gives me the changed directory. > > > > > > Best, > > > > Christian > > > > > > > > ________________________________ > > Von: Chris Tomlinson <[email protected]> > > Gesendet: Donnerstag, 22. Februar 2018 17:45 > > An: [email protected] > > Betreff: Re: Fuseki as Tomcat app: Setting FUSEKI_BASE > > > > Hi Christian, > > > > You will need to ensure that FUSEKI_BASE is defined in the environment > the tomcat is run in, like: > > > > export FUSEKI_BASE=/usr/local/fuseki/base > > > > Chris > > > > > >> On Feb 22, 2018, at 10:57 AM, Christian Schwaderer < > [email protected]> wrote: > >> > >> Dear all, > >> > >> my question might be stupid and rather basic, but I cannot find an > answer anywhere. > >> > >> > >> So, I set up Fuseki 2.3 as a Tomcat 7 Web app. However, I cannot start > it, since > >> > >> "org.apache.jena.fuseki.FusekiConfigException: FUSEKI_BASE is not > writable: /etc/fuseki" > >> > >> > >> I now want to change FUSEKI_BASE to a different directoy - where I can > safely change permissions (what I would consider a bad idea for /etc...). > >> > >> > >> But I have no idea where and how to do that. > >> > >> > >> Thanks in advance and best, > >> > >> Christian > >> > > > >
