关键还是配置两个参数driver和url
driver是驱动程序的引导类,对于oracle是oracle.jdbc.driver.OracleDriver,mysql没有用过不知道是哪个,你应该知道;mysql下url怎么配置我也不知道,你自己查吧。下面是poolman.xml文件的配置,对driver和url做一下调整就可以了,当然username和password也要调整,其他参数可以不管。<?xml version="1.0" encoding="UTF-8"?><poolman>  <management-mode>local</management-mode>  <!-- EXAMPLE 1: A minimally-configured database example -->  <datasource>    <dbname>db</dbname>
    <jndiName>jndi-db</jndiName>
    <driver>oracle.jdbc.driver.OracleDriver</driver>
    <url>jdbc:oracle:thin:@192.168.216.238:1521:ORCL</url>    <username>username</username>
    <password>password</password>    <minimumSize>0</minimumSize>
    <maximumSize>10</maximumSize>
    <userTimeout>3600</userTimeout>
    <connectionTimeout>7200</connectionTimeout>    <logFile>db.log</logFile>    <cacheEnabled>false</cacheEnabled>
    <cacheSize>2</cacheSize>
    <cacheRefreshInterval>120</cacheRefreshInterval>  </datasource></poolman>