javax.jcr.RepositoryException: This session has been closed. (Wicket,
Brix, Multithreading)
I have a very large project in which I am performing parallel processing
of large files (5mb) which are stored as nodes within brix repositry. The
load nodes as input stream, but the problem is that if I launch loading at
the same time something is closing my session and I get:
javax.jcr.RepositoryException: This session has been closed.
The project is very big and I cant really trace whats causing the session
to close.. I tried checking if its alive and reobtaining or wrapping dead
node into BrixNodeModel but it doesn't help.. The strange thing is that if
I launch threads with very small delay (0,5s for instance) its all fine
and they can run parallel, but If I launch them at the same time its all
going wrong...
No comments:
Post a Comment