Druid连接Oracle,数据库连接池有时无法正常关闭和连接,改用Tomcat服务器的连接池。
1。 在lib下添加ojdbc.jar2。 在context.xml中添加数据源
1。删除web.xml中druid相关配置2。springcontext.xml中删除数据源bean,添加: