• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

StaleConnection

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,
I am using oracle as a database. I created a datasource for it. when i am using this datasource,after 4 to 5 pages i am getting the error "Staled Connection" ..connection closed.
If any one know about this error.pl. let me know...
sagar
 
Ranch Hand
Posts: 96
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
try changing ur connection pool settings in the admin console.... this normally occurs due to the timeout being less
 
Vidya Sagar Pallikonda
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by mahadevan raja:
try changing ur connection pool settings in the admin console.... this normally occurs due to the timeout being less


Hi Mahadevan,
Thanks for immedidate replay.
Here i am giving my connection settings i am using in datasource
Minimum Pool Size: 10
Maximum Pool Size: 60
Connection Timeout: 180
Idle Timeout: 1800
Orphan Timeout:60
Statement Cache Size: 1000
can you suggest better settings to avoid staleconnection exception..
thanks in idvance
sagar
 
reply
    Bookmark Topic Watch Topic
  • New Topic