This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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
 
Similar Threads
Jboss connection pool not releasing the connection from pool
running out of ManagedConnections available
jboss-connection pool problem
Jboss, connection problem
JNDI, Oracle and DriverManager.setLoginTimeout