-
-
Save brmeyer/83b4b33647fdb5e61303 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Context> | |
<Resource name="jdbc/sramp" auth="Container" type="javax.sql.DataSource" username="sa" password="" | |
driverClassName="org.h2.Driver" url="jdbc:h2:file:overlord-data/sramp" | |
testWhileIdle="true" | |
testOnBorrow="true" | |
testOnReturn="false" | |
validationQuery="SELECT 1" | |
validationInterval="30000" | |
timeBetweenEvictionRunsMillis="30000" | |
maxActive="100" | |
minIdle="10" | |
maxWait="10000" | |
initialSize="10" | |
removeAbandonedTimeout="60" | |
removeAbandoned="true" | |
logAbandoned="true" | |
minEvictableIdleTimeMillis="30000" | |
defaultAutoCommit="true" /> | |
</Context> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<infinispan | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="urn:infinispan:config:5.2 http://www.infinispan.org/schemas/infinispan-config-5.2.xsd | |
urn:infinispan:config:jdbc:5.2 http://www.infinispan.org/schemas/infinispan-cachestore-jdbc-config-5.2.xsd" | |
xmlns="urn:infinispan:config:5.2" | |
xmlns:jdbc="urn:infinispan:config:jdbc:5.2" > | |
<global> | |
</global> | |
<default> | |
</default> | |
<namedCache name="sramp"> | |
<loaders passivation="false" shared="false" preload="false"> | |
<jdbc:stringKeyedJdbcStore xmlns="urn:infinispan:config:jdbc:5.2" | |
fetchPersistentState="true" ignoreModifications="false" purgeOnStartup="false"> | |
<jdbc:dataSource jndiUrl="java:comp/env/jdbc/sramp" xmlns="urn:infinispan:config:jdbc:5.2"/> | |
<stringKeyedTable | |
dropOnExit="false" createOnStart="true" prefix="ISPN_STRING_TABLE"> | |
<idColumn name="ID_COLUMN" type="VARCHAR(255)" /> | |
<dataColumn name="DATA_COLUMN" type="BINARY" /> | |
<timestampColumn name="TIMESTAMP_COLUMN" type="BIGINT" /> | |
</stringKeyedTable> | |
</jdbc:stringKeyedJdbcStore> | |
</loaders> | |
<transaction | |
transactionManagerLookupClass="org.infinispan.transaction.lookup.DummyTransactionManagerLookup" | |
transactionMode="TRANSACTIONAL" lockingMode="PESSIMISTIC" /> | |
</namedCache> | |
</infinispan> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name" : "sramp", | |
"jndiName" : "", | |
"workspaces" : { | |
"predefined" : ["otherWorkspace"], | |
"default" : "default", | |
"allowCreation" : true | |
}, | |
"security" : { | |
"anonymous" : { | |
"roles" : ["readonly","readwrite","admin"], | |
"useOnFailedLogin" : false | |
}, | |
"providers" : [ | |
{ | |
"classname" : "org.modeshape.jcr.security.ServletProvider" | |
} | |
] | |
},"storage": { | |
"cacheName": "sramp", | |
"cacheConfiguration" : "infinispan-configuration-webapp.xml", | |
"binaryStorage": { | |
"type" : "database", | |
"dataSourceJndiName" : "java:comp/env/jdbc/sramp", | |
"minimumBinarySizeInBytes" : "${application.min.binary.size:4096}" | |
} | |
},"query" : { | |
"indexStorage" : { | |
"type" : "filesystem", | |
"location" : "overlord-data/index", | |
"lockingStrategy" : "simple", | |
"fileSystemAccessType" : "auto" | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment