jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anton Bachevsky <...@ciklum.com>
Subject org.apache.jackrabbit.jca.JCASessionHandle ClassCastException
Date Mon, 26 Mar 2012 13:13:13 GMT
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) 
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?!


View raw message