ERROR | [main] | TomcatStarter | [TomcatStarter.java : 61] - Error starting Tomcat context. Exception: org.springframework.beans.factory.UnsatisfiedDependencyException. Message: Error creating bean with name 'sessionRepositoryFilterRegistration' defined in class path resource [org/springframework/boot/autoconfigure/session/SessionRepositoryFilterConfiguration.class]: Unsatisfied dependency expressed through method 'sessionRepositoryFilterRegistration' parameter 1; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.boot.autoconfigure.session.HazelcastSessionConfiguration$SpringBootHazelcastHttpSessionConfiguration': Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'hazelcastInstance' defined in class path resource [org/springframework/boot/autoconfigure/hazelcast/HazelcastServerConfiguration$HazelcastServerConfigConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.hazelcast.core.HazelcastInstance]: Factory method 'hazelcastInstance' threw exception; nested exception is java.lang.IllegalStateException: Node failed to start!
```
mb@nbo00370518:~/dave/helm-charts/charts/dave$ oc logs dave-backend-b7ff6cfd7-wstb7
Starting the Java application using /opt/jboss/container/java/run/run-java.sh ...
INFO exec -a "java" java -javaagent:/usr/share/java/jolokia-jvm-agent/jolokia-jvm.jar=config=/opt/jboss/container/jolokia/etc/jolokia.properties -XX:MaxRAMPercentage=80.0 -XX:+UseParallelGC -XX:MinHeapFreeRatio=10 -XX:MaxHeapFreeRatio=20 -XX:GCTimeRatio=4 -XX:AdaptiveSizePolicyWeight=90 -XX:MaxMetaspaceSize=200m -XX:+ExitOnOutOfMemoryError -cp "." -jar /deployments/spring-boot-application.jar
INFO running in /deployments
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.jolokia.util.ClassUtil (file:/usr/share/java/jolokia-jvm-agent/jolokia-jvm.jar) to constructor sun.security.x509.X500Name(java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String)
WARNING: Please consider reporting this to the maintainers of org.jolokia.util.ClassUtil
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
I> No access restrictor found, access to any MBean is allowed
Jolokia: Agent started with URL https://10.138.59.247:8778/jolokia/
---------------------------------------------------------------------------------------------------------------------------------------------------
_____ __ __
| __ \ /\ \ \ / /
| | | | / \ \ \ / / ___
| | | | / /\ \ \ \/ / / _ \
| |__| | _ / ____ \ _ \ / | __/ _
|_____/ (_) /_/ \_\ (_) \/ \___| (_)
_________________________
/\\ _____ | | | | | | \
,-----, / \\____/__|__\_ |___|_____|_____|____|_|___\
,--'---:---`--, / | _ | `| | | | \
==(o)-----(o)==J `(o)-------(o)= --(o)(o)--------------(o)--'
Datenbank und Auswertungen von Verkehrszählungen
Application Name : dave-backend
Spring Boot Version : (v2.7.8)
---------------------------------------------------------------------------------------------------------------------------------------------------
2024.02.28 12:48:40.418 | dave-backend | TraceId: | SpanId: ] |
INFO | [main] | DaveBackendApplication | [StartupInfoLogger.java : 55] - Starting DaveBackendApplication using Java 11.0.22 on dave-backend-b7ff6cfd7-wstb7 with PID 1 (/deployments/spring-boot-application.jar started by 1003100000 in /deployments)
2024.02.28 12:48:40.421 | dave-backend | TraceId: | SpanId: ] |
DEBUG | [main] | DaveBackendApplication | [StartupInfoLogger.java : 56] - Running with Spring Boot v2.7.8, Spring v5.3.25
2024.02.28 12:48:40.422 | dave-backend | TraceId: | SpanId: ] |
INFO | [main] | DaveBackendApplication | [SpringApplication.java : 637] - The following 1 profile is active: "dev"
2024.02.28 12:48:50.418 | dave-backend | TraceId: | SpanId: ] |
INFO | [main] | RepositoryConfigurationDelegate | [RepositoryConfigurationDelegate.java : 262] - Multiple Spring Data modules found, entering strict repository configuration mode
2024.02.28 12:48:50.419 | dave-backend | TraceId: | SpanId: ] |
INFO | [main] | RepositoryConfigurationDelegate | [RepositoryConfigurationDelegate.java : 132] - Bootstrapping Spring Data Elasticsearch repositories in DEFAULT mode.
2024.02.28 12:48:50.810 | dave-backend | TraceId: | SpanId: ] |
INFO | [main] | RepositoryConfigurationDelegate | [RepositoryConfigurationDelegate.java : 201] - Finished Spring Data repository scanning in 384 ms. Found 2 Elasticsearch repository interfaces.
2024.02.28 12:48:50.823 | dave-backend | TraceId: | SpanId: ] |
INFO | [main] | RepositoryConfigurationDelegate | [RepositoryConfigurationDelegate.java : 262] - Multiple Spring Data modules found, entering strict repository configuration mode
2024.02.28 12:48:50.823 | dave-backend | TraceId: | SpanId: ] |
INFO | [main] | RepositoryConfigurationDelegate | [RepositoryConfigurationDelegate.java : 132] - Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2024.02.28 12:48:51.111 | dave-backend | TraceId: | SpanId: ] |
INFO | [main] | RepositoryConfigurationExtensionSupport | [RepositoryConfigurationExtensionSupport.java : 349] - Spring Data JPA - Could not safely identify store assignment for repository candidate interface de.muenchen.dave.repositories.elasticsearch.ZaehlstelleIndex; If you want this repository to be a JPA repository, consider annotating your entities with one of these annotations: javax.persistence.Entity, javax.persistence.MappedSuperclass (preferred), or consider extending one of the following types with your repository: org.springframework.data.jpa.repository.JpaRepository
2024.02.28 12:48:51.123 | dave-backend | TraceId: | SpanId: ] |
INFO | [main] | RepositoryConfigurationExtensionSupport | [RepositoryConfigurationExtensionSupport.java : 349] - Spring Data JPA - Could not safely identify store assignment for repository candidate interface de.muenchen.dave.repositories.elasticsearch.CustomSuggestIndex; If you want this repository to be a JPA repository, consider annotating your entities with one of these annotations: javax.persistence.Entity, javax.persistence.MappedSuperclass (preferred), or consider extending one of the following types with your repository: org.springframework.data.jpa.repository.JpaRepository
2024.02.28 12:48:51.509 | dave-backend | TraceId: | SpanId: ] |
INFO | [main] | RepositoryConfigurationDelegate | [RepositoryConfigurationDelegate.java : 201] - Finished Spring Data repository scanning in 681 ms. Found 7 JPA repository interfaces.
2024.02.28 12:48:55.130 | dave-backend | TraceId: | SpanId: ] |
INFO | [main] | RepositoryConfigurationDelegate | [RepositoryConfigurationDelegate.java : 262] - Multiple Spring Data modules found, entering strict repository configuration mode
2024.02.28 12:48:55.131 | dave-backend | TraceId: | SpanId: ] |
INFO | [main] | RepositoryConfigurationDelegate | [RepositoryConfigurationDelegate.java : 132] - Bootstrapping Spring Data Reactive Elasticsearch repositories in DEFAULT mode.
2024.02.28 12:48:55.313 | dave-backend | TraceId: | SpanId: ] |
INFO | [main] | RepositoryConfigurationExtensionSupport | [RepositoryConfigurationExtensionSupport.java : 349] - Spring Data Reactive Elasticsearch - Could not safely identify store assignment for repository candidate interface de.muenchen.dave.repositories.relationaldb.ZeitintervallRepository; If you want this repository to be a Reactive Elasticsearch repository, consider annotating your entities with one of these annotations: org.springframework.data.elasticsearch.annotations.Document (preferred), or consider extending one of the following types with your repository: org.springframework.data.elasticsearch.repository.ReactiveElasticsearchRepository
2024.02.28 12:48:55.314 | dave-backend | TraceId: | SpanId: ] |
INFO | [main] | RepositoryConfigurationExtensionSupport | [RepositoryConfigurationExtensionSupport.java : 349] - Spring Data Reactive Elasticsearch - Could not safely identify store assignment for repository candidate interface de.muenchen.dave.repositories.relationaldb.InfoMessageRepository; If you want this repository to be a Reactive Elasticsearch repository, consider annotating your entities with one of these annotations: org.springframework.data.elasticsearch.annotations.Document (preferred), or consider extending one of the following types with your repository: org.springframework.data.elasticsearch.repository.ReactiveElasticsearchRepository
2024.02.28 12:48:55.315 | dave-backend | TraceId: | SpanId: ] |
INFO | [main] | RepositoryConfigurationExtensionSupport | [RepositoryConfigurationExtensionSupport.java : 349] - Spring Data Reactive Elasticsearch - Could not safely identify store assignment for repository candidate interface de.muenchen.dave.repositories.relationaldb.EmailAddressRepository; If you want this repository to be a Reactive Elasticsearch repository, consider annotating your entities with one of these annotations: org.springframework.data.elasticsearch.annotations.Document (preferred), or consider extending one of the following types with your repository: org.springframework.data.elasticsearch.repository.ReactiveElasticsearchRepository
2024.02.28 12:48:55.315 | dave-backend | TraceId: | SpanId: ] |
INFO | [main] | RepositoryConfigurationExtensionSupport | [RepositoryConfigurationExtensionSupport.java : 349] - Spring Data Reactive Elasticsearch - Could not safely identify store assignment for repository candidate interface de.muenchen.dave.repositories.relationaldb.DienstleisterRepository; If you want this repository to be a Reactive Elasticsearch repository, consider annotating your entities with one of these annotations: org.springframework.data.elasticsearch.annotations.Document (preferred), or consider extending one of the following types with your repository: org.springframework.data.elasticsearch.repository.ReactiveElasticsearchRepository
2024.02.28 12:48:55.316 | dave-backend | TraceId: | SpanId: ] |
INFO | [main] | RepositoryConfigurationExtensionSupport | [RepositoryConfigurationExtensionSupport.java : 349] - Spring Data Reactive Elasticsearch - Could not safely identify store assignment for repository candidate interface de.muenchen.dave.repositories.relationaldb.HochrechnungsfaktorRepository; If you want this repository to be a Reactive Elasticsearch repository, consider annotating your entities with one of these annotations: org.springframework.data.elasticsearch.annotations.Document (preferred), or consider extending one of the following types with your repository: org.springframework.data.elasticsearch.repository.ReactiveElasticsearchRepository
2024.02.28 12:48:55.317 | dave-backend | TraceId: | SpanId: ] |
INFO | [main] | RepositoryConfigurationExtensionSupport | [RepositoryConfigurationExtensionSupport.java : 349] - Spring Data Reactive Elasticsearch - Could not safely identify store assignment for repository candidate interface de.muenchen.dave.repositories.relationaldb.ChatMessageRepository; If you want this repository to be a Reactive Elasticsearch repository, consider annotating your entities with one of these annotations: org.springframework.data.elasticsearch.annotations.Document (preferred), or consider extending one of the following types with your repository: org.springframework.data.elasticsearch.repository.ReactiveElasticsearchRepository
2024.02.28 12:48:55.317 | dave-backend | TraceId: | SpanId: ] |
INFO | [main] | RepositoryConfigurationExtensionSupport | [RepositoryConfigurationExtensionSupport.java : 349] - Spring Data Reactive Elasticsearch - Could not safely identify store assignment for repository candidate interface de.muenchen.dave.repositories.relationaldb.PkwEinheitRepository; If you want this repository to be a Reactive Elasticsearch repository, consider annotating your entities with one of these annotations: org.springframework.data.elasticsearch.annotations.Document (preferred), or consider extending one of the following types with your repository: org.springframework.data.elasticsearch.repository.ReactiveElasticsearchRepository
2024.02.28 12:48:55.317 | dave-backend | TraceId: | SpanId: ] |
INFO | [main] | RepositoryConfigurationDelegate | [RepositoryConfigurationDelegate.java : 201] - Finished Spring Data repository scanning in 186 ms. Found 0 Reactive Elasticsearch repository interfaces.
2024.02.28 12:48:58.926 | dave-backend | TraceId: | SpanId: ] |
INFO | [main] | GenericScope | [GenericScope.java : 283] - BeanFactory id=72baf491-10d4-373c-84b1-64d8a8b5f721
2024.02.28 12:49:07.621 | dave-backend | TraceId: | SpanId: ] |
INFO | [main] | TomcatWebServer | [TomcatWebServer.java : 108] - Tomcat initialized with port(s): 39146 (http)
2024.02.28 12:49:07.716 | dave-backend | TraceId: | SpanId: ] |
INFO | [main] | Http11NioProtocol | [DirectJDKLog.java : 173] - Initializing ProtocolHandler ["http-nio-39146"]
2024.02.28 12:49:07.717 | dave-backend | TraceId: | SpanId: ] |
INFO | [main] | StandardService | [DirectJDKLog.java : 173] - Starting service [Tomcat]
2024.02.28 12:49:07.717 | dave-backend | TraceId: | SpanId: ] |
INFO | [main] | StandardEngine | [DirectJDKLog.java : 173] - Starting Servlet engine: [Apache Tomcat/9.0.71]
2024.02.28 12:49:08.313 | dave-backend | TraceId: | SpanId: ] |
INFO | [main] | [/] | [DirectJDKLog.java : 173] - Initializing Spring embedded WebApplicationContext
2024.02.28 12:49:08.314 | dave-backend | TraceId: | SpanId: ] |
INFO | [main] | ServletWebServerApplicationContext | [ServletWebServerApplicationContext.java : 292] - Root WebApplicationContext: initialization completed in 27306 ms
2024.02.28 12:49:14.622 | dave-backend | TraceId: | SpanId: ] |
WARN | [main] | HazelcastInstanceFactory | [StandardLoggerFactory.java : 56] - Hazelcast is starting in a Java modular environment (Java 9 and newer) but without proper access to required Java packages. Use additional Java arguments to provide Hazelcast access to Java internal API. The internal API access is used to get the best performance results. Arguments to be used:
--add-modules java.se --add-exports java.base/jdk.internal.ref=ALL-UNNAMED --add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/sun.nio.ch=ALL-UNNAMED --add-opens java.management/sun.management=ALL-UNNAMED --add-opens jdk.management/com.sun.management.internal=ALL-UNNAMED
2024.02.28 12:49:15.314 | dave-backend | TraceId: | SpanId: ] |
INFO | [main] | logo | [StandardLoggerFactory.java : 56] - [10.138.59.247]:5701 [data_hazl_group] [5.1.5]
+ + o o o o---o o----o o o---o o o----o o--o--o
+ + + + | | / \ / | | / / \ | |
+ + + + + o----o o o o o----o | o o o o----o |
+ + + + | | / \ / | | \ / \ | |
+ + o o o o o---o o----o o----o o---o o o o----o o
2024.02.28 12:49:15.314 | dave-backend | TraceId: | SpanId: ] |
INFO | [main] | system | [StandardLoggerFactory.java : 56] - [10.138.59.247]:5701 [data_hazl_group] [5.1.5] Copyright (c) 2008-2022, Hazelcast, Inc. All Rights Reserved.
2024.02.28 12:49:15.314 | dave-backend | TraceId: | SpanId: ] |
INFO | [main] | system | [StandardLoggerFactory.java : 56] - [10.138.59.247]:5701 [data_hazl_group] [5.1.5] Hazelcast Platform 5.1.5 (20221114 - c52d6ff) starting at [10.138.59.247]:5701
2024.02.28 12:49:15.315 | dave-backend | TraceId: | SpanId: ] |
INFO | [main] | system | [StandardLoggerFactory.java : 56] - [10.138.59.247]:5701 [data_hazl_group] [5.1.5] Cluster name: data_hazl_group
2024.02.28 12:49:15.315 | dave-backend | TraceId: | SpanId: ] |
INFO | [main] | system | [StandardLoggerFactory.java : 56] - [10.138.59.247]:5701 [data_hazl_group] [5.1.5] Starting Integrity Check scan. This is a costly operation and it can be disabled if startup time is important.
To disable Integrity Checker do one of the following:
- Change member config using Java API: config.setIntegrityCheckerEnabled(false);
- Change XML/YAML configuration property: Set hazelcast.integrity-checker.enabled to false
- Add system property: -Dhz.integritychecker.enabled=false (for Hazelcast embedded, works only when loading config via Config.load)
- Add environment variable: HZ_INTEGRITYCHECKER_ENABLED=false (recommended when running container image. For Hazelcast embedded, works only when loading config via Config.load)
2024.02.28 12:49:54.508 | dave-backend | TraceId: | SpanId: ] |
INFO | [main] | system | [StandardLoggerFactory.java : 56] - [10.138.59.247]:5701 [data_hazl_group] [5.1.5] Integrity Check scan finished in 39192 milliseconds
2024.02.28 12:49:56.119 | dave-backend | TraceId: | SpanId: ] |
INFO | [main] | system | [StandardLoggerFactory.java : 56] - [10.138.59.247]:5701 [data_hazl_group] [5.1.5] Integrity Check finished in 40803 milliseconds
2024.02.28 12:49:56.126 | dave-backend | TraceId: | SpanId: ] |
INFO | [main] | system | [StandardLoggerFactory.java : 56] - [10.138.59.247]:5701 [data_hazl_group] [5.1.5] The Jet engine is disabled.
To enable the Jet engine on the members, do one of the following:
- Change member config using Java API: config.getJetConfig().setEnabled(true)
- Change XML/YAML configuration property: Set hazelcast.jet.enabled to true
- Add system property: -Dhz.jet.enabled=true (for Hazelcast embedded, works only when loading config via Config.load)
- Add environment variable: HZ_JET_ENABLED=true (recommended when running container image. For Hazelcast embedded, works only when loading config via Config.load)
2024.02.28 12:50:00.007 | dave-backend | TraceId: | SpanId: ] |
INFO | [main] | DiscoveryService | [StandardLoggerFactory.java : 56] - [10.138.59.247]:5701 [data_hazl_group] [5.1.5] Kubernetes Discovery properties: { service-dns: null, service-dns-timeout: 5, service-name: backend, service-port: 0, service-label: null, service-label-value: true, namespace: dave-external, pod-label: null, pod-label-value: null, resolve-not-ready-addresses: true, expose-externally-mode: AUTO, use-node-name-as-external-address: false, service-per-pod-label: null, service-per-pod-label-value: null, kubernetes-api-retries: 3, kubernetes-master: https://kubernetes.default.svc}
2024.02.28 12:50:01.211 | dave-backend | TraceId: | SpanId: ] |
INFO | [main] | DiscoveryService | [StandardLoggerFactory.java : 56] - [10.138.59.247]:5701 [data_hazl_group] [5.1.5] Kubernetes Discovery activated with mode: KUBERNETES_API
2024.02.28 12:50:01.213 | dave-backend | TraceId: | SpanId: ] |
INFO | [main] | security | [StandardLoggerFactory.java : 56] - [10.138.59.247]:5701 [data_hazl_group] [5.1.5] Enable DEBUG/FINE log level for log category com.hazelcast.system.security or use -Dhazelcast.security.recommendations system property to see 🔒 security recommendations and the status of current config.
2024.02.28 12:50:02.220 | dave-backend | TraceId: | SpanId: ] |
INFO | [main] | Node | [StandardLoggerFactory.java : 56] - [10.138.59.247]:5701 [data_hazl_group] [5.1.5] Using Discovery SPI
2024.02.28 12:50:02.311 | dave-backend | TraceId: | SpanId: ] |
WARN | [main] | CPSubsystem | [StandardLoggerFactory.java : 56] - [10.138.59.247]:5701 [data_hazl_group] [5.1.5] CP Subsystem is not enabled. CP data structures will operate in UNSAFE mode! Please note that UNSAFE mode will not provide strong consistency guarantees.
2024.02.28 12:50:04.426 | dave-backend | TraceId: | SpanId: ] |
INFO | [main] | Diagnostics | [StandardLoggerFactory.java : 56] - [10.138.59.247]:5701 [data_hazl_group] [5.1.5] Diagnostics disabled. To enable add -Dhazelcast.diagnostics.enabled=true to the JVM arguments.
2024.02.28 12:50:04.520 | dave-backend | TraceId: | SpanId: ] |
INFO | [main] | LifecycleService | [StandardLoggerFactory.java : 56] - [10.138.59.247]:5701 [data_hazl_group] [5.1.5] [10.138.59.247]:5701 is STARTING
2024.02.28 12:50:04.916 | dave-backend | TraceId: | SpanId: ] |
INFO | [main] | DiscoveryService | [StandardLoggerFactory.java : 56] - [10.138.59.247]:5701 [data_hazl_group] [5.1.5] Cannot fetch the current zone, ZONE_AWARE feature is disabled
2024.02.28 12:50:05.022 | dave-backend | TraceId: | SpanId: ] |
WARN | [main] | DiscoveryService | [StandardLoggerFactory.java : 56] - [10.138.59.247]:5701 [data_hazl_group] [5.1.5] Cannot fetch name of the node, NODE_AWARE feature is disabled
2024.02.28 12:50:05.207 | dave-backend | TraceId: | SpanId: ] |
WARN | [main] | KubernetesClient | [StandardLoggerFactory.java : 56] - Kubernetes API access is forbidden! Starting standalone. To use Hazelcast Kubernetes discovery, configure the required RBAC. For 'default' service account in 'default' namespace execute: `kubectl apply -f https://raw.githubusercontent.com/hazelcast/hazelcast/master/kubernetes-rbac.yaml`
2024.02.28 12:50:10.201 | dave-backend | TraceId: | SpanId: ] |
ERROR | [main] | TomcatStarter | [TomcatStarter.java : 61] - Error starting Tomcat context. Exception: org.springframework.beans.factory.UnsatisfiedDependencyException. Message: Error creating bean with name 'sessionRepositoryFilterRegistration' defined in class path resource [org/springframework/boot/autoconfigure/session/SessionRepositoryFilterConfiguration.class]: Unsatisfied dependency expressed through method 'sessionRepositoryFilterRegistration' parameter 1; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.boot.autoconfigure.session.HazelcastSessionConfiguration$SpringBootHazelcastHttpSessionConfiguration': Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'hazelcastInstance' defined in class path resource [org/springframework/boot/autoconfigure/hazelcast/HazelcastServerConfiguration$HazelcastServerConfigConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.hazelcast.core.HazelcastInstance]: Factory method 'hazelcastInstance' threw exception; nested exception is java.lang.IllegalStateException: Node failed to start!
2024.02.28 12:50:11.027 | dave-backend | TraceId: | SpanId: ] |
WARN | [main] | AnnotationConfigServletWebServerApplicationContext | [AbstractApplicationContext.java : 591] - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.context.ApplicationContextException: Unable to start web server; nested exception is org.springframework.boot.web.server.WebServerException: Unable to start embedded Tomcat
```
Error in dave-backend pod: