Spring Webflow in Grails keeping plenty of hibernate sessions open
        Posted  
        
            by Pavel P
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Pavel P
        
        
        
        Published on 2010-04-26T14:20:14Z
        Indexed on 
            2010/04/26
            14:23 UTC
        
        
        Read the original article
        Hit count: 556
        
Hi,
I have an Internet app running on Grails 1.1.2 and it integrates Spring WebFlow mechanism. The problem is that there are some bots ignoring robots.txt and are entering the flow quite often.
Because second step of the flow needs some human intelligence, the bot leaves open flow after the first step. This causes a lot of open flows which leades to a lot of abandoned open hibernate sessions.
Do you know some common clean-up mechanism for this kind of unattended flows (plus hibernate sessions) in Grails+Spring WebFlow?
Thanks, Pavel
© Stack Overflow or respective owner