tomcat jndi配置
- <Resource name="jdbc/ecms"
auth="Container"
type="javax.sql.DataSource"
driverClassName="oracle.jdbc.OracleDriver"
url="jdbc:oracle:thin:@(DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = *******)(PORT = 1521)))(CONNECT_DATA = (SID = **)(SERVER = DEDICATED)))"
username="root"
password="111111"
maxActive="20"
maxIdle="10"
maxWait="10000"/>