jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Fernando Wermus <fernando.wer...@gmail.com>
Subject lock problem with jackrabbit while two independently webapps working
Date Tue, 22 Mar 2011 15:46:33 GMT
Hi all,
    I got a locked repository if I set up two webapps which work
independentely. For some reason, when both are working I got a locked
repository. I think that the problem could be log files. I don{t have any
other clues to work over this issue. I hope someone could help me.

11:29:25,192 ERROR [/mate-comunicacion]:3639 - Exception starting filter
wicket.brix-demo
java.lang.RuntimeException: Could not create file repository at url:
file://webapps/mate-comunicacion.com.ar/
    at brix.demo.util.JcrUtils.createFileRepository(JcrUtils.java:137)
    at brix.demo.util.JcrUtils.createRepository(JcrUtils.java:97)
    at
brix.demo.web.AbstractWicketApplication.init(AbstractWicketApplication.java:79)
    at brix.demo.web.WicketApplication.init(WicketApplication.java:88)
    at
org.apache.wicket.protocol.http.WicketFilter.init(WicketFilter.java:696)
    at
org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:221)
    at
org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:302)
    at
org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:78)
    at
org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3635)
    at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4222)
    at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:760)
    at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:740)
    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544)
    at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:825)
    at
org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:714)
    at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490)
    at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)
    at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
    at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1022)
    at org.apache.catalina.core.StandardHost.start(StandardHost.java:736)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
    at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
    at
org.apache.catalina.core.StandardService.start(StandardService.java:448)
    at
org.apache.catalina.core.StandardServer.start(StandardServer.java:700)
    at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at
org.apache.commons.daemon.support.DaemonLoader.start(DaemonLoader.java:177)
Caused by: javax.jcr.RepositoryException: The repository home /webapps/
mate-comunicacion.com.ar 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:159)
    at
org.apache.jackrabbit.core.util.RepositoryLock.acquire(RepositoryLock.java:138)
    at
org.apache.jackrabbit.core.RepositoryImpl.<init>(RepositoryImpl.java:302)
    at
org.apache.jackrabbit.core.RepositoryImpl.create(RepositoryImpl.java:673)
    at brix.demo.util.JcrUtils.createFileRepository(JcrUtils.java:133)
    ... 35 more


Thanks in advance.

-- 
Fernando Wermus.

www.linkedin.com/in/fernandowermus

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message