Hi to all,
We are trying run Jackrabbit garbage collector on scheduler.
Jackrabbit deployed under GF 3.0.1 using JCA.
The code is following:
JCASessionHandle jcaSession = (JCASessionHandle)
getSessionFactory().getSession();
SessionImpl session = (SessionImpl) jcaSession.getWorkspace().getSession();
gc = session.createDataStoreGarbageCollector();
On the first line always exception appears:
java.lang.ClassCastException: org.apache.jackrabbit.jca.JCASessionHandle
cannot be cast to org.apache.jackrabbit.jca.JCASessionHandle
Any idea?!
Regards,
Anton