On Fri, Mar 26, 2010 at 10:50, Richa <[email protected]> wrote: > my code is > public void sim() { > try { > System.out.println("reached to repsitory a"); > RepositoryImpl rp = new > RepositoryImpl(RepositoryConfig.create("repository.xml", > "/home/ksk/ric/testing/apache-tomcat-6.0.24/bin/jackrabbit/")); > System.out.println("reached to repsitory 1"); > Subject sb = Subject.getSubject(AccessController.getContext()); > System.out.println("2"); > SessionImpl impl = rp.createSession(sb, "default"); > System.out.println("3"); > rp.onSessionCreated(impl); > System.out.println("4"); > UserManagerImpl usmg = new UserManagerImpl(impl, "richa"); > usmg.show();
Why are you using only Jackrabbit internal classes and methods? Can you reproduce it with the JCR API? Regards, Alex -- Alexander Klimetschek [email protected]
