Small problem with DBCP connection pool in Tomcat5

xiaoxiao2021-03-06  85

After adding a connection pool through the background management interface, access or have a problem finally discovered that it is a global resource to connect global resources to this context. This will not find the driver and URL E: / Tomcat/conf/catalina/localhost/myweb.xml to modify resourceLink as: -> Initializing the connection pool in Bean -------------------------------------------------- --------------------------------- / ** * Initialization Datasource * / private void init () {inputStream InputStream = getClass (). getResourceAsStream ("./ system.properties"); Properties Properties = new property ();

Try {Properties.Load (InputStream);} catch ("" "" "

转载请注明原文地址:https://www.9cbs.com/read-106675.html

New Post(0)