JDBC Pooling in tomcat?


(Arifian Prahata) #1

Can we incorporating Cuba platform with jdbcpooling library other than provided by tomcat (hikaricp etc) ?

In this case configuration example file is just like this ?


(Konstantin Krivopustov) #2

I think you can, because CUBA just works with a JDBC DataSource published in JNDI.

However you can have issues with Studio as it relies on a specific content in Tomcat’s context.xml. So I would suggest using the default pool in development and provide a custom context.xml when building WAR:
image


(Arifian Prahata) #3

Thanks for your explanation :relaxed: