Project

General

Profile

bug #5774

cdmserver misses to detect some errors in failed instances

Added by Andreas Kohlbecker over 2 years ago. Updated 3 months ago.

Status:
New
Priority:
Priority14
Category:
cdmserver
Target version:
Start date:
05/06/2016
Due date:
% Done:

0%

Severity:
major
Found in Version:

Description

The following error was missed, the cdmserver kept on reporting that the instance is 'started' even if it completely had failed:

2016-05-06 13:27:00,075 INFO [eu.etaxonomy.cdm.database.PersistentTermInitializer] - PersistentTermInitializer initialize start ...
2016-05-06 13:27:00,075 INFO [eu.etaxonomy.cdm.database.PersistentTermInitializer] - PersistentTermInitializer.omit == false, initializing 45 term classes
2016-05-06 13:27:00,137 INFO [eu.etaxonomy.cdm.database.PersistentTermInitializer] - Start new ... 
2016-05-06 13:27:00,233 INFO [eu.etaxonomy.cdm.database.PersistentTermInitializer] - Create missing terms ... 
2016-05-06 13:27:05,997 WARN [org.springframework.web.context.support.XmlWebApplicationContext] - Exception encountered during context initialization - cancelling refresh attempt: org.sprin
gframework.beans.factory.BeanCreationException: Error creating bean with name 'persistentTermInitializer': Invocation of init method failed; nested exception is java.lang.NoSuchMethodError:
 eu.etaxonomy.cdm.model.common.IdentifiableEntity.hasEmptyTitleCache()Z
2016-05-06 13:27:06,008 WARN [eu.etaxonomy.cdm.persistence.hibernate.CdmListenerIntegrator] - Disintegrate ListenerIntegrator not yet implemented
2016-05-06 13:27:06,014 ERROR [org.springframework.web.context.ContextLoader] - Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'persistentTermInitializer': Invocation of init method failed; nested exception is java.lang.NoSuchMet
hodError: eu.etaxonomy.cdm.model.common.IdentifiableEntity.hasEmptyTitleCache()Z
        at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:136)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:408)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1570)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:545)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:772)
        at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:839)
        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:538)
        at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:446)
        at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:328)
        at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:107)
        at org.eclipse.jetty.server.handler.ContextHandler.callContextInitialized(ContextHandler.java:800)
        at org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialized(ServletContextHandler.java:444)
        at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:791)
        at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:294)
        at org.eclipse.jetty.webapp.WebAppContext.startWebapp(WebAppContext.java:1349)

has duplicate #5773


Related issues

Related to Edit - feature request #7725: Implement server availability check New 09/06/2018
Duplicated by Edit - bug #5773: Exceptions during CDM Server startup are not caught correclty Duplicate 05/06/2016 05/06/2016

History

#1 Updated by Andreas Müller over 2 years ago

  • Target version changed from Release 4.1 to Release 4.2

#2 Updated by Andreas Müller over 2 years ago

  • Target version changed from Release 4.2 to Release 4.3

#3 Updated by Andreas Müller over 2 years ago

  • Duplicated by bug #5773: Exceptions during CDM Server startup are not caught correclty added

#4 Updated by Andreas Müller over 2 years ago

  • Target version changed from Release 4.3 to Release 4.4

#5 Updated by Andreas Müller about 2 years ago

  • Target version changed from Release 4.4 to Release 4.5

#6 Updated by Andreas Müller about 2 years ago

  • Target version changed from Release 4.5 to Release 4.6

#7 Updated by Andreas Müller almost 2 years ago

  • Target version changed from Release 4.6 to Release 4.7

#8 Updated by Andreas Müller over 1 year ago

  • Target version changed from Release 4.7 to Release 4.8

#9 Updated by Andreas Müller over 1 year ago

  • Target version changed from Release 4.8 to Release 4.9

#10 Updated by Andreas Müller over 1 year ago

  • Target version changed from Release 4.9 to Release 4.10

#11 Updated by Andreas Müller over 1 year ago

  • Target version changed from Release 4.10 to Release 4.11

#12 Updated by Andreas Müller about 1 year ago

  • Target version changed from Release 4.11 to Release 4.12

#13 Updated by Andreas Müller about 1 year ago

  • Target version changed from Release 4.12 to Release 4.13

#14 Updated by Andreas Müller 12 months ago

  • Target version changed from Release 4.13 to Release 4.14

#15 Updated by Andreas Müller 11 months ago

  • Target version changed from Release 4.14 to Release 5.0

#16 Updated by Andreas Kohlbecker 10 months ago

  • Description updated (diff)
  • Private changed from Yes to No

#17 Updated by Andreas Kohlbecker 8 months ago

  • Target version changed from Release 5.0 to Release 5.1

#18 Updated by Andreas Müller 7 months ago

  • Target version changed from Release 5.1 to Release 5.2

#19 Updated by Andreas Kohlbecker 5 months ago

  • Target version changed from Release 5.2 to Release 5.3

#20 Updated by Andreas Kohlbecker 5 months ago

  • Target version changed from Release 5.3 to Release 5.4

#21 Updated by Andreas Müller 5 months ago

#22 Updated by Andreas Kohlbecker 3 months ago

  • Target version changed from Release 5.4 to Release 5.5

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 40 MB)