• Post Reply Bookmark Topic Watch Topic
  • New Topic

Reset connections in connection pool  RSS feed

 
Igor Laberov
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
After DB restart (or connection failure) I try to recover the server. In order to do this, I want to tell to container connection pool to reset (clear) all available connections.
Does anybody knows how I can tell to container connection pool to reset (clear) all its connections (in standard way, or at least in Jboss)?

Thanks,

Igor.
 
Pradeep bhatt
Ranch Hand
Posts: 8933
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does anybody knows how I can tell to container connection pool to reset (clear) all its connections (in standard way, or at least in Jboss)?


I think this should be possible using JMX. Posting in JBoss forums(www.jboss.org) could help.
 
Alexandru Popescu
Ranch Hand
Posts: 995
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There is no standard way to command the reset of the pools inside a J2EE container as this is not specified inside the J2EE spec.
However, I think that every container offers some kind of direct API or some other mechanisms (as suggested JMX) to get to these kinds of services.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!