Thanks for reply.I have created repository by the following code,when I
executed the following code repository folder and repository.xml file
created in the project itself.

Repository r = new TransientRepository();
        Session session = r.login(new SimpleCredentials("userid",
"".toCharArray()));
        RemoteAdapterFactory factory = new ServerAdapterFactory();
        RemoteRepository remote = factory.getRemoteRepository(r);

        Workspace ws = session.getWorkspace();
        Node rn = session.getRootNode();
        ws.getNamespaceRegistry().registerNamespace
         ("FH-admin", "http://www.barik.net/FH-admin/1.0";);

Can u ple tell me what is the  meaning of this line ("FH-admin",
"http://www.barik.net/FH-admin/1.0";).
As u suggest, i tried to create new repository with new database but it
doesn't work.I think it still it using the old one repository.Please tell me
the solution for this issue.



--
View this message in context: 
http://jackrabbit.510166.n4.nabble.com/Exception-whie-working-with-jackrabbit-repository-tp4656751p4656779.html
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.

Reply via email to