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"/>

 

posted @ 2017-06-19 10:28  徘徊在人间的水墨  阅读(118)  评论(0编辑  收藏  举报