# Kernel notifier crashloopback

**URL:** <https://community.mosip.io/t/kernel-notifier-crashloopback/835>\
**Category:** General\
**Created:** [October 17, 2023, 8:08am UTC](https://community.mosip.io/t/kernel-notifier-crashloopback/835 "2023-10-17T08:08:46Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![paredescedric3](https://dub1.discourse-cdn.com/flex017/user_avatar/community.mosip.io/paredescedric3/32/747_2.png) [@paredescedric3](https://community.mosip.io/u/paredescedric3)\
**Post date:** [October 17, 2023, 8:08am UTC](https://community.mosip.io/t/kernel-notifier-crashloopback/835/1 "2023-10-17T08:08:46Z")

</div>

![image](https://europe1.discourse-cdn.com/flex017/uploads/mosip1/original/1X/2327caa0af7d977ac2b088580cefd563eb6546d2.png)

2023-10-17 07:55:31,879 [main] INFO [o.s.c.c.c.ConfigServicePropertySourceLocator].getRemoteEnvironment.206 : Fetching config fr om server at : [http://config-server.config-server/config](http://config-server.config-server/config)  
2023-10-17 07:55:32,672 [main] WARN [o.s.c.c.c.ConfigServicePropertySourceLocator].locate.141 : Could not locate PropertySource: label not found  
2023-10-17 07:55:32,675 [main] INFO [o.s.b.SpringApplication].logStartupProfileInfo.663 : The following profiles are active: def ault  
2023-10-17 07:55:32,687 [main] INFO [o.s.c.s.AbstractApplicationContext].prepareRefresh.590 : Refreshing org.springframework.boo t.web.servlet.context.AnnotationConfigServletWebServerApplicationContext@368247b9: startup date [Tue Oct 17 07:55:32 UTC 2023]; parent: org.springframework.context.annotation.AnnotationConfigApplicationContext@21507a04  
2023-10-17 07:55:32,967 [main] WARN [o.s.c.s.AbstractApplicationContext].refresh.558 : Exception encountered during context init ialization - cancelling refresh attempt: org.springframework.beans.factory.BeanDefinitionStoreException: Failed to parse configu ration class [io.mosip.kernel.emailnotification.NotificationBootApplication]; nested exception is java.lang.IllegalArgumentExcep tion: Could not resolve placeholder ‘mosip.auth.adapter.impl.basepackage’ in value “${mosip.auth.adapter.impl.basepackage}”  
2023-10-17 07:55:32,971 [main] ERROR [o.s.b.SpringApplication].reportFailure.842 : Application run failed  
org.springframework.beans.factory.BeanDefinitionStoreException: Failed to parse configuration class [io.mosip.kernel.emailnotifi cation.NotificationBootApplication]; nested exception is java.lang.IllegalArgumentException: Could not resolve placeholder ‘mosi p.auth.adapter.impl.basepackage’ in value “${mosip.auth.adapter.impl.basepackage}”  
at org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:184)  
at org.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions(ConfigurationClas sPostProcessor.java:316)  
at org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanDefinitionRegistry(Configuratio nClassPostProcessor.java:233)  
at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanDefinitionRegistryPostProcessors(Post ProcessorRegistrationDelegate.java:273)  
at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRe gistrationDelegate.java:93)  
at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationCon text.java:694)  
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:532)  
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationCo ntext.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.auth.adapter.impl.basepackage’ in value “${m osip.auth.adapter.impl.basepackage}”  
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.core.env.AbstractEnvironment.resolveRequiredPlaceholders(AbstractEnvironment.java:567)  
at org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider.resolveBasePackage(ClassPathScanni ngCandidateComponentProvider.java:481)  
at org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider.scanCandidateComponents(ClassPathS canningCandidateComponentProvider.java:420)  
at org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider.findCandidateComponents(ClassPathS canningCandidateComponentProvider.java:316)  
at org.springframework.context.annotation.ClassPathBeanDefinitionScanner.doScan(ClassPathBeanDefinitionScanner.java:275)  
at org.springframework.context.annotation.ComponentScanAnnotationParser.parse(ComponentScanAnnotationParser.java:132)  
at org.springframework.context.annotation.ConfigurationClassParser.doProcessConfigurationClass(ConfigurationClassParser. java:288)  
at org.springframework.context.annotation.ConfigurationClassParser.processConfigurationClass(ConfigurationClassParser.ja va:245)  
at org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:202)  
at org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:170)  
… 21 common frames omitted

---

<div class="post-metadata">

