Hi,
I would like to ask why shutting down a repository takes a long long time
and it does not seem that shutting will ever finish.
I access repository from a servlet and what I am trying to do is to close
all sessions. I was said that shutting down whole repository is a way how to
do that. So in a servlet I have this code:
try {
javax.jcr.Session session = repository.getSession();
((org.apache.jackrabbit.api.JackrabbitRepository)
session.getRepository()).shutdown();
System.out.println("repository has been shut");
} catch (Exception ex) {
ex.printStackTrace();
}
When I call a servlet the code stucks on shutdown() method. "Repository has
been shut" is never printed to the stout. Does anybody know where could be a
problem?
Thanks
--
View this message in context:
http://www.nabble.com/Shutting-down-will-probably-never-finish-tp15224405p15224405.html
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.