Hi,
I had same kind of issue ("session is closed"), when doing same
manipulations, from a page (iterating on docs/objects), while server-side a
java component was doing the same on each iteration.
In my case, that exception was always thrown server-side. As it seemed a
bit difficult to investigate  (and also I couldn't really reproduce it from
a stripped down environment), I did a workaround with merely retrying the
getDocument from the catch clause - ugly, but it works like a charm.
BR,
Jeremie
2013/8/5 halim bounfouf <bounfouf(a)gmail.com>
  Hi,
 I have a problem when I trigger two ajax requests together(in the same
 time).
 In the First request, I do a getDocument and then a getObject. In the
 second one i have a loop and for each iteration a getDocument and a
 getObject.
 This is the exception I get
 Error number 3212 in 3: Exception while loading object {0} of class {1} and
 number {2} Wrapped Exception: Session is closed!
 Have you any idea on how to fix the problem
 Thanks !
 _______________________________________________
 users mailing list
 users(a)xwiki.org
 
http://lists.xwiki.org/mailman/listinfo/users