File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JBoss/WildFly and the fly likes connection pooling in jboss Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "connection pooling in jboss" Watch "connection pooling in jboss" New topic
Author

connection pooling in jboss

Inesh Hettiarachchi
Greenhorn

Joined: Feb 07, 2004
Posts: 25
hi all
i am trying to configure jboss with db2 but the problem is i think somthing is wrong it seems the coonnections are not getting relesed
<min-pool-size>5</min-pool-size>
<max-pool-size>20</max-pool-size>
the problem is after getting 20 connections it remains as it is the connection count is not getting lower thann 20 even after 20m

i configured JBossManagedConnectionPool as

BlockingTimeoutMillis 300
IdleTimeoutMinutes 1
Criteria ByContainer

any way the application is working even with the maximum connection level
i just want to reduse the connection count when it is not in use


thanks a lot if anyone can help
somkiat puisungnoen
Ranch Hand

Joined: Jul 04, 2003
Posts: 1312
you got problem connection leak ....

you can read this problen in this ::

http://www.jboss.org/wiki/Wiki.jsp?page=FAQJBossJCA


SCJA,SCJP,SCWCD,SCBCD,SCEA I
Java Developer, Thailand
Inesh Hettiarachchi
Greenhorn

Joined: Feb 07, 2004
Posts: 25
well it works fine with tomcat weserver
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: connection pooling in jboss