abhishek reddy
Thu, 21 Jan 2010 05:05:25 -0800
hi, For the first time, i can able to access repository successfully......... second time onwards it is giving the following exception.
*javax.naming.NamingException: The repository home D:\repository appears to
be in use since the file named .lock is locked by another process.*
I have created the Repository and kept it in the application scope.........
and everytime iam accessing the repository in the following manner
*Repository repository = (Repository)
sc.getAttribute("repository");
session=repository.login();
----//code
session.close();
*how to overcome this problem ?
Everytime do i need to remove this lock file manually?
need help regarding
--
Abhishek