I am using broadleaf demo site with tomcat server. Although i can run it with default settings, i am looking for a way to set max active connection in connection pool. I tried to change "maxActive" attribute of Resource tag in context.xml which gave me exactly same number of active connections that i set in "maxActive" at the time of application startup.
But when i visit any page, say home page, the number of live connections shots up drastically which stays live(in sleep mode) untill the application is stopped. Is there default number of active connections configured in hibernate code? If so, is there any way by which i can set the max connection to 20(for assumption)?
This forum is in readonly mode and serves as an archive of old information. All posting, registration and commenting abilities have been turned off. To get help, the Broadleaf team reguarly monitors the broadleaf-commerce tag on Stack Overflow so please ask your questions there.