JBoss Community

Data Source Configuration in AS 7

new comment by Craig West View all comments on this document

I have been trying to migrate a standalone JBoss AS 7.1.1 server to a 2-host cluster, but am running into a problem. Before adding any code deployment, I have been trying to get the two hosts started in clustering mode. Before adding the datasource definitions to domain.xml, everything is fine. When I add the datasources, the master host starts, but when the slave starts, it seems to be connecting to the mysql server a large number of times, until it gets a Too many Connections error. This happens even if I set the prefill=no and min-pool-size=0