...
Code Block | ||
---|---|---|
| ||
<Context path="/fcrepo">
<Resource name="jdbc/fcrepo" auth="Container" type="javax.sql.DataSource"
username="***********" password="*************" driverClassName="com.mysql.jdbc.Driver"
url="jdbc:mysql://127.0.0.1:3306/fcrepo?createDatabaseIfNotExist=true"
factory="org.apache.commons.dbcp.BasicDataSourceFactory" />
</Context>
|
- Modify Infinispan configuration
In inifinispan.xml :
Comment out <jdbc:connection-pool /> element.
Uncomment <jdbc:data-source /> element and set it as follows (to match the JNDI resource defined above):
Code Block | ||
---|---|---|
| ||
<jdbc:data-source jndi-url="java:comp/env/jdbc/fcrepo"/> |
Modeshape 5.x
Databases tested with the experimental Modeshape 5.0 branch:
...