[jboss-user] [EJB/JBoss] - Session timeout during a transaction

DeanoUK do-not-reply at jboss.com
Thu Apr 9 11:24:59 EDT 2009


Hi.

I've being seeing behaviour like this for a while on JBoss 4.2.x, but can't really understand it.

A user has been logged in for sometime, then performs a task which takes a longish period ot time (maybe several minutes). During this task, the user, for some reason, has their session timeout, even though they've just performed this recent task. 

Due to a commit during the login process (recording the user's login datetime stamp) the transaction they were performing understandably fails with:

java.sql.SQLException: You cannot commit during a managed transaction!

Why is the user's session timing out in the first place?

Regards,

Dean.


View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4224738#4224738

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4224738



More information about the jboss-user mailing list