syncope-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From conflue...@apache.org
Subject [CONF] Apache Syncope > Run Syncope standalone distribution
Date Thu, 18 Apr 2013 14:58:00 GMT
<html>
<head>
    <base href="https://cwiki.apache.org/confluence">
            <link rel="stylesheet" href="/confluence/s/2042/9/3/_/styles/combined.css?spaceKey=SYNCOPE&amp;forWysiwyg=true"
type="text/css">
    </head>
<body style="background: white;" bgcolor="white" class="email-body">
<div id="pageContent">
<div id="notificationFormat">
<div class="wiki-content">
<div class="email">
    <h2><a href="https://cwiki.apache.org/confluence/display/SYNCOPE/Run+Syncope+standalone+distribution">Run
Syncope standalone distribution</a></h2>
    <h4>Page <b>edited</b> by             <a href="https://cwiki.apache.org/confluence/display/~ilgrosso">Francesco
Chicchiricco</a>
    </h4>
        <br/>
                         <h4>Changes (1)</h4>
                                 
    
<div id="page-diffs">
                    <table class="diff" cellpadding="0" cellspacing="0">
    
            <tr><td class="diff-snipped" >...<br></td></tr>
            <tr><td class="diff-unchanged" >Please refer to [Apache Tomcat documentation|http://tomcat.apache.org/tomcat-7.0-doc/]
for more advanced setup and instructions. <br> <br></td></tr>
            <tr><td class="diff-added-lines" style="background-color: #dfd;">h2.
Internal storage <br> <br>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. <br> <br>If you want instead to make your changes persistent,
replace <br> <br>{code} <br>jpa.url=jdbc:h2:mem:syncopedb;DB_CLOSE_DELAY=-1
 <br>{code} <br> <br>with <br> <br>{code} <br>jpa.url=jdbc:h2:syncopedb
 <br>{code} <br> <br>in {{webapps/syncope/WEB-INF/classes/persistence.properties}}
from the Apache Tomcat directory. <br> <br>Please refer to [H2 documentation|http://www.h2database.com/]
 for more options. <br> <br></td></tr>
            <tr><td class="diff-unchanged" >h1. Components available <br>
<br></td></tr>
            <tr><td class="diff-snipped" >...<br></td></tr>
    
            </table>
    </div>                            <h4>Full Content</h4>
                    <div class="notificationGreySide">
        <div class='panelMacro'><table class='noteMacro'><colgroup><col
width='24'><col></colgroup><tr><td valign='top'><img src="/confluence/images/icons/emoticons/warning.gif"
width="16" height="16" align="absmiddle" alt="" border="0"></td><td><b>Version
warning</b><br />Content of this page applies to Apache Syncope &gt;= 1.1.X</td></tr></table></div>

<style type='text/css'>/*<![CDATA[*/
div.rbtoc1366297038419 {margin-left: 1.5em;padding: 0px;}
div.rbtoc1366297038419 ul {list-style: decimal;margin-left: 0px;}
div.rbtoc1366297038419 li {margin-left: 0px;padding-left: 0px;}

/*]]>*/</style><div class='rbtoc1366297038419'>
<ul>
    <li><a href='#RunSyncopestandalonedistribution-Introduction'>Introduction</a></li>
    <li><a href='#RunSyncopestandalonedistribution-Running'>Running</a></li>
<ul>
    <li><a href='#RunSyncopestandalonedistribution-Internalstorage'>Internal storage</a></li>
</ul>
    <li><a href='#RunSyncopestandalonedistribution-Componentsavailable'>Components
available</a></li>
</ul></div>

<h1><a name="RunSyncopestandalonedistribution-Introduction"></a>Introduction</h1>

<p>Starting from Apache Syncope 1.1.0 a standalone package is <a href="http://syncope.apache.org/downloads.html"
class="external-link" rel="nofollow">available</a>,&nbsp;containing a full working
distribution.</p>

<h1><a name="RunSyncopestandalonedistribution-Running"></a>Running</h1>

<ol>
	<li>unzip the distribution archive</li>
	<li>go into the Apache Tomcat directory</li>
	<li>start Apache Tomcat
	<ul>
		<li>Unix
<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="code-java">
$ chmod 755 ./bin/*.sh
$ ./bin/startup.sh
</pre>
</div></div></li>
		<li>Windows
<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="code-java">
bin/startup.bat
</pre>
</div></div></li>
	</ul>
	</li>
</ol>


<p>Please refer to <a href="http://tomcat.apache.org/tomcat-7.0-doc/" class="external-link"
rel="nofollow">Apache Tomcat documentation</a> for more advanced setup and instructions.</p>

<h2><a name="RunSyncopestandalonedistribution-Internalstorage"></a>Internal
storage</h2>

<p>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.</p>

<p>If you want instead to make your changes persistent, replace</p>

<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="code-java">
jpa.url=jdbc:h2:mem:syncopedb;DB_CLOSE_DELAY=-1 
</pre>
</div></div>

<p>with</p>

<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="code-java">
jpa.url=jdbc:h2:syncopedb 
</pre>
</div></div>

<p>in <tt>webapps/syncope/WEB-INF/classes/persistence.properties</tt> from
the Apache Tomcat directory.</p>

<p>Please refer to <a href="http://www.h2database.com/" class="external-link" rel="nofollow">H2
documentation</a>  for more options.</p>

<h1><a name="RunSyncopestandalonedistribution-Componentsavailable"></a>Components
available</h1>

<p>The set of available components, including access URLs and credentials, is the same
as report for <a href="/confluence/display/SYNCOPE/Run+Syncope+in+embedded+mode#RunSyncopeinembeddedmode-Componentsavailable">embedded
mode</a>.</p>
    </div>
        <div id="commentsSection" class="wiki-content pageSection">
        <div style="float: right;">
            <a href="https://cwiki.apache.org/confluence/users/viewnotifications.action"
class="grey">Change Notification Preferences</a>
        </div>
        <a href="https://cwiki.apache.org/confluence/display/SYNCOPE/Run+Syncope+standalone+distribution">View
Online</a>
        |
        <a href="https://cwiki.apache.org/confluence/pages/diffpagesbyversion.action?pageId=30760483&revisedVersion=4&originalVersion=3">View
Changes</a>
                |
        <a href="https://cwiki.apache.org/confluence/display/SYNCOPE/Run+Syncope+standalone+distribution?showComments=true&amp;showCommentArea=true#addcomment">Add
Comment</a>
            </div>
</div>
</div>
</div>
</div>
</body>
</html>

Mime
View raw message