To create database connection pool, I configured <Resource> and <ResourceParams> in <GlobalNamingResources>, but it did not work.
Then I created and configured <Resource> and <ResourceParams> in <Context>, and it worked.
This doesn't seem to make sense to me. Can you tell me why and what is the correct way to create a DBCP? Thanks!
Then I created and configured <Resource> and <ResourceParams> in <Context>, and it worked.
This doesn't seem to make sense to me. Can you tell me why and what is the correct way to create a DBCP? Thanks!