首页 > 代码库 > tomcat jndi配置

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 = http://www.mamicode.com/(SID = **)(SERVER = DEDICATED)))"  
              username="root"  
              password="111111"  
              maxActive="20"  
              maxIdle="10"  
              maxWait="10000"/>

 

tomcat jndi配置