Kernel Notifier Deployment Issue

Hi Team,

We have tried deploying the latest release(v1.2.0.2) of MOSIP setup in our environment. All the services are up and running except the kernel notifier service which is throwing an error during the run time. Kindly check and let us know the solution for this issue. Below is the error logs of the service:

SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/home/mosip/additional_jars/kernel-auth-adapter.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/home/mosip/kernel-notification-service.jar!/BOOT-INF/lib/logback-classic-1.2.3.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See SLF4J Error Codes for an explanation.
12:27:30,200 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback-test.xml]
12:27:30,201 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback.groovy]
12:27:30,201 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Found resource [logback.xml] at [jar:file:/home/mosip/additional_jars/kernel-smsserviceprovider-msg91.jar!/logback.xml]
12:27:30,202 |-WARN in ch.qos.logback.classic.LoggerContext[default] - Resource [logback.xml] occurs multiple times on the classpath.
12:27:30,202 |-WARN in ch.qos.logback.classic.LoggerContext[default] - Resource [logback.xml] occurs at [jar:file:/home/mosip/kernel-notification-service.jar!/BOOT-INF/classes!/logback.xml]
12:27:30,202 |-WARN in ch.qos.logback.classic.LoggerContext[default] - Resource [logback.xml] occurs at [jar:file:/home/mosip/additional_jars/kernel-smsserviceprovider-msg91.jar!/logback.xml]
12:27:30,212 |-INFO in ch.qos.logback.core.joran.spi.ConfigurationWatchList@23ceabc1 - URL [jar:file:/home/mosip/additional_jars/kernel-smsserviceprovider-msg91.jar!/logback.xml] is not of type file
12:27:30,607 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - debug attribute not set
12:27:30,609 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.ConsoleAppender]
12:27:30,615 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [STDOUT]
12:27:30,700 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder] property
12:27:30,822 |-INFO in ch.qos.logback.classic.joran.action.RootLoggerAction - Setting level of ROOT logger to INFO
12:27:30,822 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [STDOUT] to Logger[ROOT]
12:27:30,823 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - End of configuration.
12:27:30,823 |-INFO in ch.qos.logback.classic.joran.JoranConfigurator@5d5eef3d - Registering current configuration as safe fallback point

SLF4J: Actual binding is of type [ch.qos.logback.classic.util.ContextSelectorStaticBinder]
2024-05-06 12:27:34,409 [main] INFO [o.s.c.s.AbstractApplicationContext].prepareRefresh.590 : Refreshing org.springframework.context.annotation.AnnotationConfigApplicationContext@475e586c: startup date [Mon May 06 12:27:34 UTC 2024]; root of context hierarchy
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.springframework.cglib.core.ReflectUtils$1 (jar:file:/home/mosip/additional_jars/kernel-auth-adapter.jar!/) to method java.lang.ClassLoader.defineClass(java.lang.String,byte,int,int,java.security.ProtectionDomain)
WARNING: Please consider reporting this to the maintainers of org.springframework.cglib.core.ReflectUtils$1
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
2024-05-06 12:27:36,306 [main] INFO [o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker].postProcessAfterInitialization.328 : Bean ‘configurationPropertiesRebinderAutoConfiguration’ of type [org.springframework.cloud.autoconfigure.ConfigurationPropertiesRebinderAutoConfiguration$$EnhancerBySpringCGLIB$$c59f928] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)

