H2 choice - ACS - Reference Guides

ACS Installation and Administration Guide

Product
ACS
AFS_Version
7.11
Category
Reference Guides
language
English
audience
public

For light installation with few users, H2 database avoid dealing with an external database installation and administration.

There is no installation procedure relative to H2, you only have to configure CKS Server to use H2 database.

1. CKS Server configuration

Edit the file /usr/local/afs7/cks-server/conf/cks.wsc and add or update the following section:

<?xml version="1.0" encoding="UTF-8" standalone="no"?><Conf xmlns="http://www.antidot.net/core/configuration" xmlns:c="http://www.antidot.net/cks/ws/configuration" xmlns:w="http://www.antidot.net/ws/core/configuration" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<c:CKSModule id="CKS">
<c:Database>
<Driver>org.h2.Driver</Driver>
<URL>jdbc:h2:tcp://localhost/CKS</URL>
<Hibernate>
<Dialect>org.hibernate.dialect.H2Dialect</Dialect>
<ShowSQL>false</ShowSQL>
</Hibernate>
</c:Database>
</c:CKSModule>
</Conf>