Tomcat配置JNDI数据库链接

 

context.xml

 

 

<Resource driverClassName="COM.ibm.db2.jdbc.app.DB2Driver" maxActive="20" maxIdle="10" maxWait="5000" name="jdbc/wlismis" password="111111" type="javax.sql.DataSource" url="jdbc:db2:wlstat2" username="wlstat2"/>

你可能感兴趣的:(tomcat)