[infinispan-issues] [JBoss JIRA] Commented: (ISPN-636) Need a way to apply je.* properties to BdbjeCacheStore's EnvironmentConfig without using je.properties.

Galder Zamarreño (JIRA) jira-events at lists.jboss.org
Thu Sep 23 10:56:28 EDT 2010


    [ https://jira.jboss.org/browse/ISPN-636?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12552759#action_12552759 ] 

Galder Zamarreño commented on ISPN-636:
---------------------------------------

Hmmmm, how different would that be having a separate je.properties file? In both cases you'd need an external file.

I think, and I might be mistaken here, that what Supin was looking for was to be able to define all je properties via infinispan.xml file cos having a separate file was impractical, i.e.

         <loader class="org.infinispan.loaders.bdbje.BdbjeCacheStore" fetchPersistentState="true"
                 ignoreModifications="true" purgeOnStartup="true">
            <properties>
               <property name="je.log.useODSYN" value="true"/>
            </properties>
         </loader>

> Need a way to apply je.* properties to BdbjeCacheStore's EnvironmentConfig without using je.properties.
> -------------------------------------------------------------------------------------------------------
>
>                 Key: ISPN-636
>                 URL: https://jira.jboss.org/browse/ISPN-636
>             Project: Infinispan
>          Issue Type: Feature Request
>          Components: Configuration
>    Affects Versions: 4.1.0.Final
>            Reporter: Supin Ko
>            Assignee: Manik Surtani
>             Fix For: 4.2.0.BETA1, 4.2.0.Final
>
>
> There are a number of Sleepycat-specific properties that I need to set in the EnvironmentConfig for BdbjeCacheStore, for example, "je.log.useODSYNC=true". Since we will have many different cache directories (one per customer), it becomes impractical to have use the je.properties file. 
> Since these properties would be the same for all cache instances, it makes sense for them to be in the cache server's config file. This might entail modifying the infinispan/default/loaders/loader/properties element to accomodate implementation-specific properties. Or, it could be done using a naming convention for the properties, for example, apply everything that starts with "je." to the BDBJE EnvironmentConfig.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       



More information about the infinispan-issues mailing list