⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 poolmanxml.html

📁 这是一个用JSP开发的论坛源 码。。。 按照上在的README可轻松的捅有下JSP论坛
💻 HTML
📖 第 1 页 / 共 5 页
字号:
              <td width="16%">                 <div align="center"><font face="Geneva, Arial, Helvetica, san-serif" size="2">&lt;logFile&gt;</font></div>              </td>              <td width="70%">                 <p><font face="Geneva, Arial, Helvetica, san-serif" size="2">The                   PATH to a file that this pool will append logging information                   to.</font></p>                <p><font face="Geneva, Arial, Helvetica, san-serif" size="2">DEFAULT:                   System.out</font></p>              </td>              <td width="14%">                 <div align="center"><font face="Geneva, Arial, Helvetica, san-serif" size="2">no</font></div>              </td>            </tr>            <tr>               <td width="16%">                 <div align="center"><font face="Geneva, Arial, Helvetica, san-serif" size="2">&lt;debugging&gt;</font></div>              </td>              <td width="70%">                 <p><font face="Geneva, Arial, Helvetica, san-serif" size="2">Whether                   or not verbose logging information will be printed.</font></p>                <p><font face="Geneva, Arial, Helvetica, san-serif" size="2">DEFAULT:                   false</font></p>              </td>              <td width="14%">                 <div align="center"><font face="Geneva, Arial, Helvetica, san-serif" size="2">no</font></div>              </td>            </tr>          </table> 				  				<br><br>				<a name="#adminagent"></a>				<table width="100%" border="1" cellspacing="0" cellpadding="6">                  <tr>                     <td bgcolor="lightgrey" colspan="3">                       <div align="center">                        <p><b><font face="Geneva, Arial, Helvetica, san-serif">Administrative JMX Agent Attributes</font></b></p>                        <p><b><font face="Geneva, Arial, Helvetica, san-serif">&lt;admin-agent&gt;</font></b></p>                      </div>                    </td>                  </tr>				  <tr>                     <td width="16%">                       <div align="center"><font face="Geneva, Arial, Helvetica, san-serif" size="2">&lt;class&gt;</font></div>                    </td>                    <td width="70%">                      <p><font face="Geneva, Arial, Helvetica, san-serif" size="2">The                         Class of the HTML Agent implementation</font></p>                      </td>                    <td width="14%">                       <div align="center"><font face="Geneva, Arial, Helvetica, san-serif" size="2">yes</font></div>                    </td>                  </tr>				  <tr>                     <td width="16%">                       <div align="center"><font face="Geneva, Arial, Helvetica, san-serif" size="2">&lt;name&gt;</font></div>                    </td>                    <td width="70%">                      <p><font face="Geneva, Arial, Helvetica, san-serif" size="2">The                         JMX ObjectName of the agent</font></p>                      </td>                    <td width="14%">                       <div align="center"><font face="Geneva, Arial, Helvetica, san-serif" size="2">yes</font></div>                    </td>                  </tr>				  <tr>                     <td width="16%">                       <div align="center"><font face="Geneva, Arial, Helvetica, san-serif" size="2">&lt;maxClients&gt;</font></div>                    </td>                    <td width="70%">                      <p><font face="Geneva, Arial, Helvetica, san-serif" size="2">The                         maximum number of simultaneous browser-based users the                         Agent will support</font></p>                      </td>                    <td width="14%">                       <div align="center"><font face="Geneva, Arial, Helvetica, san-serif" size="2">yes</font></div>                    </td>                  </tr>				  <tr>                     <td width="16%">                       <div align="center"><font face="Geneva, Arial, Helvetica, san-serif" size="2">&lt;port&gt;</font></div>                    </td>                    <td width="70%">                      <p><font face="Geneva, Arial, Helvetica, san-serif" size="2">The                         port number on which the HTML Agent will run</font></p>                      </td>                    <td width="14%">                       <div align="center"><font face="Geneva, Arial, Helvetica, san-serif" size="2">yes</font></div>                    </td>                  </tr>				  </table>				  <br>          <b><font face="Geneva, Arial, Helvetica, san-serif">&lt;/poolman&gt;</font></b><br>          <br><br><br>				  				  <a name="template"></a>				  <table width="100%" border="1" cellspacing="0" cellpadding="6">                  <tr>                     <td bgcolor="lightgrey">                       <div align="center">                        <p><b><font face="Geneva, Arial, Helvetica, san-serif">poolman.xml template</font></b></p>                      </div>                    </td>                  </tr>				  <tr>				                <td><code>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;               </code>                <p><code>&lt;poolman&gt;</code></p>                <p> <font face="Courier New, Courier, mono" size="2">&lt;!-- ===============================================================                   --&gt;<br>                  &lt;!-- If the management-mode is JMX, then JMX will be used                   to deploy &nbsp;--&gt;<br>                  &lt;!-- all of the DataSource pools and object pools, and the                   JMX admin --&gt;<br>                  &lt;!-- will be started for HTTP-based administration of pools.                   JMX &nbsp;&nbsp;&nbsp;&nbsp;--&gt;<br>                  &lt;!-- is somewhat heavy for applications that necessarily                   require it, --&gt;<br>                  &lt;!-- and its internal ClassLoaders occasionally create conflicts.                   &nbsp;&nbsp;&nbsp;--&gt;<br>                  &lt;!-- Thus it can be commented out and not used. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;--&gt;<br>                  &lt;!-- POSSIBLE VALUES: jmx, local &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;--&gt;<br>                  &lt;!-- DEFAULT: local (JMX not used) &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;--&gt;<br>                  &lt;!-- ===============================================================                   --&gt;<br>                  &lt;management-mode&gt;jmx&lt;/management-mode&gt;</font></p>                <p> <code>&lt;!-- ==========================================================                   --&gt;<br>                &lt;!-- These entries illustrate configuration of generic non-JDBC                 --&gt;<br>                &lt;!-- object pooling. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;--&gt;<br>                &lt;!-- ==========================================================                 --&gt;<br>                &nbsp;&nbsp;&lt;objectPool&gt;<br>                &nbsp;&nbsp;&nbsp;&nbsp;&lt;name&gt;mypool&lt;/name&gt;<br>                &nbsp;&nbsp;&nbsp;&nbsp;&lt;objectType&gt;java.lang.StringBuffer&lt;/objectType&gt;<br>                &nbsp;&nbsp;&nbsp;&nbsp;&lt;initialObjects&gt;10&lt;/initialObjects&gt;<br>                &nbsp;&nbsp;&nbsp;&nbsp;&lt;minimumSize&gt;1&lt;/minimumSize&gt;<br>                &nbsp;&nbsp;&nbsp;&nbsp;&lt;maximumSize&gt;10&lt;/maximumSize&gt;<br>                &nbsp;&nbsp;&nbsp;&nbsp;&lt;objectTimeout&gt;6&lt;/objectTimeout&gt;<br>                &nbsp;&nbsp;&nbsp;&nbsp;&lt;userTimeout&gt;12&lt;/userTimeout&gt;<br>                &nbsp;&nbsp;&nbsp;&nbsp;&lt;skimmerFrequency&gt;300&lt;/skimmerFrequency&gt;<br>                &nbsp;&nbsp;&nbsp;&nbsp;&lt;shrinkBy&gt;2&lt;/shrinkBy&gt;<br>                &nbsp;&nbsp;&nbsp;&nbsp;&lt;logFile&gt;c:\code\src\poolman\lib\pool.log&lt;/logFile&gt;<br>                &nbsp;&nbsp;&nbsp;&nbsp;&lt;debugging&gt;true&lt;/debugging&gt;<br>                &nbsp;&nbsp;&lt;/objectPool&gt;</code></p>              <p><code><br>                &nbsp;&nbsp;&lt;!-- =========================================================                 --&gt;<br>                &nbsp;&nbsp;&lt;!-- These entries are an example of JDBC Connection                 pooling.&nbsp;&nbsp;--&gt;<br>                &nbsp;&nbsp;&lt;!-- Many of the parameters are optional. Consult                 the &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;--&gt;<br>                &nbsp;&nbsp;&lt;!-- UsersGuide.html doument for guidance and element                 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;--&gt; <br>                &nbsp;&nbsp;&lt;!-- definitions. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;--&gt;<br>                &nbsp;&nbsp;&lt;!-- =========================================================                 --&gt;</code></p>              <p> <code>&nbsp;&nbsp;&lt;datasource&gt;</code></p>              <p> <code>&nbsp;&nbsp;&nbsp;&nbsp;&lt;!-- ==============================                 --&gt;<br>                &nbsp;&nbsp;&nbsp;&nbsp;&lt;!-- Physical Connection Attributes                 --&gt;<br>                &nbsp;&nbsp;&nbsp;&nbsp;&lt;!-- ==============================                 --&gt;</code></p>              <p> <code>&nbsp;&nbsp;&nbsp;&nbsp;&lt;!-- Standard JDBC Driver info                 --&gt;<br>                &nbsp;&nbsp;&nbsp;&nbsp;&lt;dbname&gt;testdb&lt;/dbname&gt;<br>                &nbsp;&nbsp;&nbsp;&nbsp;&lt;jndiName&gt;jndi-testdb&lt;/jndiName&gt;<br>                &nbsp;&nbsp;&nbsp;&nbsp;&lt;driver&gt;org.postgresql.Driver&lt;/driver&gt;<br>                &nbsp;&nbsp;&nbsp;&nbsp;&lt;url&gt;jdbc:postgresql://seamus:5432/empire&lt;/url&gt;<br>                &nbsp;&nbsp;&nbsp;&nbsp;&lt;username&gt;poolman&lt;/username&gt;<br>                &nbsp;&nbsp;&nbsp;&nbsp;&lt;password&gt;p00lm4n&lt;/password&gt;</code></p>              <p><code><br>                &nbsp;&nbsp;&nbsp;&nbsp;&lt;!-- If the following element is set                 to true, then PoolMan's &nbsp;--&gt;<br>                &nbsp;&nbsp;&nbsp;&nbsp;&lt;!-- scrollable/updatable ResultSet                 will not be used, and the --&gt;<br>                &nbsp;&nbsp;&nbsp;&nbsp;&lt;!-- underlying driver's ResultSet                 will be used instead. This --&gt;<br>                &nbsp;&nbsp;&nbsp;&nbsp;&lt;!-- provides a performance gain in                 certain rare instances at&nbsp;--&gt;<br>                &nbsp;&nbsp;&nbsp;&nbsp;&lt;!-- the expense of functionality.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;                 --&gt;<br>                &nbsp;&nbsp;&nbsp;&nbsp;&lt;!-- DEFAULT: false &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;--&gt;<br>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -