After upgrade of NES to 6.8.5, it could not start and appear as not reachable in UI. In the logs we could see these errors :
In logs/localhost.0.log :
SEVERE: Servlet.init() for servlet [execution] threw exception
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'keepAliveDispatcherComponent' defined in URL [jar:file:/opt/nolio/nes01/webapps/execution/WEB-INF/lib/nolio-execution-6.8.5.jar!/com/nolio/platform/server/communication/services/KeepAliveDispatcherComponent.class]: Unsatisfied dependency expressed through constructor parameter 1; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'executionEngine': Unsatisfied dependency expressed through field 'brokerInfo'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'brokerInfo' defined in class path resource [com/nolio/platform/server/spring/NesMainSpringConfig.class]: Unsatisfied dependency expressed through method 'brokerInfo' parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'brokerNesId' defined in class path resource [com/nolio/platform/server/spring/NesActiveMqSpringConfig.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.apache.activemq.broker.BrokerService]: Factory method 'brokerNesId' threw exception; nested exception is java.net.URISyntaxException: Illegal character in query at index 25: nio+ssl://0.0.0.0:61616?${jms.transport.configuration}
at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:794)
at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:220)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1372)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1222)
...
Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'executionEngine': Unsatisfied dependency expressed through field 'brokerInfo'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'brokerInfo' defined in class path resource [com/nolio/platform/server/spring/NesMainSpringConfig.class]: Unsatisfied dependency expressed through method 'brokerInfo' parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'brokerNesId' defined in class path resource [com/nolio/platform/server/spring/NesActiveMqSpringConfig.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.apache.activemq.broker.BrokerService]: Factory method 'brokerNesId' threw exception; nested exception is java.net.URISyntaxException: Illegal character in query at index 25: nio+ssl://0.0.0.0:61616?${jms.transport.configuration}
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.resolveFieldValue(AutowiredAnnotationBeanPostProcessor.java:713)
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:693)
at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:119)
In logs\nolio_exec_all.log :
through method 'brokerInfo' parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'brokerNesId' defined in class path resource [com/nolio/platform/server/spring/NesActiveMqSpringConfig.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.apache.activemq.broker.BrokerService]: Factory method 'brokerNesId' threw exception; nested exception is java.net.URISyntaxException: Illegal character in query at index 25: nio+ssl://0.0.0.0:61616?${jms.transport.configuration}
2024-10-07T16:35:46.827+03:00 [main] ERROR (org.springframework.web.servlet.FrameworkServlet:534) - Context initialization failed
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'keepAliveDispatcherComponent' defined in URL [jar:file:/opt/nolio/nes01/webapps/execution/WEB-INF/lib/nolio-execution-6.8.5.jar!/com/nolio/platform/server/communication/services/KeepAliveDispatcherComponent.class]: Unsatisfied dependency expressed through constructor parameter 1; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'executionEngine': Unsatisfied dependency expressed through field 'brokerInfo'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'brokerInfo' defined in class path resource [com/nolio/platform/server/spring/NesMainSpringConfig.class]: Unsatisfied dependency expressed through method 'brokerInfo' parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'brokerNesId' defined in class path resource [com/nolio/platform/server/spring/NesActiveMqSpringConfig.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.apache.activemq.broker.BrokerService]: Factory method 'brokerNesId' threw exception; nested exception is java.net.URISyntaxException: Illegal character in query at index 25: nio+ssl://0.0.0.0:61616?${jms.transport.configuration}
at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:794) ~[spring-beans-5.3.39.jar:5.3.39]
at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:220) ~[spring-beans-5.3.39.jar:5.3.39]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1372) ~[spring-beans-5.3.39.jar:5.3.39]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1222) ~[spring-beans-5.3.39.jar:5.3.39]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:582) ~[spring-beans-5.3.39.jar:5.3.39]
Release Automation 6.8.5