eclipse-arrowhead / core-java-spring

Eclipse Public License 2.0
28 stars 51 forks source link

Service registry fails to boot #383

Closed esen96 closed 2 years ago

esen96 commented 2 years ago

Running docker-compose-4-3-0-amd64 I get the following error log from the service registry container:

2022-03-28 19:13:42.426  INFO f28bb44dca34 --- [           main] e.a.c.s.ServiceRegistryMain              : Starting ServiceRegistryMain v4.3.0 on f28bb44dca34 with PID 7 (/serviceregistry/arrowhead-serviceregistry.jar started by root in /serviceregistry)
2022-03-28 19:13:42.433  INFO f28bb44dca34 --- [           main] e.a.c.s.ServiceRegistryMain              : No active profile set, falling back to default profiles: default
2022-03-28 19:13:46.993  WARN f28bb44dca34 --- [           main] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'serviceRegistryApplicationInitListener': Unsatisfied dependency expressed through field 'coreSystemRegistrationProperties'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'coreSystemRegistrationProperties': Invocation of init method failed; nested exception is java.util.ServiceConfigurationError: Core system name SERVICEREGISTRY  is not recognized.
2022-03-28 19:13:47.014 ERROR f28bb44dca34 --- [           main] o.s.b.SpringApplication                  : Application run failed
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'serviceRegistryApplicationInitListener': Unsatisfied dependency expressed through field 'coreSystemRegistrationProperties'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'coreSystemRegistrationProperties': Invocation of init method failed; nested exception is java.util.ServiceConfigurationError: Core system name SERVICEREGISTRY  is not recognized.

Any idea on what may be going wrong here? I am trying to do a fresh docker setup and have not modified any file