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

猜你喜欢

转载自mauersu.iteye.com/blog/1829147