Hi, i have a strange issue, maybe someone can help:
I have a web application running on mono, using NHibernate to connect to a SQL Server 2005 database. The problem is, that some request to the web app take too long and therefore either the client disconnects unexpectetly - or the webserver disconnects (time out) ... this causes very often a ThreadAbortException. After such a TheadAbortException is thrown it is very likely that NHibernate starts to "freak out" ... i see a lot of "Array index out of range" - related to queries usually work perfectly. It also happens, that sql sessions "merge" - which means, it seems as if the results requested by thread "a" somehow are read by thread "b" - although they do not share a ISession object. Only a complete restart of the web application (webserver) stopps this behavior and restores normal operation. Funny enough, wenn using microsoft .net these ThreadAbortException seem to not cause such issues - so i'm unsure if this is a mono problem or a NHibernate problem ... or how to resolve this problem at all. Any thoughts highly welcome! JS -- You received this message because you are subscribed to the Google Groups "nhusers" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/nhusers?hl=en.
