Help coderanch get a
new server
by contributing to the fundraiser
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin
Bartenders:
  • Lou Hamers
  • Piet Souris
  • Frits Walraven

Too many connections to Oracle

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello,

We have detected that there is always at least 10 open/inactive connections from JForum to our Oracle database. Is this normal?

Also, the connections are not always closed when the web server is shut down, obviously resulting in too many connections.

We use JForum 2.1.6 and Oracle 9.2.0.7

I saw here https://coderanch.com/t/576429 that there might be a problem with version 2.1.6 and Oracle. Could this be the problem here?

Any comments?
[originally posted on jforum.net by frankern]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If you're using a connection poll, then it's normal to have inactive connections. If the servlet container crashes, then JForum won't be able to release the connections.

Rafael
[originally posted on jforum.net by Rafael Steil]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Our problem is that Tomcat often is unwilling to shut down gracefully.

Any tips to how we can deal with this? Perhaps a minor modification in JForum is enough...
[originally posted on jforum.net by frankern]
 
reply
    Bookmark Topic Watch Topic
  • New Topic