org.activiti.engine.ActivitiException: no session factory configured for org.activiti.engine.impl.db.DbSqlSession

GitHub | kovadam69 | 5 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    SchemaOperationProcessEngineClose called even if no DbSqlSession available

    GitHub | 5 months ago | kovadam69
    org.activiti.engine.ActivitiException: no session factory configured for org.activiti.engine.impl.db.DbSqlSession

    Root Cause Analysis

    1. org.activiti.engine.ActivitiException

      no session factory configured for org.activiti.engine.impl.db.DbSqlSession

      at org.activiti.engine.impl.interceptor.CommandContext.getSession()
    2. Activiti - Engine
      ProcessEngineImpl.close
      1. org.activiti.engine.impl.interceptor.CommandContext.getSession(CommandContext.java:281)
      2. org.activiti.engine.impl.interceptor.CommandContext.getDbSqlSession(CommandContext.java:295)
      3. org.activiti.engine.impl.SchemaOperationProcessEngineClose.execute(SchemaOperationProcessEngineClose.java:25)
      4. org.activiti.engine.impl.interceptor.CommandInvoker$1.run(CommandInvoker.java:38)
      5. org.activiti.engine.impl.interceptor.CommandInvoker.executeOperation(CommandInvoker.java:79)
      6. org.activiti.engine.impl.interceptor.CommandInvoker.executeOperations(CommandInvoker.java:58)
      7. org.activiti.engine.impl.interceptor.CommandInvoker.execute(CommandInvoker.java:43)
      8. org.activiti.engine.impl.interceptor.TransactionContextInterceptor.execute(TransactionContextInterceptor.java:48)
      9. org.activiti.engine.impl.interceptor.CommandContextInterceptor.execute(CommandContextInterceptor.java:63)
      10. org.activiti.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:29)
      11. org.activiti.engine.impl.cfg.CommandExecutorImpl.execute(CommandExecutorImpl.java:44)
      12. org.activiti.engine.impl.ProcessEngineImpl.close(ProcessEngineImpl.java:109)
      12 frames
    3. Activiti - Spring
      ProcessEngineFactoryBean.destroy
      1. org.activiti.spring.ProcessEngineFactoryBean.destroy(ProcessEngineFactoryBean.java:41)
      1 frame
    4. Spring Beans
      DefaultListableBeanFactory.destroySingletons
      1. org.springframework.beans.factory.support.DisposableBeanAdapter.destroy(DisposableBeanAdapter.java:272)
      2. org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroyBean(DefaultSingletonBeanRegistry.java:578)
      3. org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroySingleton(DefaultSingletonBeanRegistry.java:554)
      4. org.springframework.beans.factory.support.DefaultListableBeanFactory.destroySingleton(DefaultListableBeanFactory.java:975)
      5. org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroySingletons(DefaultSingletonBeanRegistry.java:523)
      6. org.springframework.beans.factory.support.DefaultListableBeanFactory.destroySingletons(DefaultListableBeanFactory.java:982)
      6 frames
    5. Spring Context
      AbstractApplicationContext.close
      1. org.springframework.context.support.AbstractApplicationContext.destroyBeans(AbstractApplicationContext.java:1028)
      2. org.springframework.context.support.AbstractApplicationContext.doClose(AbstractApplicationContext.java:1004)
      3. org.springframework.context.support.AbstractApplicationContext.close(AbstractApplicationContext.java:956)
      3 frames