Hi,

how is it from within the same JVM? Does it work in that case?
E.g. if I am creating the session within an .jsp?
Do I need to use same special connection method?
Currently I am using:

for (RepositoryFactory factory :
ServiceLoader.load(RepositoryFactory.class)) {
        repo = factory.getRepository(parameters);
        if (repo != null) {
                // factory accepted parameters
                s1 = repo.login(new SimpleCredentials(user, pw.toCharArray()));
                break;
        }
}


regrads,
stephan

--
View this message in context: 
http://jackrabbit.510166.n4.nabble.com/Session-cannot-be-cast-to-JackRabbitSession-tp4260623p4288801.html
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.

Reply via email to