<Resource auth="Container" defaultAutoCommit="true" driverClassName="oracle.jdbc.driver.OracleDriver"
maxActive="10" maxIdle="10" maxWait="100" name="jdbc/mydbname" username="myname" password="mypassword" removeAbandoned="true" removeAbandonedTimeout="10" type="javax.sql.DataSource" url="jdbc:oracle:thin:@192.168.1.3:1521:oracleservername"/>
如果显示,从连接池中获取连接“jdbc/mydbname”异常。Cannot load JDBC driver class 'oracle.jdbc.driver.OracleDriver',将oracle的驱动放tomcat 的common/lib目录下,重启tomcat