Monday, March 11, 2013

Configuring Sesame 2.6.10 data-directory without using System properties

Thanks to Peter Ansell who helped me track this undocumented configuration option in Sesame.

In the openrdf-http-server-servlet.xml file the adunaAppConfig bean (class: info.aduna.app.AppConfiguration) can accept a dataDir property with the value of the data-directory.

I haven't found this documented anywhere, so I hope this helps someone. Probably that person will be me next time I need to configure Sesame.

The fragment in question:

    <bean class="info.aduna.app.AppConfiguration" 
             destroy-method="destroy" id="adunaAppConfig" 
             init-method="init">
        <property name="applicationId" value="OpenRDF Sesame">
        <property name="longName" value="OpenRDF Sesame">
        <property name="version" ref="adunaAppVersion">
        <property name="dataDirName" value="/var/lib/aduna">
    </bean>

2 comments:

Unknown said...

I am very pleased and read on your website. I hope you can also visit my website kata kata cinta , kata kata mutiara , operatorku greetings from Indonesia.

Unknown said...

Hey if you need some help with computer science you can ask here http://termpaperhub ,it helped me a lot!