简体   繁体   中英

Is the connection pool shared between different managed servers in jBoss 6?

The application is deployed on JBoss EAP 6.4, and running on different ports of the same instance:

在此处输入图片说明 My question is :

  1. Would the connection pool of the data source be shared between the two managed servers?
  2. If we have a master-slave configuration, and we configure a datasource for the master, will the JBoss instances running on other machines (as slaves), will share the connection pool of the master, or each instance will have its own connection pool?

the datasource instance is per server (per jboss instance) and the connection pool is proper to the datasource.

So the answer is :

  1. No
  2. Each instance will have its own connection pool

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM