User: mulder
Date: 00/09/29 13:54:26
Modified: manual adv_config.html index.html
Log:
Fix some typos and add the beginning of a data pool configuration example
section.
Revision Changes Path
1.5 +65 -2 jbossweb/manual/adv_config.html
Index: adv_config.html
===================================================================
RCS file: /products/cvs/ejboss/jbossweb/manual/adv_config.html,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- adv_config.html 2000/09/19 14:28:35 1.4
+++ adv_config.html 2000/09/29 20:54:25 1.5
@@ -48,7 +48,7 @@
ZIP or JAR files. You should copy those files to the
<strong>lib/ext</strong> directory under your jBoss installation
directory. In addition, you need to change one line in the file
- <code>jboss.conf</code> located in the <strong>conf</strong>
+ <code>jboss.properties</code> located in the <strong>conf</strong>
directory. Find the property named <code>jdbc.drivers</code>, and
add your product's driver class name to the list of drivers. The
drivers in the list should be separated by commas. Here's an
@@ -275,7 +275,7 @@
<td>0.33</td>
</tr>
<tr>
- <td>ShrinkMinIdleTime"</td>
+ <td>ShrinkMinIdleTime</td>
<td>Set the minimum idle time (in milliseconds) before a
connection is eligible for shrinking.</td>
<td>600000 (10m)</td>
@@ -292,6 +292,69 @@
<td>false</td>
</tr>
</table>
+
+ <h3><a NAME="poolex">Connection Pool Configuration Examples</a></h3>
+ <p>Here are some sample database pool configuration file exerpts
+ for a variety of database products. Note that your
+ configuration may differ slightly if you're using a different
+ version, different JDBC driver, etc. The parameters you are
+ most likely to need to change are in <b>bold</b>.</p>
+ <ul>
+ <li>Oracle
+ <ul>
+ <li>jboss.properties
+<pre>
+jdbc.drivers=oracle.jdbc.driver.OracleDriver
+</pre>
+ </li>
+ <li>jboss.conf
+<pre>
+<MLET CODE="org.jboss.jdbc.XADataSourceLoader" ARCHIVE="jboss.jar"
CODEBASE="../lib/ext/">
+ <ARG TYPE="java.lang.String" VALUE="<b>OracleDB</b>">
+ <ARG TYPE="java.lang.String"
VALUE="org.jboss.minerva.xa.XADataSourceImpl">
+</MLET>
+</pre>
+ </li>
+ <li>jboss.jcml
+<pre>
+ <mbean name="DefaultDomain:service=XADataSource,name=<b>OracleDB</b>">
+ <attribute
name="URL">jdbc:oracle:thin:@<b>host.domain.com</b>:1521:<b>instance</b></attribute>
+ <attribute name="Password"><b>scott</b></attribute>
+ <attribute name="JDBCUser"><b>tiger</b></attribute>
+ </mbean>
+</pre>
+ </li>
+ </ul>
+ </li>
+
+ <li>Hypersonic</li>
+ <ul>
+ <li>jboss.properties
+<pre>
+jdbc.drivers=org.hsql.jdbcDriver
+</pre>
+ </li>
+ <li>jboss.conf
+<pre>
+<MLET CODE="org.jboss.jdbc.XADataSourceLoader" ARCHIVE="jboss.jar"
CODEBASE="../lib/ext/">
+ <ARG TYPE="java.lang.String" VALUE="<b>Hypersonic</b>">
+ <ARG TYPE="java.lang.String"
VALUE="org.jboss.minerva.xa.XADataSourceImpl">
+</MLET>
+</pre>
+ </li>
+ <li>jboss.jcml
+<pre>
+ <mbean name="DefaultDomain:service=XADataSource,name=<b>Hypersonic</b>">
+ <attribute
name="URL">jdbc:HypersonicSQL:hsql://<b>localhost</b></attribute>
+ <attribute name="JDBCUser"><b>sa</b></attribute>
+ </mbean>
+</pre>
+ </li>
+ </ul>
+
+ <li><i>Others Forthcoming...</i></li>
+ </ul>
+
<h2><a NAME="logging">Logging</a></h2>
<p>jBoss has a configurable logging system. You can adjust both
1.8 +2 -0 jbossweb/manual/index.html
Index: index.html
===================================================================
RCS file: /products/cvs/ejboss/jbossweb/manual/index.html,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- index.html 2000/09/19 14:28:36 1.7
+++ index.html 2000/09/29 20:54:25 1.8
@@ -44,6 +44,8 @@
<p CLASS="tc4"><a CLASS="plain" HREF="adv_config.html#jdbc2">The JDBC
2.0 Optional Package</a></p>
<p CLASS="tc4"><a CLASS="plain"
HREF="adv_config.html#changes">Configuration File Changes</a></p>
<p CLASS="tc4"><a CLASS="plain"
HREF="adv_config.html#params">Connection Pool Parameters</a></p>
+ <p CLASS="tc3"><a CLASS="plain" HREF="adv_config.html#poolex">Connection
Pool Configuration Examples</a></p>
+
<p CLASS="tc2"><a CLASS="plain"
HREF="adv_config.html#logging">Logging</a></p>
<p CLASS="tc3"><a CLASS="plain" HREF="adv_config.html#limiting">Limiting
Log Output</a></p>
<p CLASS="tc3"><a CLASS="plain" HREF="adv_config.html#dest">Logging to
File, GUI, DB, etc.</a></p>