Externalizing tomcat jdbc connection pool information for different environments

孤者浪人 提交于 2019-12-04 15:01:21

Why don't you just configure this at the Tomcat level instead of embedding a context.xml? To me, this makes particularly sense since Dev, QA, Prod can use different pool settings. And by this, I mean the configuration/sizing of the pool, not only not only the url, username and password.

You can have a context.xml that lives outside the WAR files in the common "conf" directory. See the docs.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!