. ____ _ __ _ _
/\ / __ _ () __ __ _ \ \ \
( ( )_
_ | '_ | '| | ’ / ` | \ \ \
\/ )| |)| | | | | || (| | ) ) ) )
’ |
| .__|| ||| |_, | / / / /
=========|
|==============|/=////
:: Spring Boot ::

2024-05-06 12:27:37,402 [main] INFO [o.s.c.c.c.ConfigServicePropertySourceLocator].getRemoteEnvironment.206 : Fetching config from server at : http://config-server.config-server/config
2024-05-06 12:27:37,903 [main] INFO [o.s.c.c.c.ConfigServicePropertySourceLocator].log.150 : Located environment: name=kernel, profiles=[default], label=v1.2.0.1, version=d4c4f7edf4ef0dc9218a5e036ebe3e20ae99d04f, state=null
2024-05-06 12:27:37,903 [main] INFO [o.s.c.b.c.PropertySourceBootstrapConfiguration].initialize.98 : Located property source: CompositePropertySource {name=‘configService’, propertySources=[MapPropertySource {name=‘configClient’}, MapPropertySource {name=‘overrides’}, MapPropertySource {name=‘https://github.com/mosip/mosip-config/kernel-default.properties’}, MapPropertySource {name=‘https://github.com/mosip/mosip-config/application-default.properties’}]}
2024-05-06 12:27:38,209 [main] INFO [o.s.b.SpringApplication].logStartupProfileInfo.663 : The following profiles are active: default
2024-05-06 12:27:38,303 [main] INFO [o.s.c.s.AbstractApplicationContext].prepareRefresh.590 : Refreshing org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext@55a147cc: startup date [Mon May 06 12:27:38 UTC 2024]; parent: org.springframework.context.annotation.AnnotationConfigApplicationContext@475e586c
2024-05-06 12:27:41,216 [main] INFO [o.s.b.f.s.DefaultListableBeanFactory].registerBeanDefinition.824 : Overriding bean definition for bean ‘restTemplateInterceptor’ with a different definition: replacing [Generic bean: class [io.mosip.kernel.auth.defaultadapter.config.RestTemplateInterceptor]; scope=singleton; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in URL [jar:file:/home/mosip/additional_jars/kernel-auth-adapter.jar!/io/mosip/kernel/auth/defaultadapter/config/RestTemplateInterceptor.class]] with [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=restTemplatePostProcessor; factoryMethodName=restTemplateInterceptor; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [io/mosip/kernel/auth/defaultadapter/config/RestTemplatePostProcessor.class]]
2024-05-06 12:27:44,014 [main] INFO [o.s.c.c.s.GenericScope].setSerializationId.294 : BeanFactory id=b3163b86-8923-386f-b0d0-944f05b436d2
2024-05-06 12:27:44,415 [main] INFO [o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker].postProcessAfterInitialization.328 : Bean ‘emailNotificationAsyncHandler’ of type [io.mosip.kernel.emailnotification.exception.EmailNotificationAsyncHandler] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2024-05-06 12:27:44,415 [main] INFO [o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker].postProcessAfterInitialization.328 : Bean ‘asyncConfiguration’ of type [io.mosip.kernel.emailnotification.config.AsyncConfiguration$$EnhancerBySpringCGLIB$$cba511dc] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2024-05-06 12:27:45,399 [main] INFO [o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker].postProcessAfterInitialization.328 : Bean ‘org.springframework.security.config.annotation.configuration.ObjectPostProcessorConfiguration’ of type [org.springframework.security.config.annotation.configuration.ObjectPostProcessorConfiguration$$EnhancerBySpringCGLIB$$88edbe65] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2024-05-06 12:27:45,410 [main] INFO [o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker].postProcessAfterInitialization.328 : Bean ‘objectPostProcessor’ of type [org.springframework.security.config.annotation.configuration.AutowireBeanFactoryObjectPostProcessor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2024-05-06 12:27:45,412 [main] INFO [o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker].postProcessAfterInitialization.328 : Bean ‘org.springframework.security.access.expression.method.DefaultMethodSecurityExpressionHandler@5fa47fea’ of type [org.springframework.security.access.expression.method.DefaultMethodSecurityExpressionHandler] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2024-05-06 12:27:45,515 [main] INFO [o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker].postProcessAfterInitialization.328 : Bean ‘org.springframework.security.config.annotation.method.configuration.GlobalMethodSecurityConfiguration’ of type [org.springframework.security.config.annotation.method.configuration.GlobalMethodSecurityConfiguration$$EnhancerBySpringCGLIB$$adc26117] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2024-05-06 12:27:45,609 [main] INFO [o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker].postProcessAfterInitialization.328 : Bean ‘methodSecurityMetadataSource’ of type [org.springframework.security.access.method.DelegatingMethodSecurityMetadataSource] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2024-05-06 12:27:45,804 [main] INFO [o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker].postProcessAfterInitialization.328 : Bean ‘org.springframework.cloud.autoconfigure.ConfigurationPropertiesRebinderAutoConfiguration’ of type [org.springframework.cloud.autoconfigure.ConfigurationPropertiesRebinderAutoConfiguration$$EnhancerBySpringCGLIB$$c59f928] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2024-05-06 12:27:47,605 [main] INFO [o.s.b.w.e.t.TomcatWebServer].initialize.91 : Tomcat initialized with port(s): 8083 (http)
2024-05-06 12:27:47,699 [main] INFO [o.a.j.l.DirectJDKLog].log.173 : Initializing ProtocolHandler [“http-nio-8083”]
2024-05-06 12:27:47,718 [main] INFO [o.a.j.l.DirectJDKLog].log.173 : Starting service [Tomcat]
2024-05-06 12:27:47,718 [main] INFO [o.a.j.l.DirectJDKLog].log.173 : Starting Servlet Engine: Apache Tomcat/8.5.55
2024-05-06 12:27:47,803 [localhost-startStop-1] INFO [o.a.j.l.DirectJDKLog].log.173 : The Apache Tomcat Native library which allows using OpenSSL was not found on the java.library.path: [/usr/java/packages/lib:/usr/lib64:/lib64:/lib:/usr/lib]
2024-05-06 12:27:48,101 [localhost-startStop-1] INFO [o.a.j.l.DirectJDKLog].log.173 : Initializing Spring embedded WebApplicationContext
2024-05-06 12:27:48,101 [localhost-startStop-1] INFO [o.s.b.w.s.c.ServletWebServerApplicationContext].prepareWebApplicationContext.285 : Root WebApplicationContext: initialization completed in 9798 ms
2024-05-06 12:27:55,017 [localhost-startStop-1] INFO [o.s.b.w.s.AbstractFilterRegistrationBean].configure.244 : Mapping filter: ‘characterEncodingFilter’ to: [/]
2024-05-06 12:27:55,018 [localhost-startStop-1] INFO [o.s.b.w.s.AbstractFilterRegistrationBean].configure.244 : Mapping filter: ‘tracingFilter’ to: [/
]
2024-05-06 12:27:55,018 [localhost-startStop-1] INFO [o.s.b.w.s.AbstractFilterRegistrationBean].configure.244 : Mapping filter: ‘exceptionLoggingFilter’ to: [/]
2024-05-06 12:27:55,018 [localhost-startStop-1] INFO [o.s.b.w.s.AbstractFilterRegistrationBean].configure.244 : Mapping filter: ‘hiddenHttpMethodFilter’ to: [/
]
2024-05-06 12:27:55,019 [localhost-startStop-1] INFO [o.s.b.w.s.AbstractFilterRegistrationBean].configure.244 : Mapping filter: ‘httpPutFormContentFilter’ to: [/]
2024-05-06 12:27:55,019 [localhost-startStop-1] INFO [o.s.b.w.s.AbstractFilterRegistrationBean].configure.244 : Mapping filter: ‘requestContextFilter’ to: [/
]
2024-05-06 12:27:55,019 [localhost-startStop-1] INFO [o.s.b.w.s.AbstractFilterRegistrationBean].configure.244 : Mapping filter: ‘springSecurityFilterChain’ to: [/]
2024-05-06 12:27:55,019 [localhost-startStop-1] INFO [o.s.b.w.s.AbstractFilterRegistrationBean].configure.244 : Mapping filter: ‘reqResFilter’ to: [/
]
2024-05-06 12:27:55,019 [localhost-startStop-1] INFO [o.s.b.w.s.AbstractFilterRegistrationBean].configure.244 : Mapping filter: ‘httpTraceFilter’ to: [/]
2024-05-06 12:27:55,019 [localhost-startStop-1] INFO [o.s.b.w.s.RegistrationBean].onStartup.50 : Filter authFilter was not registered (disabled)
2024-05-06 12:27:55,020 [localhost-startStop-1] INFO [o.s.b.w.s.AbstractFilterRegistrationBean].configure.244 : Mapping filter: ‘webMvcMetricsFilter’ to: [/
]
2024-05-06 12:27:55,020 [localhost-startStop-1] INFO [o.s.b.w.s.AbstractFilterRegistrationBean].configure.244 : Mapping filter: ‘mdcInsertingServletFilter’ to: [/]
2024-05-06 12:27:55,020 [localhost-startStop-1] INFO [o.s.b.w.s.ServletRegistrationBean].addRegistration.185 : Servlet dispatcherServlet mapped to [/v1/notifier/
]
2024-05-06 12:27:56,003 [main] INFO [i.m.k.a.d.c.RestTemplatePostProcessor].postProcessAfterInitialization.46 : Post processing REST_TEMPLATE bean : restTemplate
2024-05-06 12:27:56,009 [main] INFO [i.m.k.a.d.c.RestTemplatePostProcessor].postProcessAfterInitialization.46 : Post processing REST_TEMPLATE bean : plainRestTemplate
2024-05-06 12:27:56,101 [main] INFO [i.m.k.a.d.c.RestTemplatePostProcessor].postProcessAfterInitialization.46 : Post processing REST_TEMPLATE bean : selfTokenRestTemplate
2024-05-06 12:27:56,706 [main] INFO [o.s.s.c.ExecutorConfigurationSupport].initialize.171 : Initializing ExecutorService
2024-05-06 12:27:56,709 [ThreadPoolTaskScheduler-1] INFO [i.m.k.a.d.h.TokenHelper].getClientToken.116 : Requesting for new Token for the provided OIDC Service(WebClient): http://keycloak.keycloak/auth/realms/
2024-05-06 12:27:57,420 [main] INFO [o.s.s.w.DefaultSecurityFilterChain]..43 : Creating filter chain: org.springframework.security.web.util.matcher.AnyRequestMatcher@1, [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@3659d7b1, org.springframework.security.web.context.SecurityContextPersistenceFilter@55e3d6c3, org.springframework.security.web.header.HeaderWriterFilter@62891fc8, org.springframework.security.web.authentication.logout.LogoutFilter@86733, io.mosip.kernel.auth.defaultadapter.filter.AuthFilter@58caada6, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@3cff0139, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@f096f37, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@2015b2cd, org.springframework.security.web.session.SessionManagementFilter@fca387, org.springframework.security.web.access.ExceptionTranslationFilter@1bf39d06, org.springframework.security.web.access.intercept.FilterSecurityInterceptor@221dad51]
2024-05-06 12:27:57,912 [main] INFO [o.s.w.s.h.AbstractUrlHandlerMapping].registerHandler.373 : Mapped URL path [//favicon.ico] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
2024-05-06 12:27:58,514 [main] INFO [o.s.w.s.m.m.a.RequestMappingHandlerAdapter].initControllerAdviceCache.574 : Looking for @ControllerAdvice: org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext@55a147cc: startup date [Mon May 06 12:27:38 UTC 2024]; parent: org.springframework.context.annotation.AnnotationConfigApplicationContext@475e586c
2024-05-06 12:27:58,521 [main] INFO [o.s.w.s.m.m.a.RequestMappingHandlerAdapter].initControllerAdviceCache.610 : Detected ResponseBodyAdvice bean in responseBodyAdviceConfig
2024-05-06 12:27:59,109 [main] INFO [o.s.w.s.h.AbstractHandlerMethodMapping$MappingRegistry].register.547 : Mapped “{[/email/send],methods=[POST],consumes=[multipart/form-data]}” onto public io.mosip.kernel.core.http.ResponseWrapper<io.mosip.kernel.emailnotification.dto.ResponseDto> io.mosip.kernel.emailnotification.controller.EmailNotificationController.sendEMail(java.lang.String[],java.lang.String[],java.lang.String,java.lang.String,org.springframework.web.multipart.MultipartFile[])
2024-05-06 12:27:59,110 [main] INFO [o.s.w.s.h.AbstractHandlerMethodMapping$MappingRegistry].register.547 : Mapped “{[/sms/send],methods=[POST]}” onto public io.mosip.kernel.core.http.ResponseWrapper<io.mosip.kernel.core.notification.model.SMSResponseDto> io.mosip.kernel.emailnotification.controller.SmsNotificationController.sendSmsNotification(io.mosip.kernel.core.http.RequestWrapper<io.mosip.kernel.emailnotification.dto.SmsRequestDto>)
2024-05-06 12:27:59,199 [main] INFO [o.s.w.s.h.AbstractHandlerMethodMapping$MappingRegistry].register.547 : Mapped “{[/error]}” onto public org.springframework.http.ResponseEntity<java.util.Map<java.lang.String, java.lang.Object>> org.springframework.boot.autoconfigure.web.servlet.error.BasicErrorController.error(javax.servlet.http.HttpServletRequest)
2024-05-06 12:27:59,199 [main] INFO [o.s.w.s.h.AbstractHandlerMethodMapping$MappingRegistry].register.547 : Mapped “{[/error],produces=[text/html]}” onto public org.springframework.web.servlet.ModelAndView org.springframework.boot.autoconfigure.web.servlet.error.BasicErrorController.errorHtml(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)
2024-05-06 12:27:59,215 [main] INFO [o.s.w.s.h.AbstractHandlerMethodMapping$MappingRegistry].register.547 : Mapped “{[/v3/api-docs],methods=[GET],produces=[application/json]}” onto public java.lang.String org.springdoc.webmvc.api.OpenApiWebMvcResource.openapiJson(javax.servlet.http.HttpServletRequest,java.lang.String) throws com.fasterxml.jackson.core.JsonProcessingException
2024-05-06 12:27:59,215 [main] INFO [o.s.w.s.h.AbstractHandlerMethodMapping$MappingRegistry].register.547 : Mapped “{[/v3/api-docs.yaml],methods=[GET],produces=[application/vnd.oai.openapi]}” onto public java.lang.String org.springdoc.webmvc.api.OpenApiWebMvcResource.openapiYaml(javax.servlet.http.HttpServletRequest,java.lang.String) throws com.fasterxml.jackson.core.JsonProcessingException
2024-05-06 12:27:59,299 [main] INFO [o.s.w.s.h.AbstractHandlerMethodMapping$MappingRegistry].register.547 : Mapped “{[/swagger-ui.html],methods=[GET]}” onto public org.springframework.http.ResponseEntity<java.lang.Void> org.springdoc.webmvc.ui.SwaggerWelcomeWebMvc.redirectToUi(javax.servlet.http.HttpServletRequest)
2024-05-06 12:27:59,299 [main] INFO [o.s.w.s.h.AbstractHandlerMethodMapping$MappingRegistry].register.547 : Mapped “{[/v3/api-docs/swagger-config],methods=[GET],produces=[application/json]}” onto public java.util.Map<java.lang.String, java.lang.Object> org.springdoc.webmvc.ui.SwaggerWelcomeWebMvc.openapiJson(javax.servlet.http.HttpServletRequest)
2024-05-06 12:28:00,501 [ThreadPoolTaskScheduler-1] INFO [i.m.k.a.d.h.TokenHelper].getClientToken.137 : Found Token in response body and returning the Token(WebClient)
2024-05-06 12:28:02,707 [main] INFO [o.s.w.s.h.AbstractUrlHandlerMapping].registerHandler.373 : Mapped URL path [/webjars/
] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
2024-05-06 12:28:02,707 [main] INFO [o.s.w.s.h.AbstractUrlHandlerMapping].registerHandler.373 : Mapped URL path [/] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
2024-05-06 12:28:02,707 [main] INFO [o.s.w.s.h.AbstractUrlHandlerMapping].registerHandler.373 : Mapped URL path [/swagger-ui*/
] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
2024-05-06 12:28:02,813 [main] INFO [o.s.w.s.m.m.a.ExceptionHandlerExceptionResolver].initExceptionHandlerAdviceCache.288 : Detected @ExceptionHandler methods in authAdapterExceptionHandler
2024-05-06 12:28:02,813 [main] INFO [o.s.w.s.m.m.a.ExceptionHandlerExceptionResolver].initExceptionHandlerAdviceCache.288 : Detected @ExceptionHandler methods in apiExceptionHandler
2024-05-06 12:28:02,813 [main] INFO [o.s.w.s.m.m.a.ExceptionHandlerExceptionResolver].initExceptionHandlerAdviceCache.294 : Detected ResponseBodyAdvice implementation in responseBodyAdviceConfig
2024-05-06 12:28:02,814 [main] INFO [o.s.w.s.m.m.a.ExceptionHandlerExceptionResolver].initExceptionHandlerAdviceCache.288 : Detected @ExceptionHandler methods in io.mosip.kernel.smsserviceprovider.msg91.exception.ApiExceptionHandler
2024-05-06 12:28:02,814 [main] INFO [o.s.w.s.m.m.a.ExceptionHandlerExceptionResolver].initExceptionHandlerAdviceCache.288 : Detected @ExceptionHandler methods in org.springdoc.core.SpringDocConfiguration$OpenApiResourceAdvice
2024-05-06 12:28:03,409 [main] WARN [o.s.c.s.AbstractApplicationContext].refresh.558 : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘io.mosip.kernel.smsserviceprovider.msg91.impl.SMSServiceProviderImpl’: Injection of autowired dependencies failed; nested exception is java.lang.IllegalArgumentException: Could not resolve placeholder ‘mosip.kernel.sms.number.min.length’ in value “${mosip.kernel.sms.number.min.length}”
2024-05-06 12:28:03,412 [main] INFO [o.a.j.l.DirectJDKLog].log.173 : Stopping service [Tomcat]
2024-05-06 12:28:03,418 [localhost-startStop-1] WARN [o.a.j.l.DirectJDKLog].log.175 : Failed to clear soft references from ObjectStreamClass$Caches for web application [ROOT]
java.lang.ClassCastException: class java.io.ObjectStreamClass$Caches$1 cannot be cast to class java.util.Map (java.io.ObjectStreamClass$Caches$1 and java.util.Map are in module java.base of loader ‘bootstrap’)
at org.apache.catalina.loader.WebappClassLoaderBase.clearCache(WebappClassLoaderBase.java:2244)
at org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesObjectStreamClassCaches(WebappClassLoaderBase.java:2231)
at org.apache.catalina.loader.WebappClassLoaderBase.clearReferences(WebappClassLoaderBase.java:1603)
at org.apache.catalina.loader.WebappClassLoaderBase.stop(WebappClassLoaderBase.java:1548)
at org.apache.catalina.loader.WebappLoader.stopInternal(WebappLoader.java:452)
at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:257)
at org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5437)
at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:257)
at org.apache.catalina.core.ContainerBase$StopChild.call(ContainerBase.java:1428)
at org.apache.catalina.core.ContainerBase$StopChild.call(ContainerBase.java:1417)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:829)
2024-05-06 12:28:03,509 [main] INFO [o.s.b.a.l.ConditionEvaluationReportLoggingListener].logAutoConfigurationReport.101 :

Error starting ApplicationContext. To display the conditions report re-run your application with ‘debug’ enabled.
2024-05-06 12:28:03,512 [main] ERROR [o.s.b.SpringApplication].reportFailure.842 : Application run failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘io.mosip.kernel.smsserviceprovider.msg91.impl.SMSServiceProviderImpl’: Injection of autowired dependencies failed; nested exception is java.lang.IllegalArgumentException: Could not resolve placeholder ‘mosip.kernel.sms.number.min.length’ in value “${mosip.kernel.sms.number.min.length}”
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:379)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1348)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:578)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:501)
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:317)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:315)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:760)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:869)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:550)
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:140)
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:759)
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:395)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:327)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1255)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1243)
at io.mosip.kernel.emailnotification.NotificationBootApplication.main(NotificationBootApplication.java:29)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:48)
at org.springframework.boot.loader.Launcher.launch(Launcher.java:87)
at org.springframework.boot.loader.Launcher.launch(Launcher.java:50)
at org.springframework.boot.loader.PropertiesLauncher.main(PropertiesLauncher.java:593)
Caused by: java.lang.IllegalArgumentException: Could not resolve placeholder ‘mosip.kernel.sms.number.min.length’ in value “${mosip.kernel.sms.number.min.length}”
at org.springframework.util.PropertyPlaceholderHelper.parseStringValue(PropertyPlaceholderHelper.java:172)
at org.springframework.util.PropertyPlaceholderHelper.replacePlaceholders(PropertyPlaceholderHelper.java:124)
at org.springframework.core.env.AbstractPropertyResolver.doResolvePlaceholders(AbstractPropertyResolver.java:237)
at org.springframework.core.env.AbstractPropertyResolver.resolveRequiredPlaceholders(AbstractPropertyResolver.java:211)
at org.springframework.context.support.PropertySourcesPlaceholderConfigurer.lambda$processProperties$0(PropertySourcesPlaceholderConfigurer.java:175)
at org.springframework.beans.factory.support.AbstractBeanFactory.resolveEmbeddedValue(AbstractBeanFactory.java:839)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1086)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1065)
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:584)
at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:91)
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:373)
… 25 common frames omitted

Thanks
Naveen