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=&quot;org.apache.commons.dbcp.BasicDataSourceFactory&quot;</span>
             type=&quot;javax.sql.DataSource&quot; username=&quot;jahia&quot; 
password=&quot;jahia&quot;
             driverClassName=&quot;org.postgresql.Driver&quot; 
url=&quot;jdbc:postgresql:jahia&quot;
  +          defaultAutoCommit=&quot;false&quot;
             maxActive=&quot;100&quot; maxIdle=&quot;30&quot; 
maxWait=&quot;10000&quot;/&gt;</pre> 
                            to : <br />
                              <br />
  @@ -314,6 +315,7 @@
             <span 
class="red">factory=&quot;org.objectweb.jndi.DataSourceFactory&quot;</span>
             type=&quot;javax.sql.DataSource&quot; username=&quot;jahia&quot; 
password=&quot;jahia&quot;
             driverClassName=&quot;org.postgresql.Driver&quot; 
url=&quot;jdbc:postgresql:jahia&quot;
  +          defaultAutoCommit=&quot;false&quot;
             maxActive=&quot;100&quot; maxIdle=&quot;30&quot; 
maxWait=&quot;10000&quot;/&gt;</pre>
                          </li>
                          <li>In 
tomcat/webapps/jahia/WEB-INF/classes/treecache.xml, uncomment the following 
line : <br />
  @@ -349,6 +351,26 @@
     &lt;/property&gt;
   &lt;/bean&gt;</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 &quot;txProxyTemplate&quot; to look like this : <br />
  +                         <br />
  +<pre class="code">&lt;property name=&quot;transactionAttributes&quot;&gt;
  +  &lt;props&gt;
  +    &lt;prop 
key=&quot;*&quot;&gt;PROPAGATION_SUPPORTS,+ObjectRetrievalFailureException&lt;/prop&gt;
  +    &lt;prop 
key=&quot;save*&quot;&gt;PROPAGATION_REQUIRED,+ObjectRetrievalFailureException&lt;/prop&gt;
  +    &lt;prop 
key=&quot;create*&quot;&gt;PROPAGATION_REQUIRED,+ObjectRetrievalFailureException&lt;/prop&gt;
  +    &lt;prop 
key=&quot;backup*&quot;&gt;PROPAGATION_REQUIRED,+ObjectRetrievalFailureException&lt;/prop&gt;
  +    &lt;prop 
key=&quot;delete*&quot;&gt;PROPAGATION_REQUIRED,+ObjectRetrievalFailureException&lt;/prop&gt;
  +    &lt;prop 
key=&quot;remove*&quot;&gt;PROPAGATION_REQUIRED,+ObjectRetrievalFailureException&lt;/prop&gt;
  +    &lt;prop 
key=&quot;update*&quot;&gt;PROPAGATION_REQUIRED,+ObjectRetrievalFailureException&lt;/prop&gt;
  +    &lt;prop 
key=&quot;acquire*&quot;&gt;PROPAGATION_REQUIRED,+ObjectRetrievalFailureException&lt;/prop&gt;
  +    &lt;prop 
key=&quot;release*&quot;&gt;PROPAGATION_REQUIRED,+ObjectRetrievalFailureException&lt;/prop&gt;
  +    &lt;prop 
key=&quot;purge*&quot;&gt;PROPAGATION_REQUIRED,+ObjectRetrievalFailureException&lt;/prop&gt;
  +    &lt;prop 
key=&quot;activate*&quot;&gt;PROPAGATION_REQUIRED,+ObjectRetrievalFailureException&lt;/prop&gt;
  +  &lt;/props&gt;
  +&lt;/property&gt;
  +</pre>
  +                       This means that you should remove the 
&quot;,ISOLATION_READ_UNCOMITTED&quot; 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 />
  

Reply via email to