User: tobias
Date: 00/11/25 03:25:15
Modified: manual adv_config.html
Log:
added configuration example for mySQL. Fixes bug #220.
Revision Changes Path
1.2 +41 -0 newsite/manual/adv_config.html
Index: adv_config.html
===================================================================
RCS file: /products/cvs/ejboss/newsite/manual/adv_config.html,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- adv_config.html 2000/11/12 20:32:05 1.1
+++ adv_config.html 2000/11/25 11:25:15 1.2
@@ -632,6 +632,47 @@
<li>CMP Type Mapping Name (for jaws.xml): <code>InterBase</code></li>
</ul>
</li>
+
+
+ <li><a href="http://www.mysql.com">mySQL</a> 3.23.24-beta
+ <ul>
+ <li>Notes:<br>
+ mySQL does not support transactions before version 3.23.15 (experimental
support). Check the consequences for your configuration.
+ <li>get mm.mysql-2.0.2-bin.jar from <a
href="http://www.worldserver.com/mm.mysql/">http://www.worldserver.com/mm.mysql/</a><br>
+ copy the jar to lib/ext/<p></li>
+ <li>jboss.properties:<br>
+ <code>jdbc.drivers=org.gjt.mm.mysql.Driver</code><p></li>
+ <li>jboss.conf:<br>
+ <pre><MLET CODE="org.jboss.jdbc.XADataSourceLoader" ARCHIVE="jboss.jar"
+CODEBASE="../../lib/ext/">
+ <ARG TYPE="java.lang.String" VALUE="mySQL">
+ <ARG TYPE="java.lang.String"
VALUE="org.jboss.minerva.xa.XADataSourceImpl">
+</MLET>
+</pre></li>
+ <li>jboss.jcml:<br>
+At least adjust URL, JDBCUser and Password in the following:
+<pre><mbean name="DefaultDomain:service=XADataSource,name=mySQL">
+ <attribute name="Properties"></attribute>
+ <attribute
name="URL">jdbc:mysql:<b>//host/databasename</b></attribute>
+ <attribute name="GCMinIdleTime">1200000</attribute>
+ <attribute
name="JDBCUser"><b>EnterDatabaseUserHere</b></attribute>
+ <attribute name="MaxSize">10</attribute>
+ <attribute
name="Password"><b>EnterDatabasePasswordHere</b></attribute>
+ <attribute name="GCEnabled">false</attribute>
+ <attribute name="InvalidateOnError">false</attribute>
+ <attribute name="TimestampUsed">false</attribute>
+ <attribute name="Blocking">true</attribute>
+ <attribute name="GCInterval">120000</attribute>
+ <attribute name="IdleTimeout">1800000</attribute>
+ <attribute name="IdleTimeoutEnabled">false</attribute>
+ <attribute name="LoggingEnabled">false</attribute>
+ <attribute name="MaxIdleTimeoutPercent">1.0</attribute>
+ <attribute name="MinSize">0</attribute>
+</mbean>
+</pre></li>
+ <li>CMP mapping in jaws.xml:<br>
+ mySQL</li>
+ </ul>
</ul>