Project

General

Profile

bug #9602

cdm-server must not start instances with severe db connection problems

Added by Andreas Kohlbecker about 1 month ago. Updated 28 days ago.

Status:
Closed
Priority:
Highest
Category:
cdmserver
Target version:
Start date:
05/03/2021
Due date:
% Done:

100%

Severity:
normal
Found in Version:

Description

The cdm-server must not start instances with db connection problems.

Currently such instances show a unclear error message and status is reported as stopped

Error creating bean with name 'cdmVaadinConfiguration': 
Unsatisfied dependency expressed through field 'sessionFactory'; 
nested exception is org.springframework.beans.factory.BeanCreationException: 
Error creating bean with name 'sessionFactory' defined in class path resource [eu/etaxonomy/cdm/security_base.xml]: 
Cannot resolve reference to bean 'hibernateProperties' while setting bean property 'hibernateProperties'; 
nested exception is org.springframework.beans.factory.BeanCreationException: 
Error creating bean with name 'hibernateProperties' defined in class path resource [eu/etaxonomy/cdm/opt/config/DataSourceConfigurer.class]: 
Bean instantiation via factory method failed; 
nested exception is org.springframework.beans.BeanInstantiationException: 
Failed to instantiate [java.util.Properties]: 
Factory method 'hibernateProperties' threw exception; 
nested exception is java.lang.NullPointerException

Associated revisions

Revision 4269efd3 (diff)
Added by Andreas Kohlbecker about 1 month ago

ref #9602 preventing instances from starting up in case of db connection problems

Revision 534e39de (diff)
Added by Andreas Kohlbecker about 1 month ago

ref #9602 more clear execption handling in case of jndi data source problems

History

#1 Updated by Andreas Kohlbecker about 1 month ago

  • Subject changed from cdm-server must not start instance with severe db connection problems to cdm-server must not start instances with severe db connection problems

#2 Updated by Andreas Kohlbecker about 1 month ago

  • Description updated (diff)

#3 Updated by Andreas Kohlbecker about 1 month ago

  • Description updated (diff)

#4 Updated by Andreas Kohlbecker about 1 month ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

#5 Updated by Andreas Müller 28 days ago

  • Target version changed from Release 5.25 to Release 5.23

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 40 MB)