This content has been marked as final.
Show 3 replies
-
1. Re: JBoss Connection Pooling is so slow
jaikiran May 13, 2006 10:37 AM (in response to quangle)Are you passing the Datasource.getConnection() method, the username and password as parameters or are you just calling the getConnection() method without any parameters?
-
2. Re: JBoss Connection Pooling is so slow
quangle May 13, 2006 11:08 PM (in response to quangle)"jaikiran" wrote:
Are you passing the Datasource.getConnection() method, the username and password as parameters or are you just calling the getConnection() method without any parameters?
I am just calling getConnection() method without any parameters. The username, password are set in -ds.xml file in JBoss configuration file.
The connection is established but it is very slow (5 seconds)
Thanks,
Quang -
3. Re: JBoss Connection Pooling is so slow
bhupendra.yaduvenshi May 18, 2006 3:31 AM (in response to quangle)See ur ds.xml in that there are two parameter max & min size of pool connection.Set these parameter to 1 & 5 & test.It will work if not than let me know.
Bhupendra