Project

General

Profile

bug #5774

cdmserver misses to detect some errors in failed instances

Added by Andreas Kohlbecker about 3 years ago. Updated 3 months ago.

Status:
New
Priority:
Priority14
Category:
cdmserver
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 almost 3 years ago

  • Target version changed from Release 4.1 to Release 4.2

#2 Updated by Andreas Müller almost 3 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 over 2 years ago

  • Target version changed from Release 4.4 to Release 4.5

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

  • Target version changed from Release 4.5 to Release 4.6

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

  • Target version changed from Release 4.6 to Release 4.7

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

  • Target version changed from Release 4.7 to Release 4.8

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

  • Target version changed from Release 4.8 to Release 4.9

#10 Updated by Andreas Müller almost 2 years 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 over 1 year ago

  • Target version changed from Release 4.11 to Release 4.12

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

  • Target version changed from Release 4.12 to Release 4.13

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

  • Target version changed from Release 4.13 to Release 4.14

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

  • Target version changed from Release 4.14 to Release 5.0

#16 Updated by Andreas Kohlbecker about 1 year ago

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

#17 Updated by Andreas Kohlbecker about 1 year ago

  • Target version changed from Release 5.0 to Release 5.1

#18 Updated by Andreas Müller 11 months ago

  • Target version changed from Release 5.1 to Release 5.2

#19 Updated by Andreas Kohlbecker 9 months ago

  • Target version changed from Release 5.2 to Release 5.3

#20 Updated by Andreas Kohlbecker 9 months ago

  • Target version changed from Release 5.3 to Release 5.4

#21 Updated by Andreas Müller 9 months ago

#22 Updated by Andreas Kohlbecker 7 months ago

  • Target version changed from Release 5.4 to Release 5.5

#23 Updated by Andreas Kohlbecker 4 months ago

  • Target version changed from Release 5.5 to Release 5.6

#24 Updated by Andreas Kohlbecker 3 months ago

  • Priority changed from Priority14 to Priority12
  • Target version changed from Release 5.6 to Reviewed Next Major Release

#25 Updated by Andreas Müller 3 months ago

hmm, I consider this a very anoying and dagerous bug as one may not realize that some instances do work (we do not have any other tests for checking). Do you really think we should lower priority to 12?

#26 Updated by Andreas Kohlbecker 3 months ago

  • Priority changed from Priority12 to Priority14

I guess you are right. I was lowering the priority that much because the issue has not been reported for 2 years, but there is a duplicate issue and you are also right by saying that this bug can be very confusing.

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 40 MB)