HI All,
We have started getting the following exception all of a sudden and instance shutting down after 4 minutes. please help
07.12.2016 16:18:49.769 *WARN* [sling-default-1-com.day.cq.rewriter.linkchecker.impl.LinkInfoStorageImpl.1446] org.apache.jackrabbit.oak.jcr.session.RefreshStrategy This session has been idle for 1 minutes and might be out of date. Consider using a fresh session or explicitly refresh the session.
java.lang.Exception: The session was created here:
Thanks,
Phani
Views
Replies
Total Likes
Views
Replies
Total Likes
org.apache.jackrabbit.oak.jcr.session.RefreshStrategy This session has been idle for 1 minutes and might be out of date. Consider using a fresh session or explicitly refresh the session.
java.lang.Exception: The session was created here:
at org.apache.jackrabbit.oak.jcr.session.RefreshStrategy$LogOnce.<init>(RefreshStrategy.java:169)
at org.apache.jackrabbit.oak.jcr.repository.RepositoryImpl.login(RepositoryImpl.java:277)
Views
Replies
Total Likes
I am seeing the same errors in logs and i am using aem 6.3, any solution for this ? any configuration changes that i need to do?
Views
Replies
Total Likes
Hi, Did you find a solution for this?
Views
Replies
Total Likes
How are you obtaining your session!
Views
Replies
Total Likes
Hi Scott,
This is the below code i am using
private Session session = null;
private ResourceResolver resourceResolver = null;
try {
resourceResolver = resolverFactory.getServiceResourceResolver(null);
session = resourceResolver.adaptTo(Session.class);
//do some processing
} catch (Exception ex) {
} finally {
if (resourceResolver != null) {
resourceResolver.close();
}
}
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies