How to create a data source/connection pool in JBoss?

Today we shall talk about creating data source in JBoss. You can create a data source in JBoss for any RDBMS in five simple steps. 1. Find your RDBM’s data source xml from JBOSS_HOME\docs\examples\jca, for example if you wanted to create a data source for DB2 then pick db2-ds.xml. 2. Edit the db2-ds.xml file and [...]
Continue reading…

 

How to increase connection pool size in JBoss?

You can increase the connection pool size in JBoss application server in simple three steps. 1. Figure out the datasource.xml from JBOSS_HOME/SERVER_INSTANCE/deploy. In case of Oracle the file will be named as oracle-ds.xml. 2. Add below given tags into the xxxx-ds.xml file. 3. Restart the JBoss application server. You can verify the pool size in [...]
Continue reading…