}
/** Logs in to the repository using various strategies. */
- protected Session login() {
+ protected synchronized Session login() {
if (!isActive())
throw new ArgeoException("Thread bound session factory inactive");
/** Monitors registered thread in order to clean up dead ones. */
private class MonitoringThread extends Thread {
+ public MonitoringThread() {
+ super("ThreadBound JCR Session Monitor");
+ }
+
@Override
public void run() {
while (isActive()) {