**Author:** ![thamarai\_kannan](https://dub1.discourse-cdn.com/flex017/user_avatar/community.mosip.io/thamarai_kannan/32/83_2.png) [@thamarai\_kannan](https://community.mosip.io/u/thamarai_kannan)\
**Post date:** [October 17, 2023, 9:04am UTC](https://community.mosip.io/t/kernel-notifier-crashloopback/835/2 "2023-10-17T09:04:28Z")

</div>

Dear @paredescedric3 , As per above screen shot, Error triggered in ${mosip.auth.adapter.impl.basepackage} property missing.

Please check application-default.properties file whether below property available or not. incase not available please add it

mosip.auth.adapter.impl.basepackage=io.mosip.kernel.auth.defaultadapter

and also artifactory pod should up and run

---

<div class="post-metadata">

**Author:** ![paredescedric3](https://dub1.discourse-cdn.com/flex017/user_avatar/community.mosip.io/paredescedric3/32/747_2.png) [@paredescedric3](https://community.mosip.io/u/paredescedric3)\
**Post date:** [October 17, 2023, 9:11am UTC](https://community.mosip.io/t/kernel-notifier-crashloopback/835/3 "2023-10-17T09:11:46Z")

</div>

Where can we edit the application default.properties?

---

<div class="post-metadata">

**Author:** ![paredescedric3](https://dub1.discourse-cdn.com/flex017/user_avatar/community.mosip.io/paredescedric3/32/747_2.png) [@paredescedric3](https://community.mosip.io/u/paredescedric3)\
**Post date:** [October 18, 2023, 4:28am UTC](https://community.mosip.io/t/kernel-notifier-crashloopback/835/4 "2023-10-18T04:28:47Z")

</div>

Hello @thamarai_kannan How can we access the application default properties,

---

<div class="post-metadata">

**Author:** ![thamarai\_kannan](https://dub1.discourse-cdn.com/flex017/user_avatar/community.mosip.io/thamarai_kannan/32/83_2.png) [@thamarai\_kannan](https://community.mosip.io/u/thamarai_kannan)\
**Post date:** [October 18, 2023, 4:50am UTC](https://community.mosip.io/t/kernel-notifier-crashloopback/835/5 "2023-10-18T04:50:19Z")

</div>

> [@paredescedric3](#):
>
> application default.properties

application default.properties present in mosip-config repository. i hope you have clone the mosip-config repository to your local github for mosip config-server deployment

---

<div class="post-metadata">

**Author:** ![paredescedric3](https://dub1.discourse-cdn.com/flex017/user_avatar/community.mosip.io/paredescedric3/32/747_2.png) [@paredescedric3](https://community.mosip.io/u/paredescedric3)\
**Post date:** [October 18, 2023, 5:16am UTC](https://community.mosip.io/t/kernel-notifier-crashloopback/835/6 "2023-10-18T05:16:08Z")

</div>

Thanks for the reply @thamarai_kannan

does this suffice that?

 ![image](https://europe1.discourse-cdn.com/flex017/uploads/mosip1/original/1X/3b4358f8d670943aa50f319174c58eb10a567219.png)  
Or do we need to clone first the mosip-config repo, then we run ./install.sh?

as checked on the the git, it is already added

---

<div class="post-metadata">

**Author:** ![paredescedric3](https://dub1.discourse-cdn.com/flex017/user_avatar/community.mosip.io/paredescedric3/32/747_2.png) [@paredescedric3](https://community.mosip.io/u/paredescedric3)\
**Post date:** [October 18, 2023, 5:35am UTC](https://community.mosip.io/t/kernel-notifier-crashloopback/835/7 "2023-10-18T05:35:20Z")

</div>

Hello @thamarai_kannan

and also artifcatory is running,

 ![image](https://europe1.discourse-cdn.com/flex017/uploads/mosip1/original/1X/6abb70d119e3fb3057dc4780eee2a935e090bfc1.png)

---

<div class="post-metadata">

**Author:** ![thamarai\_kannan](https://dub1.discourse-cdn.com/flex017/user_avatar/community.mosip.io/thamarai_kannan/32/83_2.png) [@thamarai\_kannan](https://community.mosip.io/u/thamarai_kannan)\
**Post date:** [October 18, 2023, 6:18am UTC](https://community.mosip.io/t/kernel-notifier-crashloopback/835/8 "2023-10-18T06:18:16Z")

</div>

hi @paredescedric3 , as per the screen shot, you are using mosip-config from mosip organization. its better to clone the mosip-config to your local organization and modify the application-default.properties then use same in you config-server

once clone done check the below property in application-default,properties  
mosip.auth.adapter.impl.basepackage=io.mosip.kernel.auth.defaultadapter

---

<div class="post-metadata">

**Author:** ![paredescedric3](https://dub1.discourse-cdn.com/flex017/user_avatar/community.mosip.io/paredescedric3/32/747_2.png) [@paredescedric3](https://community.mosip.io/u/paredescedric3)\
**Post date:** [October 18, 2023, 8:33am UTC](https://community.mosip.io/t/kernel-notifier-crashloopback/835/9 "2023-10-18T08:33:27Z")

</div>

Hello @thamarai_kannan  
How to point the repository to our cloned config-server, it seems that it is still using the git ones

---

<div class="post-metadata">

**Author:** ![thamarai\_kannan](https://dub1.discourse-cdn.com/flex017/user_avatar/community.mosip.io/thamarai_kannan/32/83_2.png) [@thamarai\_kannan](https://community.mosip.io/u/thamarai_kannan)\
**Post date:** [October 18, 2023, 10:43am UTC](https://community.mosip.io/t/kernel-notifier-crashloopback/835/11 "2023-10-18T10:43:57Z")

</div>

Are you using Environment V2 or V3 ?

---

<div class="post-metadata">

**Author:** ![paredescedric3](https://dub1.discourse-cdn.com/flex017/user_avatar/community.mosip.io/paredescedric3/32/747_2.png) [@paredescedric3](https://community.mosip.io/u/paredescedric3)\
**Post date:** [October 18, 2023, 11:02am UTC](https://community.mosip.io/t/kernel-notifier-crashloopback/835/12 "2023-10-18T11:02:29Z")

</div>

Hi @thamarai_kannan Im currently using V3

---

<div class="post-metadata">

**Author:** ![paredescedric3](https://dub1.discourse-cdn.com/flex017/user_avatar/community.mosip.io/paredescedric3/32/747_2.png) [@paredescedric3](https://community.mosip.io/u/paredescedric3)\
**Post date:** [October 19, 2023, 3:23am UTC](https://community.mosip.io/t/kernel-notifier-crashloopback/835/13 "2023-10-19T03:23:22Z")

</div>

Hello @thamarai_kannan

Updates sir?

---

<div class="post-metadata">

**Author:** ![thamarai\_kannan](https://dub1.discourse-cdn.com/flex017/user_avatar/community.mosip.io/thamarai_kannan/32/83_2.png) [@thamarai\_kannan](https://community.mosip.io/u/thamarai_kannan)\
**Post date:** [October 19, 2023, 8:51am UTC](https://community.mosip.io/t/kernel-notifier-crashloopback/835/14 "2023-10-19T08:51:15Z")

</div>

In V3, you have to Update the Github Url & User id in

Namespace : Config-server  
configmaps : config-server-env-vars  
Fields to Update : SPRING\_CLOUD\_CONFIG\_SERVER\_GIT\_URI & SPRING\_CLOUD\_CONFIG\_SERVER\_GIT\_USERNAME

and for Github branch details in  
Namespace : multiple Namespace  
Configmaps : config-server-share  
Fields to update : spring\_config\_label\_env

for Github secrets  
Namespace : config-server  
Secret : config-server  
Fields: github-token

---

<div class="post-metadata">

**Author:** ![paredescedric3](https://dub1.discourse-cdn.com/flex017/user_avatar/community.mosip.io/paredescedric3/32/747_2.png) [@paredescedric3](https://community.mosip.io/u/paredescedric3)\
**Post date:** [October 19, 2023, 10:57am UTC](https://community.mosip.io/t/kernel-notifier-crashloopback/835/15 "2023-10-19T10:57:46Z")

</div>

Thank you so much @thamarai_kannan  
it now works, I really appreciate your feedback

---

<div class="post-metadata">

**Author:** ![sanchi-singh24](https://dub1.discourse-cdn.com/flex017/user_avatar/community.mosip.io/sanchi-singh24/32/538_2.png) [@sanchi-singh24](https://community.mosip.io/u/sanchi-singh24)\
**Post date:** [October 23, 2023, 1:38pm UTC](https://community.mosip.io/t/kernel-notifier-crashloopback/835/16 "2023-10-23T13:38:19Z")

</div>

Hi @paredescedric3

I hope we were able to solve your issue and for further queries, you can raise another ticket here on our community channel.

Best Regards,  
Team MOSIP

---

<div class="post-metadata">

**Author:** ![sanchi-singh24](https://dub1.discourse-cdn.com/flex017/user_avatar/community.mosip.io/sanchi-singh24/32/538_2.png) [@sanchi-singh24](https://community.mosip.io/u/sanchi-singh24)\
**Post date:** [October 23, 2023, 1:38pm UTC](https://community.mosip.io/t/kernel-notifier-crashloopback/835/17 "2023-10-23T13:38:25Z")

</div>


