org.openl.rules.repository.exceptions.RRepositoryException: Failed to initialize ProductionRepositoryFactory!

openl-tablets | hsowl | 4 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Webservices - Deploy JackRabbit

    openl-tablets | 4 years ago | hsowl
    org.openl.rules.repository.exceptions.RRepositoryException: Failed to initialize ProductionRepositoryFactory!

    Root Cause Analysis

    1. javax.jcr.RepositoryException

      Cannot initialize node types via RMI. Please, add OpenL node types definition manually or via command line tool.

      at org.openl.rules.repository.factories.RmiJackrabbitRepositoryFactory.initNodeTypes()
    2. OpenL - STUDIO - Repository Jcr
      RmiJackrabbitRepositoryFactory.initialize
      1. org.openl.rules.repository.factories.RmiJackrabbitRepositoryFactory.initNodeTypes(RmiJackrabbitRepositoryFactory.java:47)
      2. org.openl.rules.repository.factories.AbstractJcrRepositoryFactory.checkOnStart(AbstractJcrRepositoryFactory.java:73)
      3. org.openl.rules.repository.factories.AbstractJcrRepositoryFactory.setRepository(AbstractJcrRepositoryFactory.java:234)
      4. org.openl.rules.repository.factories.RmiJackrabbitRepositoryFactory.initialize(RmiJackrabbitRepositoryFactory.java:38)
      4 frames
    3. OpenL - STUDIO - Repository
      ProductionRepositoryFactoryProxy.getRepositoryInstance
      1. org.openl.rules.repository.ProductionRepositoryFactoryProxy.createFactory(ProductionRepositoryFactoryProxy.java:87)
      2. org.openl.rules.repository.ProductionRepositoryFactoryProxy.getRepositoryInstance(ProductionRepositoryFactoryProxy.java:41)
      2 frames
    4. org.openl.rules
      ServiceManagerImpl.setRuleServiceLoader
      1. org.openl.rules.ruleservice.loader.JcrDataSource.getRProductionRepository(JcrDataSource.java:117)
      2. org.openl.rules.ruleservice.loader.JcrDataSource.addListener(JcrDataSource.java:138)
      3. org.openl.rules.ruleservice.management.ServiceManagerImpl.setRuleServiceLoader(ServiceManagerImpl.java:42)
      3 frames
    5. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      4. java.lang.reflect.Method.invoke(Unknown Source)
      4 frames
    6. Spring Beans
      DefaultListableBeanFactory.preInstantiateSingletons
      1. org.springframework.beans.BeanWrapperImpl.setPropertyValue(BeanWrapperImpl.java:1154)
      2. org.springframework.beans.BeanWrapperImpl.setPropertyValue(BeanWrapperImpl.java:924)
      3. org.springframework.beans.AbstractPropertyAccessor.setPropertyValues(AbstractPropertyAccessor.java:76)
      4. org.springframework.beans.AbstractPropertyAccessor.setPropertyValues(AbstractPropertyAccessor.java:58)
      5. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1393)
      6. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1118)
      7. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)
      8. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
      9. org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
      10. org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
      11. org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
      12. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
      13. org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:585)
      13 frames
    7. Spring Context
      AbstractApplicationContext.refresh
      1. org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:913)
      2. org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:464)
      2 frames
    8. Spring
      ContextLoaderListener.contextInitialized
      1. org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:385)
      2. org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:284)
      3. org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:111)
      3 frames
    9. Glassfish Core
      HostConfig$DeployDirectory.run
      1. org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4797)
      2. org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5291)
      3. org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
      4. org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
      5. org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
      6. org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633)
      7. org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1114)
      8. org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1673)
      8 frames
    10. Java RT
      Thread.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
      2. java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
      3. java.util.concurrent.FutureTask.run(Unknown Source)
      4. java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
      5. java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      6. java.lang.Thread.run(Unknown Source)
      6 frames