java.lang.RuntimeException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Artifactory / Mailing Lists
    via by Unknown author,
  • Problems with file locks on OpenVC
    via by Björn Lilja,
  • play scala -- linux error
    via by godog,
  • Bug 44735 – Unable to create platform lock file
    via by Unknown author,
  • GitHub comment 2379#216354014
    via GitHub by sjrd
    ,
    • java.lang.RuntimeException: java.lang.RuntimeException: Faild to config jcr repo. at org.artifactory.repo.spring.CentralConfigFactoryBean.afterPropertiesSet(CentralConfigFactoryBean.java:94) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1175) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1145) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:427) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:251) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:144) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:248) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:276) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:360) at org.artifactory.webapp.servlet.ArtifactoryContextConfigurer.contextInitialized(ArtifactoryContextConfigurer.java:45) at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:530) at org.mortbay.jetty.servlet.Context.startContext(Context.java:135) at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1218) at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:500) at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:448) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40) at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:147) at org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:161) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40) at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:147) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40) at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:117) at org.mortbay.jetty.Server.doStart(Server.java:220) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40) at org.artifactory.standalone.main.Main.main(Main.java:47) Caused by: java.lang.RuntimeException: Faild to config jcr repo. at org.artifactory.jcr.JcrHelper.<init>(JcrHelper.java:93) at org.artifactory.repo.CentralConfig.afterPropertiesSet(CentralConfig.java:131) at org.artifactory.repo.spring.CentralConfigFactoryBean.afterPropertiesSet(CentralConfigFactoryBean.java:84) ... 25 more Caused by: javax.jcr.RepositoryException: Unable to lock file at /home/crusqm/artifactory-1.2.1/data/jcr/.lock: No locks available: No locks available at org.apache.jackrabbit.core.RepositoryImpl.acquireRepositoryLock(RepositoryImpl.java:419) at org.apache.jackrabbit.core.RepositoryImpl.<init>(RepositoryImpl.java:236) at org.apache.jackrabbit.core.RepositoryImpl.create(RepositoryImpl.java:584) at org.artifactory.jcr.JcrHelper.<init>(JcrHelper.java:91) ... 27 more Caused by: java.io.IOException: No locks available at sun.nio.ch.FileChannelImpl.lock0(Native Method) at sun.nio.ch.FileChannelImpl.tryLock(Unknown Source) at java.nio.channels.FileChannel.tryLock(Unknown Source) at org.apache.jackrabbit.core.RepositoryImpl.acquireRepositoryLock(RepositoryImpl.java:417) ... 30 more

    Users with the same issue

    Unknown User
    1 times, last one,
    Hiren Amaliyar
    2 times, last one,
    Indri Yunita
    1 times, last one,
    ivotje50
    41 times, last one,
    Avinash8989
    7 times, last one,
    13 more bugmates