...
Note, the ispn
database must be manually created, but the tables will be automatically created.
JNDI Configuration
For both of the configuration above, you may alternatively use JNDI to connect to the MySQL or PostgreSQL databases. Notes for doing that:
- Add factory="org.apache.commons.dbcp.BasicDataSourceFactory" to the Resource element the fcrepo context file (fcrepo.xml)
- Set jndi-url="java:comp/env/jdbc/ispn" in the jdbc:data-source element in the infinispan.xml configuration file