shuber 2005/11/28 12:18:38 CET
Modified files:
core/src/webapp/html/startup howto_cluster.html
Log:
- Add correction for MySQL transaction isolation level
- Correct typo on geronimo JAR name
- Added defaultAutoCommit attribute on datasource configuration.
Revision Changes Path
1.12 +23 -1 jahia/core/src/webapp/html/startup/howto_cluster.html
http://jahia.mine.nu:8080/cgi-bin/cvsweb.cgi/jahia/core/src/webapp/html/startup/howto_cluster.html.diff?r1=1.11&r2=1.12&f=h
Index: howto_cluster.html
===================================================================
RCS file:
/home/cvs/repository/jahia/core/src/webapp/html/startup/howto_cluster.html,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- howto_cluster.html 28 Nov 2005 10:15:30 -0000 1.11
+++ howto_cluster.html 28 Nov 2005 11:18:37 -0000 1.12
@@ -276,7 +276,7 @@
<p>On Tomcat 5.5 :</p>
<ol>
<li>Install Jahia or make sure you already have a
configured Jahia installation </li>
- <li>Remove jta*.jar and geronimo-jta*.jar from
tomcat/webapps/jahia/WEB-INF/lib<br />
+ <li>Remove jta*.jar and geronimo-spec-jta*.jar from
tomcat/webapps/jahia/WEB-INF/lib<br />
</li>
<li> From JOTM lib directory, copy the following JARs
into tomcat/common/lib<br />
<ul>
@@ -307,6 +307,7 @@
<span
class="red">factory="org.apache.commons.dbcp.BasicDataSourceFactory"</span>
type="javax.sql.DataSource" username="jahia"
password="jahia"
driverClassName="org.postgresql.Driver"
url="jdbc:postgresql:jahia"
+ defaultAutoCommit="false"
maxActive="100" maxIdle="30"
maxWait="10000"/></pre>
to : <br />
<br />
@@ -314,6 +315,7 @@
<span
class="red">factory="org.objectweb.jndi.DataSourceFactory"</span>
type="javax.sql.DataSource" username="jahia"
password="jahia"
driverClassName="org.postgresql.Driver"
url="jdbc:postgresql:jahia"
+ defaultAutoCommit="false"
maxActive="100" maxIdle="30"
maxWait="10000"/></pre>
</li>
<li>In
tomcat/webapps/jahia/WEB-INF/classes/treecache.xml, uncomment the following
line : <br />
@@ -349,6 +351,26 @@
</property>
</bean></pre>
</li>
+ <li><span class="red">If you are using MySQL</span>,
in tomcat/webapps/jahia/WEB-INF/etc/spring/applicationcontext-manager.xml,
modify the lines in the "txProxyTemplate" to look like this : <br />
+ <br />
+<pre class="code"><property name="transactionAttributes">
+ <props>
+ <prop
key="*">PROPAGATION_SUPPORTS,+ObjectRetrievalFailureException</prop>
+ <prop
key="save*">PROPAGATION_REQUIRED,+ObjectRetrievalFailureException</prop>
+ <prop
key="create*">PROPAGATION_REQUIRED,+ObjectRetrievalFailureException</prop>
+ <prop
key="backup*">PROPAGATION_REQUIRED,+ObjectRetrievalFailureException</prop>
+ <prop
key="delete*">PROPAGATION_REQUIRED,+ObjectRetrievalFailureException</prop>
+ <prop
key="remove*">PROPAGATION_REQUIRED,+ObjectRetrievalFailureException</prop>
+ <prop
key="update*">PROPAGATION_REQUIRED,+ObjectRetrievalFailureException</prop>
+ <prop
key="acquire*">PROPAGATION_REQUIRED,+ObjectRetrievalFailureException</prop>
+ <prop
key="release*">PROPAGATION_REQUIRED,+ObjectRetrievalFailureException</prop>
+ <prop
key="purge*">PROPAGATION_REQUIRED,+ObjectRetrievalFailureException</prop>
+ <prop
key="activate*">PROPAGATION_REQUIRED,+ObjectRetrievalFailureException</prop>
+ </props>
+</property>
+</pre>
+ This means that you should remove the
",ISOLATION_READ_UNCOMITTED" part on all the lines. <br />
+ </li>
<li> In tomcat/common/classes, add the following file
:<br />
<br />
carol.properties, with the following content
(without the BEGIN and END lines) : <br />