org.obiba.onyx.ruby.runtime.upgrade.SchemaUpgrade_1_4_0

JIRA | Martin Boulanger | 7 years ago
  1. 0

    1) Edit pom.xml in the quartz-integration-test project (remove all dependencies except Quartz) 2) Start the quartz-integration-test webapp The upgrade will crash will the following message: Cannot find class [org.obiba.onyx.ruby.runtime.upgrade.SchemaUpgrade_1_4_0] for bean with name 'ruby-schemaUpgrade-1.4.0' defined in class path resource [META-INF/spring/onyx-core/upgrade.xml]; nested exception is java.lang .ClassNotFoundException: org.obiba.onyx.ruby.runtime.upgrade.SchemaUpgrade_1_4_0 at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueRes olver.java:328) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionV alueResolver.java:106) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveManagedList(BeanDefinitionValueR esolver.java:355) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionV alueResolver.java:153) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAuto wireCapableBeanFactory.java:1308) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCap ableBeanFactory.java:1067) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCap ableBeanFactory.java:511) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapab leBeanFactory.java:450) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:290) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegis try.java:222) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:287) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:189) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListable BeanFactory.java:562) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplic ationContext.java:871) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:423) at org.obiba.onyx.runtime.upgrade.support.UpgradeContextServletContextListener.loadUpgradeContext(UpgradeContext ServletContextListener.java:56) at org.obiba.onyx.runtime.upgrade.support.UpgradeContextServletContextListener.contextInitialized(UpgradeContext

    JIRA | 7 years ago | Martin Boulanger
    org.obiba.onyx.ruby.runtime.upgrade.SchemaUpgrade_1_4_0
  2. 0

    1) Edit pom.xml in the quartz-integration-test project (remove all dependencies except Quartz) 2) Start the quartz-integration-test webapp The upgrade will crash will the following message: Cannot find class [org.obiba.onyx.ruby.runtime.upgrade.SchemaUpgrade_1_4_0] for bean with name 'ruby-schemaUpgrade-1.4.0' defined in class path resource [META-INF/spring/onyx-core/upgrade.xml]; nested exception is java.lang .ClassNotFoundException: org.obiba.onyx.ruby.runtime.upgrade.SchemaUpgrade_1_4_0 at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueRes olver.java:328) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionV alueResolver.java:106) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveManagedList(BeanDefinitionValueR esolver.java:355) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionV alueResolver.java:153) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAuto wireCapableBeanFactory.java:1308) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCap ableBeanFactory.java:1067) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCap ableBeanFactory.java:511) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapab leBeanFactory.java:450) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:290) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegis try.java:222) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:287) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:189) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListable BeanFactory.java:562) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplic ationContext.java:871) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:423) at org.obiba.onyx.runtime.upgrade.support.UpgradeContextServletContextListener.loadUpgradeContext(UpgradeContext ServletContextListener.java:56) at org.obiba.onyx.runtime.upgrade.support.UpgradeContextServletContextListener.contextInitialized(UpgradeContext

    JIRA | 7 years ago | Martin Boulanger
    org.obiba.onyx.ruby.runtime.upgrade.SchemaUpgrade_1_4_0

    Root Cause Analysis

    1. org.obiba.onyx.ruby.runtime.upgrade.SchemaUpgrade_1_4_0

      No message provided

      at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference()
    2. Spring Beans
      DefaultListableBeanFactory.preInstantiateSingletons
      1. org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:328)
      2. org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106)
      3. org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveManagedList(BeanDefinitionValueResolver.java:355)
      4. org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:153)
      5. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1308)
      6. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1067)
      7. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:511)
      8. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:450)
      9. org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:290)
      10. org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
      11. org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:287)
      12. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:189)
      13. org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:562)
      13 frames
    3. Spring Context
      AbstractApplicationContext.refresh
      1. org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:871)
      2. org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:423)
      2 frames
    4. org.obiba.onyx
      UpgradeContextServletContextListener.loadUpgradeContext
      1. org.obiba.onyx.runtime.upgrade.support.UpgradeContextServletContextListener.loadUpgradeContext(UpgradeContextServletContextListener.java:56)
      1 frame