/usr/local/s2i/run: line 15: /opt/jboss/container/maven/default//scl-enable-maven: No such file or directory Starting the Java application using /opt/jboss/container/java/run/run-java.sh ... INFO exec java -Xms64m -Xmx512m -Djava.security.egd=file:/dev/./urandom -javaagent:/opt/jboss/container/jolokia/jolokia.jar=config=/opt/jboss/container/jolokia/etc/jolokia.properties -XX:+UseParallelOldGC -XX:MinHeapFreeRatio=10 -XX:MaxHeapFreeRatio=20 -XX:GCTimeRatio=4 -XX:AdaptiveSizePolicyWeight=90 -XX:MaxMetaspaceSize=100m -XX:ParallelGCThreads=1 -Djava.util.concurrent.ForkJoinPool.common.parallelism=1 -XX:CICompilerCount=2 -XX:+ExitOnOutOfMemoryError -** "." -jar /deployments/calendario.jar Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8 I> No access restrictor found, access to any MBean is allowed Jolokia: Agent started with URL https://10.131.10.180:8778/jolokia/ 2020-09-09 18:07:27.972 INFO [calendario,,,] 1 --- [ main] s.c.a.AnnotationConfigApplicationContext : Refreshing org.springframework.context.annotation.AnnotationConfigApplicationContext@7113b13f: startup date [Wed Sep 09 18:07:27 BRT 2020]; root of context hierarchy 2020-09-09 18:07:29.591 INFO [calendario,,,] 1 --- [ main] f.a.AutowiredAnnotationBeanPostProcessor : JSR-330 'javax.inject.Inject' annotation found and supported for autowiring 2020-09-09 18:07:29.883 INFO [calendario,,,] 1 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'configurationPropertiesRebinderAutoConfiguration' of type [org.springframework.cloud.autoconfigure.ConfigurationPropertiesRebinderAutoConfiguration$$EnhancerBySpringCGLIB$$613185be] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v2.0.9.RELEASE) 2020-09-09 18:07:34.388 WARN [calendario,,,] 1 --- [ main] o.s.c.k.config.ConfigMapPropertySource : Can't read configMap with name: [calendario] in namespace:[comum-dev]. Ignoring. io.fabric8.kubernetes.client.KubernetesClientException: Failure executing: GET at: https://172.30.0.1/api/v1/namespaces/comum-dev/configmaps/calendario. Message: Forbidden!Configured service account doesn't have access. Service account may have been revoked. configmaps "calendario" is forbidden: User "system:serviceaccount:comum-dev:deployer" cannot get resource "configmaps" in API group "" in the namespace "comum-dev". at io.fabric8.kubernetes.client.dsl.base.OperationSupport.requestFailure(OperationSupport.java:503) at io.fabric8.kubernetes.client.dsl.base.OperationSupport.assertResponseCode(OperationSupport.java:440) at io.fabric8.kubernetes.client.dsl.base.OperationSupport.handleResponse(OperationSupport.java:406) at io.fabric8.kubernetes.client.dsl.base.OperationSupport.handleResponse(OperationSupport.java:365) at io.fabric8.kubernetes.client.dsl.base.OperationSupport.handleGet(OperationSupport.java:330) at io.fabric8.kubernetes.client.dsl.base.OperationSupport.handleGet(OperationSupport.java:311) at io.fabric8.kubernetes.client.dsl.base.BaseOperation.handleGet(BaseOperation.java:810) at io.fabric8.kubernetes.client.dsl.base.BaseOperation.getMandatory(BaseOperation.java:218) at io.fabric8.kubernetes.client.dsl.base.BaseOperation.get(BaseOperation.java:162) at org.springframework.cloud.kubernetes.config.ConfigMapPropertySource.getData(ConfigMapPropertySource.java:95) at org.springframework.cloud.kubernetes.config.ConfigMapPropertySource.(ConfigMapPropertySource.java:76) at org.springframework.cloud.kubernetes.config.ConfigMapPropertySourceLocator.getMapPropertySourceForSingleConfigMap(ConfigMapPropertySourceLocator.java:95) at org.springframework.cloud.kubernetes.config.ConfigMapPropertySourceLocator.lambda$locate$0(ConfigMapPropertySourceLocator.java:78) at java.util.ArrayList.forEach(ArrayList.java:1257) at org.springframework.cloud.kubernetes.config.ConfigMapPropertySourceLocator.locate(ConfigMapPropertySourceLocator.java:77) at org.springframework.cloud.bootstrap.config.PropertySourceBootstrapConfiguration.initialize(PropertySourceBootstrapConfiguration.java:94) at org.springframework.boot.SpringApplication.applyInitializers(SpringApplication.java:628) at org.springframework.boot.SpringApplication.prepareContext(SpringApplication.java:364) at org.springframework.boot.SpringApplication.run(SpringApplication.java:305) at org.springframework.boot.SpringApplication.run(SpringApplication.java:1242) at org.springframework.boot.SpringApplication.run(SpringApplication.java:1230) at br.com.vr.calendario.CalendarioApplication.main(CalendarioApplication.java:34) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) 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.JarLauncher.main(JarLauncher.java:51) 2020-09-09 18:07:34.393 INFO [calendario,,,] 1 --- [ main] b.c.PropertySourceBootstrapConfiguration : Located property source: CompositePropertySource {name='composite-configmap', propertySources=[ConfigMapPropertySource {name='configmap.calendario.comum-dev'}]} 2020-09-09 18:07:34.473 INFO [calendario,,,] 1 --- [ main] b.c.PropertySourceBootstrapConfiguration : Located property source: CompositePropertySource {name='composite-secrets', propertySources=[MapPropertySource {name='spring.datasource.password'}, MapPropertySource {name='spring.datasource.username'}]} {"@timestamp":"2020-09-09T21:07:34.973+00:00","appName":"calendario","level":"INFO","logger_name":"br.com.vr.calendario.CalendarioApplication","severity":"INFO","service":"calendario","@version":"1.0.0","trace":"","span":"","parent":"","exportable":"","pid":"1","thread":"main","class":"b.c.vr.calendario.CalendarioApplication","message":"The following profiles are active: kubernetes,default","thread_name":"main","message":"The following profiles are active: kubernetes,default"} 2020-09-09 18:07:35.077 INFO [calendario,,,] 1 --- [ main] ConfigServletWebServerApplicationContext : Refreshing org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext@3901d134: startup date [Wed Sep 09 18:07:35 BRT 2020]; parent: org.springframework.context.annotation.AnnotationConfigApplicationContext@7113b13f