jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From imadhusudhanan <imadhusudha...@zohocorp.com>
Subject Repository locked even though shutdown ..
Date Wed, 04 Feb 2009 06:46:12 GMT
Dear All,

    I get this exception even though I shutdown the Repository  using the  RepositoryStartupServlet
by the following code,

     RepositoryStartupServlet rss = (RepositoryStartupServlet)getServletContext().getAttribute("repository.startup.servet");
     rss.shutdown();

I can the see the message as Repository is shutdown, so I restart my server, even then I get
this ... Pls help.


The repository home /home/test//bin/jackrabbit appears to be in use since the file named .lock
is already locked by the current process.
        at org.apache.jackrabbit.core.util.RepositoryLock.tryLock(RepositoryLock.java:142)
        at org.apache.jackrabbit.core.util.RepositoryLock.acquire(RepositoryLock.java:121)
        at org.apache.jackrabbit.core.RepositoryImpl.<init>(RepositoryImpl.java:240)
        at org.apache.jackrabbit.core.RepositoryImpl.create(RepositoryImpl.java:550)
        at org.apache.jackrabbit.core.jndi.BindableRepository.createRepository(BindableRepository.java:174)
        at org.apache.jackrabbit.core.jndi.BindableRepository.init(BindableRepository.java:138)
        at org.apache.jackrabbit.core.jndi.BindableRepository.create(BindableRepository.java:125)
        at org.apache.jackrabbit.core.jndi.BindableRepositoryFactory.createInstance(BindableRepositoryFactory.java:59)
        at org.apache.jackrabbit.core.jndi.RegistryHelper.registerRepository(RegistryHelper.java:60)
        at com.adventnet.zohopc.webdav.WebDAVServlet.getRepository(WebDAVServlet.java:84)
        at org.apache.jackrabbit.webdav.simple.SimpleWebdavServlet.getDavSessionProvider(SimpleWebdavServlet.java:317)
        at org.apache.jackrabbit.webdav.server.AbstractWebdavServlet.service(AbstractWebdavServlet.java:182)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
        at com.adventnet.sas.audit.AuditFilter.doFilter(AuditFilter.java:44)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
        at com.adventnet.sas.cache.filter.SASCacheFilter.doFilter(SASCacheFilter.java:45)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
        at com.adventnet.sas.security.filter.DBAssociator.doFilter(DBAssociator.java:142)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
        at com.adventnet.iam.filter.IAMFilter.doFilter(IAMFilter.java:208)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
        at org.apache.catalina.co

Regards,
MadhuSudhanan I.
www.zoho.com
'If you wanna walk quick Walk Alone, if you wanna walk far Walk Together ..."
Mime
View raw message