Thanks John. That is exactly what I used. It worked perfectly. Now I am
trying to figure out how to register a dataset.

On Tue, Jan 13, 2015 at 10:57 AM, Andy Seaborne <[email protected]> wrote:

> Excellent - that's exactly what's needed.  It's not something to change
> while the server running.
>
> I don't think there is any solution to the "don't control tomcat
> installation" problem except a well-known location like /etc/fuseki.  If
> you don't have access to the tomcat installation, you're unlike to have
> access to /etc/defaults or anywhere else in system space.
>
> The choice of /etc/fuseki is fairly arbitrarily modelled on /etc/httpd
> /etc/apache2.  Some system might prefer /var/lib/fuseki.  The default could
> be path to find the first existing place on the path.
>
> The place can have symbolic links - important for controlled the disk
> location of databases (SSD are good!).
>
> And what should it be for MSWindows? (I'm not a windows server/services
> user).
>
>         Andy
>
>
> On 12/01/15 12:21, John A. Fereira wrote:
>
>> The startup script for Tomcat (catatalina.sh or catalina.bat) will check
>> for the existence of a  setenv.sh or setenv.bat file in the
>> $TOMCAT_HOME/bin directory and "source" it if it exists.   That's usually
>> where I put any environment variables that I want to set that are needed by
>> a web app.  It's a good place to add variables used by the JVM (e.g. for
>> explicitly setting min/max memory or garbage collection) as well.
>>
>> -----Original Message-----
>> From: Andy Seaborne [mailto:[email protected]]
>> Sent: Monday, January 12, 2015 6:27 AM
>> To: [email protected]
>> Subject: Re: Fuseki with a web.xml
>>
>> On 11/01/15 12:35, Trevor Donaldson wrote:
>>
>>> I did see that /etc/fuseki error when I dropped the war file in
>>> tomcat. I want sure how to change fuseki_base? Any I dead how to get
>>> the war to work in tomcat?
>>>
>>
>> FUSEKI_BASE is an environment variable and can be set in whatever way you
>> prefer for environment variables.  Usually, before invoking Tomcat ...
>> which is tricky when it's a service).
>>
>> And, in fact, -DFUSEKI_HOME also works 'cos I got bored by the fact that
>> Java does not have System.setenv.
>>
>> /etc/fuseki can be a symbolic link.
>>
>>         Andy
>>
>>  On Jan 11, 2015 5:10 AM, "Andy Seaborne" <[email protected]> wrote:
>>>
>>>  Thanks the links worked. I have the war. The question I have is can I
>>>>
>>>>> overwrite the shiro.ini file? I see the war but everything is
>>>>>>> already packaged.
>>>>>>>
>>>>>>>
>>>>>>  Just to follow up on this point.
>>>>
>>>> The server builds its work area the first time - you can edit these
>>>> files.  They don't get overwritten next time.
>>>>
>>>> In the WAR version, run once, and shiro.ini file will be in
>>>> $FUSEKI_BASE/shiro.ini which is /etc/fuseki/shiro.ini by default.
>>>>
>>>>           Andy
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>
>>
>

Reply via email to