2 Replies Latest reply on Oct 6, 2008 6:02 PM by Rob Hasselbaum

    Connection leak if redirects aren't followed

    Rob Hasselbaum Newbie
      While testing my app with WGET, I noticed a pretty disturbing problem. If an <s:link> action redirects to a new view, but the browser doesn't follow the redirect, then a connection leaks from the JDBC connection pool. After my app receives 20 such hits, it hangs entirely because the connection pool is exhausted. Any ideas?

      For what it's worth, I am using <persistence:managed-hibernate-session> with a SeamManagedSesionFactoryBean to manage the Hibernate sessions and DB connections.