Note | ||
---|---|---|
| ||
Content of this page applies to The content below is for Apache Syncope ><= 1.1.X2 - for later versions the Getting Started guide is available. |
Table of Contents | ||
---|---|---|
|
Introduction
Starting from Apache Syncope 1.1.0 a standalone package is available, containing a full working distribution.
Running
- be sure that hostname is resolved either via
hosts
file or DNS server - unzip the distribution archive
- go into the Apache Tomcat directory
- start Apache Tomcat
Unix
Code Block
...
$ chmod 755 ./bin/*.sh $ ./bin/startup.sh
Windows
Code Block
...
bin/startup.bat
Please refer to Apache Tomcat documentation for more advanced setup and instructions.
Internal storage
By default, the standalone distribution is configured for using an in-memory database instance. This means that every time Tomcat is shut down all changes made are lost.
If you want instead to make your changes persistent, replace
Code Block |
---|
jpa.url=jdbc:h2:mem:syncopedb;DB_CLOSE_DELAY=-1
|
with
Code Block |
---|
jpa.url=jdbc:h2:~/syncopedb;DB_CLOSE_DELAY=-1
|
in webapps/syncope/WEB-INF/classes/persistence.properties
from the Apache Tomcat directory. This will create H2 database files in the home directory of the user running Apache Syncope.
Please refer to H2 documentation for more options.
Components available
The set of available components, including access URLs and credentials, is the same as report for embedded mode.