source: VirtualCollectionRegistry/trunk/VirtualCollectionRegistry/README.txt @ 234

Last change on this file since 234 was 234, checked in by oschonef, 14 years ago
  • prepare for integration with GWDG handle service
  • add internal PID provider for test deployment
  • remove old preliminary toy handle service
  • Property svn:eol-style set to native
  • Property svn:mime-type set to text/plain
File size: 1.4 KB
Line 
1CLARIN Virtual Collection Registry
2----------------------------------
3
4The connection to the database is configured using JNDI using the
5name "jdbc/VirtualCollectionStore".
6When using Apache Tomcat add the following to the context configuration
7of the web application (by either modifying "server.xml" or providing an
8appropiate context configuration, e.g. like
9  "$CATALINA_HOME/conf/Catalina/localhost/VirtualCollectionRegistry.xml";
10if in doubt, please check the Apache Tomcat documentation):
11
12  <Resource name="jdbc/VirtualCollectionStore" auth="Container"
13            type="javax.sql.DataSource"
14            maxActive="8" maxIdle="4" maxWait="10000"
15            removeAbandoned="true"
16            defaultAutoCommit="false"
17            driverClassName="com.mysql.jdbc.Driver"
18            validationQuery="SELECT 1"
19            username="$dbuser"
20            password="$dbpass"
21            url="jdbc:mysql://127.0.0.1:3306/$dbname" />
22
23  This will configure a DBCP data source for the virtual collection registry.
24  Customize $dbuser, $dbpass and $dbname to match your local settings.
25  NOTE: currently only MySQL is supported.
26
27  Furthermore, you will need to set the base URI for virtual collection
28  registry (customize value as needed):
29  <Parameter name="pid_provider.base_uri"
30             value="http://127.0.0.1:8080/VirtualCollectionRegistry"
31             override="false"/>
Note: See TracBrowser for help on using the repository browser.