Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Connection pool for high throughput application issue

 
Mohamamd Javad Mahmoudi
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I used C3P0 connection pool(and Oracle 11) to now but get not stable behavor. I test in very kinde of environment and improvment data base options. I found today Tomcate 7 jdbc connection pool released and get it. Do anyone use it and get better performance than C3p0? (I also test boncp connection pool)
My application is very high load. My problems are:

  • 1. after pass a hour connection pool throws "Can't Open Connection" exception.
    2. sometimes I get this exception "Attempted to use a closed or broken resource" pool and when restart my connection pool(by its mbean) problem fixed
    My C3P0 parameters are:




  • I also test this parameters with serveral value but dont' perceptible changes.
     
    Matthew Brown
    Bartender
    Posts: 4567
    8
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    Hi Mohamamd. Welcome to the Ranch!

    I don't think you're going to get much help on database connections in a Developer Certification forum, so I'm going to move this to somewhere more appropriate.
     
    • Post Reply
    • Bookmark Topic Watch Topic
    • New Topic