Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dependency failed to start: container xtreme1-v091-backend-1 is unhealthy #311

Open
MasonMax opened this issue Jan 15, 2025 · 2 comments
Open
Assignees

Comments

@MasonMax
Copy link

Snipaste_2025-01-15_20-59-53

@MasonMax
Copy link
Author

[+] Running 4/4
✔ backend Pulled 40.6s
✔ pcd-tools Pulled 39.8s
✔ image-vect-visualization Pulled 38.3s
✔ frontend Pulled 39.1s
[+] Running 9/9
✔ Network xtreme1-v091_default Created 0.0s
✔ Container xtreme1-v091-redis-1 Created 0.1s
✔ Container xtreme1-v091-mysql-1 Created 0.1s
✔ Container xtreme1-v091-image-vect-visualization-1 Creat... 0.1s
✔ Container xtreme1-v091-pcd-tools-1 Created 0.1s
✔ Container xtreme1-v091-frontend-1 Created 0.1s
✔ Container xtreme1-v091-minio-1 Created 0.1s
✔ Container xtreme1-v091-backend-1 Created 0.1s
✔ Container xtreme1-v091-nginx-1 Created 0.1s
Attaching to backend-1, frontend-1, image-vect-visualization-1, minio-1, mysql-1, nginx-1, pcd-tools-1, redis-1
redis-1 | 1:C 15 Jan 2025 12:38:36.896 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
redis-1 | 1:C 15 Jan 2025 12:38:36.896 # Redis version=6.2.17, bits=64, commit=00000000, modified=0, pid=1, just started
redis-1 | 1:C 15 Jan 2025 12:38:36.896 # Warning: no config file specified, using the default config. In order to specify a config file use redis-server /path/to/redis.conf
redis-1 | 1:M 15 Jan 2025 12:38:36.897 * monotonic clock: POSIX clock_gettime
redis-1 | 1:M 15 Jan 2025 12:38:36.897 * Running mode=standalone, port=6379.
redis-1 | 1:M 15 Jan 2025 12:38:36.897 # Server initialized
redis-1 | 1:M 15 Jan 2025 12:38:36.897 # WARNING Memory overcommit must be enabled! Without it, a background save or replication may fail under low memory condition. Being disabled, it can can also cause failures without low memory condition, see jemalloc/jemalloc#1328. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.
redis-1 | 1:M 15 Jan 2025 12:38:36.897 * Loading RDB produced by version 6.2.17
redis-1 | 1:M 15 Jan 2025 12:38:36.897 * RDB age 55 seconds
redis-1 | 1:M 15 Jan 2025 12:38:36.897 * RDB memory usage when created 0.77 Mb
redis-1 | 1:M 15 Jan 2025 12:38:36.897 # Done loading RDB, keys loaded: 0, keys expired: 0.
redis-1 | 1:M 15 Jan 2025 12:38:36.897 * DB loaded from disk: 0.000 seconds
redis-1 | 1:M 15 Jan 2025 12:38:36.897 * Ready to accept connections
minio-1 | 12:38:37.70
minio-1 | 12:38:37.71 Welcome to the Bitnami minio container
minio-1 | 12:38:37.71 Subscribe to project updates by watching https://github.com/bitnami/containers
minio-1 | 12:38:37.71 Submit issues and feature requests at https://github.com/bitnami/containers/issues
minio-1 | 12:38:37.71
minio-1 | 12:38:37.71 INFO ==> ** Starting MinIO setup **
mysql-1 | 2025-01-15 12:38:37+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 5.7.44-1.el7 started.
minio-1 | minio 12:38:37.73 INFO ==> Starting MinIO in background...
frontend-1 | /docker-entrypoint.sh: /docker-entrypoint.d/ is not empty, will attempt to perform configuration
frontend-1 | /docker-entrypoint.sh: Looking for shell scripts in /docker-entrypoint.d/
frontend-1 | /docker-entrypoint.sh: Launching /docker-entrypoint.d/10-listen-on-ipv6-by-default.sh
frontend-1 | 10-listen-on-ipv6-by-default.sh: info: Getting the checksum of /etc/nginx/conf.d/default.conf
frontend-1 | 10-listen-on-ipv6-by-default.sh: info: Enabled listen on IPv6 in /etc/nginx/conf.d/default.conf
frontend-1 | /docker-entrypoint.sh: Launching /docker-entrypoint.d/20-envsubst-on-templates.sh
frontend-1 | /docker-entrypoint.sh: Launching /docker-entrypoint.d/30-tune-worker-processes.sh
frontend-1 | /docker-entrypoint.sh: Configuration complete; ready for start up
frontend-1 | 2025/01/15 12:38:37 [notice] 1#1: using the "epoll" event method
frontend-1 | 2025/01/15 12:38:37 [notice] 1#1: nginx/1.22.1
frontend-1 | 2025/01/15 12:38:37 [notice] 1#1: built by gcc 10.2.1 20210110 (Debian 10.2.1-6)
frontend-1 | 2025/01/15 12:38:37 [notice] 1#1: OS: Linux 5.15.167.4-microsoft-standard-WSL2
frontend-1 | 2025/01/15 12:38:37 [notice] 1#1: getrlimit(RLIMIT_NOFILE): 1048576:1048576
frontend-1 | 2025/01/15 12:38:37 [notice] 1#1: start worker processes
frontend-1 | 2025/01/15 12:38:37 [notice] 1#1: start worker process 29
frontend-1 | 2025/01/15 12:38:37 [notice] 1#1: start worker process 30
frontend-1 | 2025/01/15 12:38:37 [notice] 1#1: start worker process 31
frontend-1 | 2025/01/15 12:38:37 [notice] 1#1: start worker process 32
frontend-1 | 2025/01/15 12:38:37 [notice] 1#1: start worker process 33
frontend-1 | 2025/01/15 12:38:37 [notice] 1#1: start worker process 34
frontend-1 | 2025/01/15 12:38:37 [notice] 1#1: start worker process 35
frontend-1 | 2025/01/15 12:38:37 [notice] 1#1: start worker process 36
frontend-1 | 2025/01/15 12:38:37 [notice] 1#1: start worker process 37
frontend-1 | 2025/01/15 12:38:37 [notice] 1#1: start worker process 38
frontend-1 | 2025/01/15 12:38:37 [notice] 1#1: start worker process 39
frontend-1 | 2025/01/15 12:38:37 [notice] 1#1: start worker process 40
frontend-1 | 2025/01/15 12:38:37 [notice] 1#1: start worker process 41
frontend-1 | 2025/01/15 12:38:37 [notice] 1#1: start worker process 42
frontend-1 | 2025/01/15 12:38:37 [notice] 1#1: start worker process 43
frontend-1 | 2025/01/15 12:38:37 [notice] 1#1: start worker process 44
frontend-1 | 2025/01/15 12:38:37 [notice] 1#1: start worker process 45
frontend-1 | 2025/01/15 12:38:37 [notice] 1#1: start worker process 46
frontend-1 | 2025/01/15 12:38:37 [notice] 1#1: start worker process 47
frontend-1 | 2025/01/15 12:38:37 [notice] 1#1: start worker process 48
frontend-1 | 2025/01/15 12:38:37 [notice] 1#1: start worker process 49
frontend-1 | 2025/01/15 12:38:37 [notice] 1#1: start worker process 50
frontend-1 | 2025/01/15 12:38:37 [notice] 1#1: start worker process 51
frontend-1 | 2025/01/15 12:38:37 [notice] 1#1: start worker process 52
frontend-1 | 2025/01/15 12:38:37 [notice] 1#1: start worker process 53
frontend-1 | 2025/01/15 12:38:37 [notice] 1#1: start worker process 54
frontend-1 | 2025/01/15 12:38:37 [notice] 1#1: start worker process 55
frontend-1 | 2025/01/15 12:38:37 [notice] 1#1: start worker process 56
frontend-1 | 2025/01/15 12:38:37 [notice] 1#1: start worker process 57
frontend-1 | 2025/01/15 12:38:37 [notice] 1#1: start worker process 58
frontend-1 | 2025/01/15 12:38:37 [notice] 1#1: start worker process 59
frontend-1 | 2025/01/15 12:38:37 [notice] 1#1: start worker process 60
mysql-1 | 2025-01-15 12:38:37+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql'
mysql-1 | 2025-01-15 12:38:37+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 5.7.44-1.el7 started.
mysql-1 | '/var/lib/mysql/mysql.sock' -> '/var/run/mysqld/mysqld.sock'
mysql-1 | mysqld: [Warning] World-writable config file '/etc/mysql/conf.d/custom.cnf' is ignored.
mysql-1 | 2025-01-15T12:38:38.098802Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
mysql-1 | 2025-01-15T12:38:38.100053Z 0 [Note] mysqld (mysqld 5.7.44) starting as process 1 ...
mysql-1 | 2025-01-15T12:38:38.102306Z 0 [Note] InnoDB: PUNCH HOLE support available
mysql-1 | 2025-01-15T12:38:38.102332Z 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
mysql-1 | 2025-01-15T12:38:38.102335Z 0 [Note] InnoDB: Uses event mutexes
mysql-1 | 2025-01-15T12:38:38.102338Z 0 [Note] InnoDB: GCC builtin atomic_thread_fence() is used for memory barrier
mysql-1 | 2025-01-15T12:38:38.102339Z 0 [Note] InnoDB: Compressed tables use zlib 1.2.13
mysql-1 | 2025-01-15T12:38:38.102340Z 0 [Note] InnoDB: Using Linux native AIO
mysql-1 | 2025-01-15T12:38:38.102623Z 0 [Note] InnoDB: Number of pools: 1
mysql-1 | 2025-01-15T12:38:38.102762Z 0 [Note] InnoDB: Using CPU crc32 instructions
mysql-1 | 2025-01-15T12:38:38.104502Z 0 [Note] InnoDB: Initializing buffer pool, total size = 128M, instances = 1, chunk size = 128M
mysql-1 | 2025-01-15T12:38:38.110041Z 0 [Note] InnoDB: Completed initialization of buffer pool
mysql-1 | 2025-01-15T12:38:38.111821Z 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority().
mysql-1 | 2025-01-15T12:38:38.125051Z 0 [Note] InnoDB: Highest supported file format is Barracuda.
mysql-1 | 2025-01-15T12:38:38.140535Z 0 [Note] InnoDB: Creating shared tablespace for temporary tables
mysql-1 | 2025-01-15T12:38:38.140585Z 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
pcd-tools-1 | 2025-01-15 12:38:38 INFO: -------------------- logging start --------------------
pcd-tools-1 | 2025-01-15 12:38:38 INFO: LEVEL: INFO
pcd-tools-1 | 2025-01-15 12:38:38 INFO: PATH: /app/pcd_tools/server_logs/pid1
pcd-tools-1 | 2025-01-15 12:38:38 INFO: -------------------------------------------------------
pcd-tools-1 | 2025-01-15 12:38:38 INFO: ----- SERVER STARTED -----
pcd-tools-1 | Tornado server starting on port 5000
mysql-1 | 2025-01-15T12:38:38.155401Z 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
mysql-1 | 2025-01-15T12:38:38.155693Z 0 [Note] InnoDB: 96 redo rollback segment(s) found. 96 redo rollback segment(s) are active.
mysql-1 | 2025-01-15T12:38:38.155706Z 0 [Note] InnoDB: 32 non-redo rollback segment(s) are active.
mysql-1 | 2025-01-15T12:38:38.156755Z 0 [Note] InnoDB: Waiting for purge to start
mysql-1 | 2025-01-15T12:38:38.207007Z 0 [Note] InnoDB: 5.7.44 started; log sequence number 12532697
mysql-1 | 2025-01-15T12:38:38.207348Z 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool
mysql-1 | 2025-01-15T12:38:38.207657Z 0 [Note] Plugin 'FEDERATED' is disabled.
mysql-1 | 2025-01-15T12:38:38.213108Z 0 [Note] Found ca.pem, server-cert.pem and server-key.pem in data directory. Trying to enable SSL support using them.
mysql-1 | 2025-01-15T12:38:38.213122Z 0 [Note] Skipping generation of SSL certificates as certificate files are present in data directory.
mysql-1 | 2025-01-15T12:38:38.213125Z 0 [Warning] A deprecated TLS version TLSv1 is enabled. Please use TLSv1.2 or higher.
mysql-1 | 2025-01-15T12:38:38.213126Z 0 [Warning] A deprecated TLS version TLSv1.1 is enabled. Please use TLSv1.2 or higher.
mysql-1 | 2025-01-15T12:38:38.214236Z 0 [Warning] CA certificate ca.pem is self signed.
mysql-1 | 2025-01-15T12:38:38.214287Z 0 [Note] Skipping generation of RSA key pair as key files are present in data directory.
mysql-1 | 2025-01-15T12:38:38.214824Z 0 [Note] Server hostname (bind-address): '*'; port: 3306
mysql-1 | 2025-01-15T12:38:38.214893Z 0 [Note] IPv6 is available.
mysql-1 | 2025-01-15T12:38:38.214915Z 0 [Note] - '::' resolves to '::';
mysql-1 | 2025-01-15T12:38:38.214938Z 0 [Note] Server socket created on IP: '::'.
mysql-1 | 2025-01-15T12:38:38.218457Z 0 [Note] InnoDB: Buffer pool(s) load completed at 250115 12:38:38
mysql-1 | 2025-01-15T12:38:38.219837Z 0 [Warning] Insecure configuration for --pid-file: Location '/var/run/mysqld' in the path is accessible to all OS users. Consider choosing a different directory.
mysql-1 | 2025-01-15T12:38:38.241902Z 0 [Note] Event Scheduler: Loaded 0 events
mysql-1 | 2025-01-15T12:38:38.242230Z 0 [Note] mysqld: ready for connections.
mysql-1 | Version: '5.7.44' socket: '/var/run/mysqld/mysqld.sock' port: 3306 MySQL Community Server (GPL)
image-vect-visualization-1 | args : Namespace(device='cpu', embedding_bucket_name='embedding', img_vect_bucket_name='img-vect', minio_access_key='admin', minio_endpoint='minio:9000', minio_secret_key='password', point_bucket_name='point-set', port=5000, threads_in_pool=2, vect_dim=256)
image-vect-visualization-1 | client created
image-vect-visualization-1 | Tornado server starting on port 5000
minio-1 | minio 12:38:42.74 INFO ==> Adding local Minio host to 'mc' configuration...
minio-1 | minio 12:38:42.82 INFO ==> Creating default buckets...
minio-1 | minio 12:38:42.85 INFO ==> Bucket local/xtreme1 already exists, skipping creation.
minio-1 | minio 12:38:42.89 INFO ==> Stopping MinIO...
minio-1 |
minio-1 | 12:38:43.97 INFO ==> ** MinIO setup finished! **
minio-1 | minio 12:38:43.97 INFO ==> ** Starting MinIO **
minio-1 | MinIO Object Storage Server
minio-1 | Copyright: 2015-2022 MinIO, Inc.
minio-1 | License: GNU AGPLv3 https://www.gnu.org/licenses/agpl-3.0.html
minio-1 | Version: DEVELOPMENT.2022-09-01T23-53-36Z (go1.18 linux/amd64)
minio-1 |
minio-1 | Status: 1 Online, 0 Offline.
minio-1 | API: http://localhost:9000
minio-1 | Console: http://172.18.0.4:9001 http://127.0.0.1:9001
minio-1 |
minio-1 | Documentation: https://docs.min.io
backend-1 |
backend-1 | . ____ _ __ _ _
backend-1 | /\ / ' __ _ () __ __ _ \ \ \
backend-1 | ( ( )_
| '
| '| | ' / ` | \ \ \
backend-1 | \/ )| |)| | | | | || (| | ) ) ) )
backend-1 | ' |
| .__|| ||| |_, | / / / /
backend-1 | =========|
|==============|/=////
backend-1 | :: Spring Boot :: (v2.6.6)
backend-1 |
backend-1 | 2025-01-15 12:38:44.207 INFO 1 --- [ main] ai.basic.x1.adapter.Application : Starting Application v0.9.1-SNAPSHOT using Java 11.0.16 on 741c5c1ac6d8 with PID 1 (/app/app.jar started by root in /app)
backend-1 | 2025-01-15 12:38:44.209 INFO 1 --- [ main] ai.basic.x1.adapter.Application : No active profile set, falling back to 1 default profile: "default"
backend-1 | 2025-01-15 12:38:44.884 INFO 1 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode!
backend-1 | 2025-01-15 12:38:44.886 INFO 1 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data Redis repositories in DEFAULT mode.
backend-1 | 2025-01-15 12:38:44.912 INFO 1 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 17 ms. Found 0 Redis repository interfaces.
backend-1 | 2025-01-15 12:38:45.438 INFO 1 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8080 (http)
backend-1 | 2025-01-15 12:38:45.446 INFO 1 --- [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat]
backend-1 | 2025-01-15 12:38:45.446 INFO 1 --- [ main] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.60]
backend-1 | 2025-01-15 12:38:45.494 INFO 1 --- [ main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext
backend-1 | 2025-01-15 12:38:45.494 INFO 1 --- [ main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 1254 ms
backend-1 | 2025-01-15 12:38:45.607 DEBUG 1 --- [ main] o.s.w.f.CommonsRequestLoggingFilter : Filter 'requestLoggingFilter' configured for use
backend-1 | 2025-01-15 12:38:45.967 WARN 1 --- [ main] c.b.m.core.injector.AbstractMethod : [ai.basic.x1.adapter.port.dao.mybatis.mapper.DataClassificationOptionMapper.insertBatch] Has been loaded by XML or SqlProvider or Mybatis's Annotation, so ignoring this injection for [class ai.basic.x1.adapter.port.dao.mybatis.extension.InsertBatchMethod]
backend-1 | 2025-01-15 12:38:45.998 WARN 1 --- [ main] c.b.m.core.injector.AbstractMethod : [ai.basic.x1.adapter.port.dao.mybatis.mapper.DataInfoMapper.deleteById] Has been loaded by XML or SqlProvider or Mybatis's Annotation, so ignoring this injection for [class com.baomidou.mybatisplus.core.injector.methods.DeleteById]
backend-1 | 2025-01-15 12:38:46.074 WARN 1 --- [ main] c.b.m.core.injector.AbstractMethod : [ai.basic.x1.adapter.port.dao.mybatis.mapper.DatasetMapper.deleteById] Has been loaded by XML or SqlProvider or Mybatis's Annotation, so ignoring this injection for [class com.baomidou.mybatisplus.core.injector.methods.DeleteById]
backend-1 | 2025-01-15 12:38:46.188 WARN 1 --- [ main] c.b.m.core.injector.AbstractMethod : [ai.basic.x1.adapter.port.dao.mybatis.mapper.ModelMapper.deleteById] Has been loaded by XML or SqlProvider or Mybatis's Annotation, so ignoring this injection for [class com.baomidou.mybatisplus.core.injector.methods.DeleteById]
backend-1 | org.apache.ibatis.session.defaults.DefaultSqlSessionFactory@1059754c
backend-1 | _ _ |_ _ |. ___ _ | _
backend-1 | | | |/|)(| | |\ |)|||
backend-1 | / |
backend-1 | 3.5.0
backend-1 | WARNING: An illegal reflective access operation has occurred
backend-1 | WARNING: Illegal reflective access by com.baomidou.mybatisplus.core.toolkit.SetAccessibleAction (jar:file:/app/app.jar!/BOOT-INF/lib/mybatis-plus-core-3.5.0.jar!/) to field java.lang.invoke.SerializedLambda.capturingClass
backend-1 | WARNING: Please consider reporting this to the maintainers of com.baomidou.mybatisplus.core.toolkit.SetAccessibleAction
backend-1 | WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
backend-1 | WARNING: All illegal access operations will be denied in a future release
backend-1 | 2025-01-15 12:38:47.037 INFO 1 --- [pool-4-thread-1] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting...
backend-1 | 2025-01-15 12:38:57.350 WARN 1 --- [ main] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataStreamMessageListenerContainer' defined in class path resource [ai/basic/x1/adapter/api/config/JobConfig.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.data.redis.stream.StreamMessageListenerContainer]: Factory method 'dataStreamMessageListenerContainer' threw exception; nested exception is org.springframework.data.redis.RedisConnectionFailureException: Unable to connect to Redis; nested exception is org.springframework.data.redis.connection.PoolException: Could not get a resource from the pool; nested exception is io.lettuce.core.RedisConnectionException: Unable to connect to redis://redis
backend-1 | 2025-01-15 12:38:57.469 INFO 1 --- [ main] o.apache.catalina.core.StandardService : Stopping service [Tomcat]
backend-1 | 2025-01-15 12:38:57.478 INFO 1 --- [ main] ConditionEvaluationReportLoggingListener :
backend-1 |
backend-1 | Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
backend-1 | 2025-01-15 12:38:57.499 ERROR 1 --- [ main] o.s.boot.SpringApplication : Application run failed
backend-1 |
backend-1 | org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataStreamMessageListenerContainer' defined in class path resource [ai/basic/x1/adapter/api/config/JobConfig.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.data.redis.stream.StreamMessageListenerContainer]: Factory method 'dataStreamMessageListenerContainer' threw exception; nested exception is org.springframework.data.redis.RedisConnectionFailureException: Unable to connect to Redis; nested exception is org.springframework.data.redis.connection.PoolException: Could not get a resource from the pool; nested exception is io.lettuce.core.RedisConnectionException: Unable to connect to redis://redis
backend-1 | at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:658) ~[spring-beans-5.3.18.jar!/:5.3.18]
backend-1 | at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:638) ~[spring-beans-5.3.18.jar!/:5.3.18]
backend-1 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1352) ~[spring-beans-5.3.18.jar!/:5.3.18]
backend-1 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1195) ~[spring-beans-5.3.18.jar!/:5.3.18]
backend-1 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:582) ~[spring-beans-5.3.18.jar!/:5.3.18]
backend-1 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542) ~[spring-beans-5.3.18.jar!/:5.3.18]
backend-1 | at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335) ~[spring-beans-5.3.18.jar!/:5.3.18]
backend-1 | at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) ~[spring-beans-5.3.18.jar!/:5.3.18]
backend-1 | at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333) ~[spring-beans-5.3.18.jar!/:5.3.18]
backend-1 | at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208) ~[spring-beans-5.3.18.jar!/:5.3.18]
backend-1 | at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:953) ~[spring-beans-5.3.18.jar!/:5.3.18]
backend-1 | at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:918) ~[spring-context-5.3.18.jar!/:5.3.18]
backend-1 | at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:583) ~[spring-context-5.3.18.jar!/:5.3.18]
backend-1 | at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:145) ~[spring-boot-2.6.6.jar!/:2.6.6]
backend-1 | at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:740) ~[spring-boot-2.6.6.jar!/:2.6.6]
backend-1 | at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:415) ~[spring-boot-2.6.6.jar!/:2.6.6]
backend-1 | at org.springframework.boot.SpringApplication.run(SpringApplication.java:303) ~[spring-boot-2.6.6.jar!/:2.6.6]
backend-1 | at org.springframework.boot.SpringApplication.run(SpringApplication.java:1312) ~[spring-boot-2.6.6.jar!/:2.6.6]
backend-1 | at org.springframework.boot.SpringApplication.run(SpringApplication.java:1301) ~[spring-boot-2.6.6.jar!/:2.6.6]
backend-1 | at ai.basic.x1.adapter.Application.main(Application.java:18) ~[classes!/:0.9.1-SNAPSHOT]
backend-1 | at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:na]
backend-1 | at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:na]
backend-1 | at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:na]
backend-1 | at java.base/java.lang.reflect.Method.invoke(Method.java:566) ~[na:na]
backend-1 | at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:49) ~[app.jar:0.9.1-SNAPSHOT]
backend-1 | at org.springframework.boot.loader.Launcher.launch(Launcher.java:108) ~[app.jar:0.9.1-SNAPSHOT]
backend-1 | at org.springframework.boot.loader.Launcher.launch(Launcher.java:58) ~[app.jar:0.9.1-SNAPSHOT]
backend-1 | at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:88) ~[app.jar:0.9.1-SNAPSHOT]
backend-1 | Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.data.redis.stream.StreamMessageListenerContainer]: Factory method 'dataStreamMessageListenerContainer' threw exception; nested exception is org.springframework.data.redis.RedisConnectionFailureException: Unable to connect to Redis; nested exception is org.springframework.data.redis.connection.PoolException: Could not get a resource from the pool; nested exception is io.lettuce.core.RedisConnectionException: Unable to connect to redis://redis
backend-1 | at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:185) ~[spring-beans-5.3.18.jar!/:5.3.18]
backend-1 | at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:653) ~[spring-beans-5.3.18.jar!/:5.3.18]
backend-1 | ... 27 common frames omitted
backend-1 | Caused by: org.springframework.data.redis.RedisConnectionFailureException: Unable to connect to Redis; nested exception is org.springframework.data.redis.connection.PoolException: Could not get a resource from the pool; nested exception is io.lettuce.core.RedisConnectionException: Unable to connect to redis://redis
backend-1 | at org.springframework.data.redis.connection.lettuce.LettuceConnectionFactory$ExceptionTranslatingConnectionProvider.translateException(LettuceConnectionFactory.java:1689) ~[spring-data-redis-2.6.3.jar!/:2.6.3]
backend-1 | at org.springframework.data.redis.connection.lettuce.LettuceConnectionFactory$ExceptionTranslatingConnectionProvider.getConnection(LettuceConnectionFactory.java:1597) ~[spring-data-redis-2.6.3.jar!/:2.6.3]
backend-1 | at org.springframework.data.redis.connection.lettuce.LettuceConnectionFactory$SharedConnection.getNativeConnection(LettuceConnectionFactory.java:1383) ~[spring-data-redis-2.6.3.jar!/:2.6.3]
backend-1 | at org.springframework.data.redis.connection.lettuce.LettuceConnectionFactory$SharedConnection.getConnection(LettuceConnectionFactory.java:1366) ~[spring-data-redis-2.6.3.jar!/:2.6.3]
backend-1 | at org.springframework.data.redis.connection.lettuce.LettuceConnectionFactory.getSharedConnection(LettuceConnectionFactory.java:1093) ~[spring-data-redis-2.6.3.jar!/:2.6.3]
backend-1 | at org.springframework.data.redis.connection.lettuce.LettuceConnectionFactory.getConnection(LettuceConnectionFactory.java:421) ~[spring-data-redis-2.6.3.jar!/:2.6.3]
backend-1 | at org.springframework.data.redis.core.RedisConnectionUtils.fetchConnection(RedisConnectionUtils.java:193) ~[spring-data-redis-2.6.3.jar!/:2.6.3]
backend-1 | at org.springframework.data.redis.core.RedisConnectionUtils.doGetConnection(RedisConnectionUtils.java:144) ~[spring-data-redis-2.6.3.jar!/:2.6.3]
backend-1 | at org.springframework.data.redis.core.RedisConnectionUtils.getConnection(RedisConnectionUtils.java:105) ~[spring-data-redis-2.6.3.jar!/:2.6.3]
backend-1 | at org.springframework.data.redis.core.RedisTemplate.execute(RedisTemplate.java:210) ~[spring-data-redis-2.6.3.jar!/:2.6.3]
backend-1 | at org.springframework.data.redis.core.RedisTemplate.execute(RedisTemplate.java:190) ~[spring-data-redis-2.6.3.jar!/:2.6.3]
backend-1 | at org.springframework.data.redis.core.AbstractOperations.execute(AbstractOperations.java:97) ~[spring-data-redis-2.6.3.jar!/:2.6.3]
backend-1 | at org.springframework.data.redis.core.DefaultStreamOperations.createGroup(DefaultStreamOperations.java:162) ~[spring-data-redis-2.6.3.jar!/:2.6.3]
backend-1 | at org.springframework.data.redis.core.StreamOperations.createGroup(StreamOperations.java:179) ~[spring-data-redis-2.6.3.jar!/:2.6.3]
backend-1 | at ai.basic.x1.adapter.api.config.JobConfig.dataStreamMessageListenerContainer(JobConfig.java:80) ~[classes!/:0.9.1-SNAPSHOT]
backend-1 | at ai.basic.x1.adapter.api.config.JobConfig$$EnhancerBySpringCGLIB$$1d21d4c5.CGLIB$dataStreamMessageListenerContainer$3() ~[classes!/:0.9.1-SNAPSHOT]
backend-1 | at ai.basic.x1.adapter.api.config.JobConfig$$EnhancerBySpringCGLIB$$1d21d4c5$$FastClassBySpringCGLIB$$23b8e1f8.invoke() ~[classes!/:0.9.1-SNAPSHOT]
backend-1 | at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:244) ~[spring-core-5.3.18.jar!/:5.3.18]
backend-1 | at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:331) ~[spring-context-5.3.18.jar!/:5.3.18]
backend-1 | at ai.basic.x1.adapter.api.config.JobConfig$$EnhancerBySpringCGLIB$$1d21d4c5.dataStreamMessageListenerContainer() ~[classes!/:0.9.1-SNAPSHOT]
backend-1 | at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:na]
backend-1 | at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:na]
backend-1 | at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:na]
backend-1 | at java.base/java.lang.reflect.Method.invoke(Method.java:566) ~[na:na]
backend-1 | at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:154) ~[spring-beans-5.3.18.jar!/:5.3.18]
backend-1 | ... 28 common frames omitted
backend-1 | Caused by: org.springframework.data.redis.connection.PoolException: Could not get a resource from the pool; nested exception is io.lettuce.core.RedisConnectionException: Unable to connect to redis://redis
backend-1 | at org.springframework.data.redis.connection.lettuce.LettucePoolingConnectionProvider.getConnection(LettucePoolingConnectionProvider.java:109) ~[spring-data-redis-2.6.3.jar!/:2.6.3]
backend-1 | at org.springframework.data.redis.connection.lettuce.LettuceConnectionFactory$ExceptionTranslatingConnectionProvider.getConnection(LettuceConnectionFactory.java:1595) ~[spring-data-redis-2.6.3.jar!/:2.6.3]
backend-1 | ... 51 common frames omitted
backend-1 | Caused by: io.lettuce.core.RedisConnectionException: Unable to connect to redis://redis
backend-1 | at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:78) ~[lettuce-core-6.1.8.RELEASE.jar!/:6.1.8.RELEASE]
backend-1 | at io.lettuce.core.masterreplica.MasterReplica.getConnection(MasterReplica.java:261) ~[lettuce-core-6.1.8.RELEASE.jar!/:6.1.8.RELEASE]
backend-1 | at io.lettuce.core.masterreplica.MasterReplica.connect(MasterReplica.java:113) ~[lettuce-core-6.1.8.RELEASE.jar!/:6.1.8.RELEASE]
backend-1 | at org.springframework.data.redis.connection.lettuce.StandaloneConnectionProvider.masterReplicaConnection(StandaloneConnectionProvider.java:159) ~[spring-data-redis-2.6.3.jar!/:2.6.3]
backend-1 | at org.springframework.data.redis.connection.lettuce.StandaloneConnectionProvider.lambda$getConnection$0(StandaloneConnectionProvider.java:114) ~[spring-data-redis-2.6.3.jar!/:2.6.3]
backend-1 | at java.base/java.util.Optional.map(Optional.java:265) ~[na:na]
backend-1 | at org.springframework.data.redis.connection.lettuce.StandaloneConnectionProvider.getConnection(StandaloneConnectionProvider.java:114) ~[spring-data-redis-2.6.3.jar!/:2.6.3]
backend-1 | at org.springframework.data.redis.connection.lettuce.LettucePoolingConnectionProvider.lambda$null$0(LettucePoolingConnectionProvider.java:97) ~[spring-data-redis-2.6.3.jar!/:2.6.3]
backend-1 | at io.lettuce.core.support.ConnectionPoolSupport$RedisPooledObjectFactory.create(ConnectionPoolSupport.java:211) ~[lettuce-core-6.1.8.RELEASE.jar!/:6.1.8.RELEASE]
backend-1 | at io.lettuce.core.support.ConnectionPoolSupport$RedisPooledObjectFactory.create(ConnectionPoolSupport.java:201) ~[lettuce-core-6.1.8.RELEASE.jar!/:6.1.8.RELEASE]
backend-1 | at org.apache.commons.pool2.BasePooledObjectFactory.makeObject(BasePooledObjectFactory.java:70) ~[commons-pool2-2.11.1.jar!/:2.11.1]
backend-1 | at org.apache.commons.pool2.impl.GenericObjectPool.create(GenericObjectPool.java:571) ~[commons-pool2-2.11.1.jar!/:2.11.1]
backend-1 | at org.apache.commons.pool2.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:298) ~[commons-pool2-2.11.1.jar!/:2.11.1]
backend-1 | at org.apache.commons.pool2.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:223) ~[commons-pool2-2.11.1.jar!/:2.11.1]
backend-1 | at io.lettuce.core.support.ConnectionPoolSupport$1.borrowObject(ConnectionPoolSupport.java:122) ~[lettuce-core-6.1.8.RELEASE.jar!/:6.1.8.RELEASE]
backend-1 | at io.lettuce.core.support.ConnectionPoolSupport$1.borrowObject(ConnectionPoolSupport.java:117) ~[lettuce-core-6.1.8.RELEASE.jar!/:6.1.8.RELEASE]
backend-1 | at org.springframework.data.redis.connection.lettuce.LettucePoolingConnectionProvider.getConnection(LettucePoolingConnectionProvider.java:103) ~[spring-data-redis-2.6.3.jar!/:2.6.3]
backend-1 | ... 52 common frames omitted
backend-1 | Caused by: io.lettuce.core.RedisConnectionException: Unable to connect to redis:6379
backend-1 | at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:78) ~[lettuce-core-6.1.8.RELEASE.jar!/:6.1.8.RELEASE]
backend-1 | at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:56) ~[lettuce-core-6.1.8.RELEASE.jar!/:6.1.8.RELEASE]
backend-1 | at io.lettuce.core.RedisClient.lambda$transformAsyncConnectionException$22(RedisClient.java:781) ~[lettuce-core-6.1.8.RELEASE.jar!/:6.1.8.RELEASE]
backend-1 | at io.lettuce.core.DefaultConnectionFuture.lambda$thenCompose$1(DefaultConnectionFuture.java:253) ~[lettuce-core-6.1.8.RELEASE.jar!/:6.1.8.RELEASE]
backend-1 | at java.base/java.util.concurrent.CompletableFuture.uniWhenComplete(CompletableFuture.java:859) ~[na:na]
backend-1 | at java.base/java.util.concurrent.CompletableFuture$UniWhenComplete.tryFire(CompletableFuture.java:837) ~[na:na]
backend-1 | at java.base/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506) ~[na:na]
backend-1 | at java.base/java.util.concurrent.CompletableFuture.completeExceptionally(CompletableFuture.java:2088) ~[na:na]
backend-1 | at io.lettuce.core.AbstractRedisClient.lambda$initializeChannelAsync0$6(AbstractRedisClient.java:424) ~[lettuce-core-6.1.8.RELEASE.jar!/:6.1.8.RELEASE]
backend-1 | at io.netty.util.concurrent.DefaultPromise.notifyListener0(DefaultPromise.java:578) ~[netty-common-4.1.75.Final.jar!/:4.1.75.Final]
backend-1 | at io.netty.util.concurrent.DefaultPromise.notifyListeners0(DefaultPromise.java:571) ~[netty-common-4.1.75.Final.jar!/:4.1.75.Final]
backend-1 | at io.netty.util.concurrent.DefaultPromise.notifyListenersNow(DefaultPromise.java:550) ~[netty-common-4.1.75.Final.jar!/:4.1.75.Final]
backend-1 | at io.netty.util.concurrent.DefaultPromise.notifyListeners(DefaultPromise.java:491) ~[netty-common-4.1.75.Final.jar!/:4.1.75.Final]
backend-1 | at io.netty.util.concurrent.DefaultPromise.setValue0(DefaultPromise.java:616) ~[netty-common-4.1.75.Final.jar!/:4.1.75.Final]
backend-1 | at io.netty.util.concurrent.DefaultPromise.setFailure0(DefaultPromise.java:609) ~[netty-common-4.1.75.Final.jar!/:4.1.75.Final]
backend-1 | at io.netty.util.concurrent.DefaultPromise.tryFailure(DefaultPromise.java:117) ~[netty-common-4.1.75.Final.jar!/:4.1.75.Final]
backend-1 | at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe$1.run(AbstractNioChannel.java:262) ~[netty-transport-4.1.75.Final.jar!/:4.1.75.Final]
backend-1 | at io.netty.util.concurrent.PromiseTask.runTask(PromiseTask.java:98) ~[netty-common-4.1.75.Final.jar!/:4.1.75.Final]
backend-1 | at io.netty.util.concurrent.ScheduledFutureTask.run(ScheduledFutureTask.java:170) ~[netty-common-4.1.75.Final.jar!/:4.1.75.Final]
backend-1 | at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:164) ~[netty-common-4.1.75.Final.jar!/:4.1.75.Final]
backend-1 | at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:469) ~[netty-common-4.1.75.Final.jar!/:4.1.75.Final]
backend-1 | at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:503) ~[netty-transport-4.1.75.Final.jar!/:4.1.75.Final]
backend-1 | at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:986) ~[netty-common-4.1.75.Final.jar!/:4.1.75.Final]
backend-1 | at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[netty-common-4.1.75.Final.jar!/:4.1.75.Final]
backend-1 | at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) ~[netty-common-4.1.75.Final.jar!/:4.1.75.Final]
backend-1 | at java.base/java.lang.Thread.run(Thread.java:829) ~[na:na]
backend-1 | Caused by: java.util.concurrent.CompletionException: io.netty.channel.ConnectTimeoutException: connection timed out: redis/172.18.0.3:6379
backend-1 | at java.base/java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:331) ~[na:na]
backend-1 | at java.base/java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:346) ~[na:na]
backend-1 | at java.base/java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:632) ~[na:na]
backend-1 | ... 20 common frames omitted
backend-1 | Caused by: io.netty.channel.ConnectTimeoutException: connection timed out: redis/172.18.0.3:6379
backend-1 | at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe$1.run(AbstractNioChannel.java:261) ~[netty-transport-4.1.75.Final.jar!/:4.1.75.Final]
backend-1 | ... 9 common frames omitted
backend-1 |
backend-1 | 2025-01-15 12:39:48.129 ERROR 1 --- [pool-4-thread-1] com.zaxxer.hikari.pool.HikariPool : HikariPool-1 - Exception during pool initialization.
backend-1 |
backend-1 | com.mysql.cj.jdbc.exceptions.CommunicationsException: Communications link failure
backend-1 |
backend-1 | The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
backend-1 | at com.mysql.cj.jdbc.exceptions.SQLError.createCommunicationsException(SQLError.java:174) ~[mysql-connector-java-8.0.28.jar!/:8.0.28]
backend-1 | at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:64) ~[mysql-connector-java-8.0.28.jar!/:8.0.28]
backend-1 | at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:829) ~[mysql-connector-java-8.0.28.jar!/:8.0.28]
backend-1 | at com.mysql.cj.jdbc.ConnectionImpl.(ConnectionImpl.java:449) ~[mysql-connector-java-8.0.28.jar!/:8.0.28]
backend-1 | at com.mysql.cj.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:242) ~[mysql-connector-java-8.0.28.jar!/:8.0.28]
backend-1 | at com.mysql.cj.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:198) ~[mysql-connector-java-8.0.28.jar!/:8.0.28]
backend-1 | at com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:138) ~[HikariCP-4.0.3.jar!/:na]
backend-1 | at com.zaxxer.hikari.pool.PoolBase.newConnection(PoolBase.java:364) ~[HikariCP-4.0.3.jar!/:na]
backend-1 | at com.zaxxer.hikari.pool.PoolBase.newPoolEntry(PoolBase.java:206) ~[HikariCP-4.0.3.jar!/:na]
backend-1 | at com.zaxxer.hikari.pool.HikariPool.createPoolEntry(HikariPool.java:476) ~[HikariCP-4.0.3.jar!/:na]
backend-1 | at com.zaxxer.hikari.pool.HikariPool.checkFailFast(HikariPool.java:561) ~[HikariCP-4.0.3.jar!/:na]
backend-1 | at com.zaxxer.hikari.pool.HikariPool.(HikariPool.java:115) ~[HikariCP-4.0.3.jar!/:na]
backend-1 | at com.zaxxer.hikari.HikariDataSource.getConnection(HikariDataSource.java:112) ~[HikariCP-4.0.3.jar!/:na]
backend-1 | at org.springframework.jdbc.datasource.DataSourceUtils.fetchConnection(DataSourceUtils.java:159) ~[spring-jdbc-5.3.18.jar!/:5.3.18]
backend-1 | at org.springframework.jdbc.datasource.DataSourceUtils.doGetConnection(DataSourceUtils.java:117) ~[spring-jdbc-5.3.18.jar!/:5.3.18]
backend-1 | at org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:80) ~[spring-jdbc-5.3.18.jar!/:5.3.18]
backend-1 | at org.mybatis.spring.transaction.SpringManagedTransaction.openConnection(SpringManagedTransaction.java:80) ~[mybatis-spring-2.0.6.jar!/:2.0.6]
backend-1 | at org.mybatis.spring.transaction.SpringManagedTransaction.getConnection(SpringManagedTransaction.java:67) ~[mybatis-spring-2.0.6.jar!/:2.0.6]
backend-1 | at org.apache.ibatis.executor.BaseExecutor.getConnection(BaseExecutor.java:337) ~[mybatis-3.5.9.jar!/:3.5.9]
backend-1 | at org.apache.ibatis.executor.SimpleExecutor.prepareStatement(SimpleExecutor.java:86) ~[mybatis-3.5.9.jar!/:3.5.9]
backend-1 | at org.apache.ibatis.executor.SimpleExecutor.doQuery(SimpleExecutor.java:62) ~[mybatis-3.5.9.jar!/:3.5.9]
backend-1 | at org.apache.ibatis.executor.BaseExecutor.queryFromDatabase(BaseExecutor.java:325) ~[mybatis-3.5.9.jar!/:3.5.9]
backend-1 | at org.apache.ibatis.executor.BaseExecutor.query(BaseExecutor.java:156) ~[mybatis-3.5.9.jar!/:3.5.9]
backend-1 | at org.apache.ibatis.executor.CachingExecutor.query(CachingExecutor.java:109) ~[mybatis-3.5.9.jar!/:3.5.9]
backend-1 | at com.baomidou.mybatisplus.extension.plugins.MybatisPlusInterceptor.intercept(MybatisPlusInterceptor.java:81) ~[mybatis-plus-extension-3.5.0.jar!/:3.5.0]
backend-1 | at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:62) ~[mybatis-3.5.9.jar!/:3.5.9]
backend-1 | at com.sun.proxy.$Proxy136.query(Unknown Source) ~[na:na]
backend-1 | at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:151) ~[mybatis-3.5.9.jar!/:3.5.9]
backend-1 | at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:145) ~[mybatis-3.5.9.jar!/:3.5.9]
backend-1 | at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:140) ~[mybatis-3.5.9.jar!/:3.5.9]
backend-1 | at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:na]
backend-1 | at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:na]
backend-1 | at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:na]
backend-1 | at java.base/java.lang.reflect.Method.invoke(Method.java:566) ~[na:na]
backend-1 | at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:427) ~[mybatis-spring-2.0.6.jar!/:2.0.6]
backend-1 | at com.sun.proxy.$Proxy95.selectList(Unknown Source) ~[na:na]
backend-1 | at org.mybatis.spring.SqlSessionTemplate.selectList(SqlSessionTemplate.java:224) ~[mybatis-spring-2.0.6.jar!/:2.0.6]
backend-1 | at com.baomidou.mybatisplus.core.override.MybatisMapperMethod.executeForMany(MybatisMapperMethod.java:166) ~[mybatis-plus-core-3.5.0.jar!/:3.5.0]
backend-1 | at com.baomidou.mybatisplus.core.override.MybatisMapperMethod.execute(MybatisMapperMethod.java:77) ~[mybatis-plus-core-3.5.0.jar!/:3.5.0]
backend-1 | at com.baomidou.mybatisplus.core.override.MybatisMapperProxy$PlainMethodInvoker.invoke(MybatisMapperProxy.java:148) ~[mybatis-plus-core-3.5.0.jar!/:3.5.0]
backend-1 | at com.baomidou.mybatisplus.core.override.MybatisMapperProxy.invoke(MybatisMapperProxy.java:89) ~[mybatis-plus-core-3.5.0.jar!/:3.5.0]
backend-1 | at com.sun.proxy.$Proxy99.selectList(Unknown Source) ~[na:na]
backend-1 | at com.baomidou.mybatisplus.core.mapper.BaseMapper.selectOne(BaseMapper.java:173) ~[mybatis-plus-core-3.5.0.jar!/:3.5.0]
backend-1 | at java.base/java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:710) ~[na:na]
backend-1 | at com.baomidou.mybatisplus.core.override.MybatisMapperProxy$DefaultMethodInvoker.invoke(MybatisMapperProxy.java:162) ~[mybatis-plus-core-3.5.0.jar!/:3.5.0]
backend-1 | at com.baomidou.mybatisplus.core.override.MybatisMapperProxy.invoke(MybatisMapperProxy.java:89) ~[mybatis-plus-core-3.5.0.jar!/:3.5.0]
backend-1 | at com.sun.proxy.$Proxy99.selectOne(Unknown Source) ~[na:na]
backend-1 | at ai.basic.x1.adapter.port.dao.AbstractDAO.getOne(AbstractDAO.java:213) ~[classes!/:0.9.1-SNAPSHOT]
backend-1 | at ai.basic.x1.adapter.port.dao.AbstractDAO.getOne(AbstractDAO.java:208) ~[classes!/:0.9.1-SNAPSHOT]
backend-1 | at ai.basic.x1.usecase.DatasetUseCase.getInitDataset(DatasetUseCase.java:155) ~[classes!/:0.9.1-SNAPSHOT]
backend-1 | at ai.basic.x1.usecase.DatasetUseCase.lambda$initDataset$2(DatasetUseCase.java:107) ~[classes!/:0.9.1-SNAPSHOT]
backend-1 | at com.alibaba.ttl.TtlRunnable.run(TtlRunnable.java:59) ~[transmittable-thread-local-2.12.6.jar!/:na]
backend-1 | at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) ~[na:na]
backend-1 | at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) ~[na:na]
backend-1 | at java.base/java.lang.Thread.run(Thread.java:829) ~[na:na]
backend-1 | Caused by: com.mysql.cj.exceptions.CJCommunicationsException: Communications link failure
backend-1 |
backend-1 | The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
backend-1 | at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[na:na]
backend-1 | at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[na:na]
backend-1 | at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[na:na]
backend-1 | at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490) ~[na:na]
backend-1 | at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:61) ~[mysql-connector-java-8.0.28.jar!/:8.0.28]
backend-1 | at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:105) ~[mysql-connector-java-8.0.28.jar!/:8.0.28]
backend-1 | at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:151) ~[mysql-connector-java-8.0.28.jar!/:8.0.28]
backend-1 | at com.mysql.cj.exceptions.ExceptionFactory.createCommunicationsException(ExceptionFactory.java:167) ~[mysql-connector-java-8.0.28.jar!/:8.0.28]
backend-1 | at com.mysql.cj.protocol.a.NativeSocketConnection.connect(NativeSocketConnection.java:89) ~[mysql-connector-java-8.0.28.jar!/:8.0.28]
backend-1 | at com.mysql.cj.NativeSession.connect(NativeSession.java:120) ~[mysql-connector-java-8.0.28.jar!/:8.0.28]
backend-1 | at com.mysql.cj.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:949) ~[mysql-connector-java-8.0.28.jar!/:8.0.28]
backend-1 | at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:819) ~[mysql-connector-java-8.0.28.jar!/:8.0.28]
backend-1 | ... 52 common frames omitted
backend-1 | Caused by: java.net.SocketTimeoutException: connect timed out
backend-1 | at java.base/java.net.PlainSocketImpl.socketConnect(Native Method) ~[na:na]
backend-1 | at java.base/java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:412) ~[na:na]
backend-1 | at java.base/java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:255) ~[na:na]
backend-1 | at java.base/java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:237) ~[na:na]
backend-1 | at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) ~[na:na]
backend-1 | at java.base/java.net.Socket.connect(Socket.java:609) ~[na:na]
backend-1 | at com.mysql.cj.protocol.StandardSocketFactory.connect(StandardSocketFactory.java:156) ~[mysql-connector-java-8.0.28.jar!/:8.0.28]
backend-1 | at com.mysql.cj.protocol.a.NativeSocketConnection.connect(NativeSocketConnection.java:63) ~[mysql-connector-java-8.0.28.jar!/:8.0.28]
backend-1 | ... 55 common frames omitted
backend-1 |
backend-1 | Exception in thread "pool-4-thread-1" org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.exceptions.PersistenceException:
backend-1 | ### Error querying database. Cause: org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection; nested exception is com.mysql.cj.jdbc.exceptions.CommunicationsException: Communications link failure
backend-1 |
backend-1 | The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
backend-1 | ### The error may exist in ai/basic/x1/adapter/port/dao/mybatis/mapper/DatasetMapper.java (best guess)
backend-1 | ### The error may involve ai.basic.x1.adapter.port.dao.mybatis.mapper.DatasetMapper.selectList
backend-1 | ### The error occurred while executing a query
backend-1 | ### Cause: org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection; nested exception is com.mysql.cj.jdbc.exceptions.CommunicationsException: Communications link failure
backend-1 |
backend-1 | The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
backend-1 | at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:96)
backend-1 | at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:441)
backend-1 | at com.sun.proxy.$Proxy95.selectList(Unknown Source)
backend-1 | at org.mybatis.spring.SqlSessionTemplate.selectList(SqlSessionTemplate.java:224)
backend-1 | at com.baomidou.mybatisplus.core.override.MybatisMapperMethod.executeForMany(MybatisMapperMethod.java:166)
backend-1 | at com.baomidou.mybatisplus.core.override.MybatisMapperMethod.execute(MybatisMapperMethod.java:77)
backend-1 | at com.baomidou.mybatisplus.core.override.MybatisMapperProxy$PlainMethodInvoker.invoke(MybatisMapperProxy.java:148)
backend-1 | at com.baomidou.mybatisplus.core.override.MybatisMapperProxy.invoke(MybatisMapperProxy.java:89)
backend-1 | at com.sun.proxy.$Proxy99.selectList(Unknown Source)
backend-1 | at com.baomidou.mybatisplus.core.mapper.BaseMapper.selectOne(BaseMapper.java:173)
backend-1 | at java.base/java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:710)
backend-1 | at com.baomidou.mybatisplus.core.override.MybatisMapperProxy$DefaultMethodInvoker.invoke(MybatisMapperProxy.java:162)
backend-1 | at com.baomidou.mybatisplus.core.override.MybatisMapperProxy.invoke(MybatisMapperProxy.java:89)
backend-1 | at com.sun.proxy.$Proxy99.selectOne(Unknown Source)
backend-1 | at ai.basic.x1.adapter.port.dao.AbstractDAO.getOne(AbstractDAO.java:213)
backend-1 | at ai.basic.x1.adapter.port.dao.AbstractDAO.getOne(AbstractDAO.java:208)
backend-1 | at ai.basic.x1.usecase.DatasetUseCase.getInitDataset(DatasetUseCase.java:155)
backend-1 | at ai.basic.x1.usecase.DatasetUseCase.lambda$initDataset$2(DatasetUseCase.java:107)
backend-1 | at com.alibaba.ttl.TtlRunnable.run(TtlRunnable.java:59)
backend-1 | at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
backend-1 | at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
backend-1 | at java.base/java.lang.Thread.run(Thread.java:829)
backend-1 | Caused by: org.apache.ibatis.exceptions.PersistenceException:
backend-1 | ### Error querying database. Cause: org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection; nested exception is com.mysql.cj.jdbc.exceptions.CommunicationsException: Communications link failure
backend-1 |
backend-1 | The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
backend-1 | ### The error may exist in ai/basic/x1/adapter/port/dao/mybatis/mapper/DatasetMapper.java (best guess)
backend-1 | ### The error may involve ai.basic.x1.adapter.port.dao.mybatis.mapper.DatasetMapper.selectList
backend-1 | ### The error occurred while executing a query
backend-1 | ### Cause: org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection; nested exception is com.mysql.cj.jdbc.exceptions.CommunicationsException: Communications link failure
backend-1 |
backend-1 | The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
backend-1 | at org.apache.ibatis.exceptions.ExceptionFactory.wrapException(ExceptionFactory.java:30)
backend-1 | at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:153)
backend-1 | at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:145)
backend-1 | at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:140)
backend-1 | at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
backend-1 | at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
backend-1 | at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
backend-1 | at java.base/java.lang.reflect.Method.invoke(Method.java:566)
backend-1 | at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:427)
backend-1 | ... 20 more
backend-1 | Caused by: org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection; nested exception is com.mysql.cj.jdbc.exceptions.CommunicationsException: Communications link failure
backend-1 |
backend-1 | The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
backend-1 | at org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:83)
backend-1 | at org.mybatis.spring.transaction.SpringManagedTransaction.openConnection(SpringManagedTransaction.java:80)
backend-1 | at org.mybatis.spring.transaction.SpringManagedTransaction.getConnection(SpringManagedTransaction.java:67)
backend-1 | at org.apache.ibatis.executor.BaseExecutor.getConnection(BaseExecutor.java:337)
backend-1 | at org.apache.ibatis.executor.SimpleExecutor.prepareStatement(SimpleExecutor.java:86)
backend-1 | at org.apache.ibatis.executor.SimpleExecutor.doQuery(SimpleExecutor.java:62)
backend-1 | at org.apache.ibatis.executor.BaseExecutor.queryFromDatabase(BaseExecutor.java:325)
backend-1 | at org.apache.ibatis.executor.BaseExecutor.query(BaseExecutor.java:156)
backend-1 | at org.apache.ibatis.executor.CachingExecutor.query(CachingExecutor.java:109)
backend-1 | at com.baomidou.mybatisplus.extension.plugins.MybatisPlusInterceptor.intercept(MybatisPlusInterceptor.java:81)
backend-1 | at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:62)
backend-1 | at com.sun.proxy.$Proxy136.query(Unknown Source)
backend-1 | at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:151)
backend-1 | ... 27 more
backend-1 | Caused by: com.mysql.cj.jdbc.exceptions.CommunicationsException: Communications link failure
backend-1 |
backend-1 | The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
backend-1 | at com.mysql.cj.jdbc.exceptions.SQLError.createCommunicationsException(SQLError.java:174)
backend-1 | at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:64)
backend-1 | at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:829)
backend-1 | at com.mysql.cj.jdbc.ConnectionImpl.(ConnectionImpl.java:449)
backend-1 | at com.mysql.cj.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:242)
backend-1 | at com.mysql.cj.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:198)
backend-1 | at com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:138)
backend-1 | at com.zaxxer.hikari.pool.PoolBase.newConnection(PoolBase.java:364)
backend-1 | at com.zaxxer.hikari.pool.PoolBase.newPoolEntry(PoolBase.java:206)
backend-1 | at com.zaxxer.hikari.pool.HikariPool.createPoolEntry(HikariPool.java:476)
backend-1 | at com.zaxxer.hikari.pool.HikariPool.checkFailFast(HikariPool.java:561)
backend-1 | at com.zaxxer.hikari.pool.HikariPool.(HikariPool.java:115)
backend-1 | at com.zaxxer.hikari.HikariDataSource.getConnection(HikariDataSource.java:112)
backend-1 | at org.springframework.jdbc.datasource.DataSourceUtils.fetchConnection(DataSourceUtils.java:159)
backend-1 | at org.springframework.jdbc.datasource.DataSourceUtils.doGetConnection(DataSourceUtils.java:117)
backend-1 | at org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:80)
backend-1 | ... 39 more
backend-1 | Caused by: com.mysql.cj.exceptions.CJCommunicationsException: Communications link failure
backend-1 |
backend-1 | The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
backend-1 | at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
backend-1 | at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
backend-1 | at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
backend-1 | at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
backend-1 | at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:61)
backend-1 | at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:105)
backend-1 | at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:151)
backend-1 | at com.mysql.cj.exceptions.ExceptionFactory.createCommunicationsException(ExceptionFactory.java:167)
backend-1 | at com.mysql.cj.protocol.a.NativeSocketConnection.connect(NativeSocketConnection.java:89)
backend-1 | at com.mysql.cj.NativeSession.connect(NativeSession.java:120)
backend-1 | at com.mysql.cj.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:949)
backend-1 | at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:819)
backend-1 | ... 52 more
backend-1 | Caused by: java.net.SocketTimeoutException: connect timed out
backend-1 | at java.base/java.net.PlainSocketImpl.socketConnect(Native Method)
backend-1 | at java.base/java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:412)
backend-1 | at java.base/java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:255)
backend-1 | at java.base/java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:237)
backend-1 | at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
backend-1 | at java.base/java.net.Socket.connect(Socket.java:609)
backend-1 | at com.mysql.cj.protocol.StandardSocketFactory.connect(StandardSocketFactory.java:156)
backend-1 | at com.mysql.cj.protocol.a.NativeSocketConnection.connect(NativeSocketConnection.java:63)
backend-1 | ... 55 more
backend-1 | Exception in thread "pool-4-thread-2" org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.exceptions.PersistenceException:
backend-1 | ### Error querying database. Cause: org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection; nested exception is java.sql.SQLException: HikariDataSource HikariDataSource (null) has been closed.
backend-1 | ### The error may exist in ai/basic/x1/adapter/port/dao/mybatis/mapper/DatasetMapper.java (best guess)
backend-1 | ### The error may involve ai.basic.x1.adapter.port.dao.mybatis.mapper.DatasetMapper.selectList
backend-1 | ### The error occurred while executing a query
backend-1 | ### Cause: org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection; nested exception is java.sql.SQLException: HikariDataSource HikariDataSource (null) has been closed.
backend-1 | at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:96)
backend-1 | at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:441)
backend-1 | at com.sun.proxy.$Proxy95.selectList(Unknown Source)
backend-1 | at org.mybatis.spring.SqlSessionTemplate.selectList(SqlSessionTemplate.java:224)
backend-1 | at com.baomidou.mybatisplus.core.override.MybatisMapperMethod.executeForMany(MybatisMapperMethod.java:166)
backend-1 | at com.baomidou.mybatisplus.core.override.MybatisMapperMethod.execute(MybatisMapperMethod.java:77)
backend-1 | at com.baomidou.mybatisplus.core.override.MybatisMapperProxy$PlainMethodInvoker.invoke(MybatisMapperProxy.java:148)
backend-1 | at com.baomidou.mybatisplus.core.override.MybatisMapperProxy.invoke(MybatisMapperProxy.java:89)
backend-1 | at com.sun.proxy.$Proxy99.selectList(Unknown Source)
backend-1 | at com.baomidou.mybatisplus.core.mapper.BaseMapper.selectOne(BaseMapper.java:173)
backend-1 | at java.base/java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:710)
backend-1 | at com.baomidou.mybatisplus.core.override.MybatisMapperProxy$DefaultMethodInvoker.invoke(MybatisMapperProxy.java:162)
backend-1 | at com.baomidou.mybatisplus.core.override.MybatisMapperProxy.invoke(MybatisMapperProxy.java:89)
backend-1 | at com.sun.proxy.$Proxy99.selectOne(Unknown Source)
backend-1 | at ai.basic.x1.adapter.port.dao.AbstractDAO.getOne(AbstractDAO.java:213)
backend-1 | at ai.basic.x1.adapter.port.dao.AbstractDAO.getOne(AbstractDAO.java:208)
backend-1 | at ai.basic.x1.usecase.DatasetUseCase.getInitDataset(DatasetUseCase.java:155)
backend-1 | at ai.basic.x1.usecase.DatasetUseCase.lambda$initDataset$2(DatasetUseCase.java:107)
backend-1 | at com.alibaba.ttl.TtlRunnable.run(TtlRunnable.java:59)
backend-1 | at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
backend-1 | at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
backend-1 | at java.base/java.lang.Thread.run(Thread.java:829)
backend-1 | Caused by: org.apache.ibatis.exceptions.PersistenceException:
backend-1 | ### Error querying database. Cause: org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection; nested exception is java.sql.SQLException: HikariDataSource HikariDataSource (null) has been closed.
backend-1 | ### The error may exist in ai/basic/x1/adapter/port/dao/mybatis/mapper/DatasetMapper.java (best guess)
backend-1 | ### The error may involve ai.basic.x1.adapter.port.dao.mybatis.mapper.DatasetMapper.selectList
backend-1 | ### The error occurred while executing a query
backend-1 | ### Cause: org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection; nested exception is java.sql.SQLException: HikariDataSource HikariDataSource (null) has been closed.
backend-1 | at org.apache.ibatis.exceptions.ExceptionFactory.wrapException(ExceptionFactory.java:30)
backend-1 | at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:153)
backend-1 | at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:145)
backend-1 | at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:140)
backend-1 | at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
backend-1 | at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
backend-1 | at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
backend-1 | at java.base/java.lang.reflect.Method.invoke(Method.java:566)
backend-1 | at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:427)
backend-1 | ... 20 more
backend-1 | Caused by: org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection; nested exception is java.sql.SQLException: HikariDataSource HikariDataSource (null) has been closed.
backend-1 | at org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:83)
backend-1 | at org.mybatis.spring.transaction.SpringManagedTransaction.openConnection(SpringManagedTransaction.java:80)
backend-1 | at org.mybatis.spring.transaction.SpringManagedTransaction.getConnection(SpringManagedTransaction.java:67)
backend-1 | at org.apache.ibatis.executor.BaseExecutor.getConnection(BaseExecutor.java:337)
backend-1 | at org.apache.ibatis.executor.SimpleExecutor.prepareStatement(SimpleExecutor.java:86)
backend-1 | at org.apache.ibatis.executor.SimpleExecutor.doQuery(SimpleExecutor.java:62)
backend-1 | at org.apache.ibatis.executor.BaseExecutor.queryFromDatabase(BaseExecutor.java:325)
backend-1 | at org.apache.ibatis.executor.BaseExecutor.query(BaseExecutor.java:156)
backend-1 | at org.apache.ibatis.executor.CachingExecutor.query(CachingExecutor.java:109)
backend-1 | at com.baomidou.mybatisplus.extension.plugins.MybatisPlusInterceptor.intercept(MybatisPlusInterceptor.java:81)
backend-1 | at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:62)
backend-1 | at com.sun.proxy.$Proxy136.query(Unknown Source)
backend-1 | at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:151)
backend-1 | ... 27 more
backend-1 | Caused by: java.sql.SQLException: HikariDataSource HikariDataSource (null) has been closed.
backend-1 | at com.zaxxer.hikari.HikariDataSource.getConnection(HikariDataSource.java:96)
backend-1 | at org.springframework.jdbc.datasource.DataSourceUtils.fetchConnection(DataSourceUtils.java:159)
backend-1 | at org.springframework.jdbc.datasource.DataSourceUtils.doGetConnection(DataSourceUtils.java:117)
backend-1 | at org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:80)
backend-1 | ... 39 more
Gracefully stopping... (press Ctrl+C again to force)
dependency failed to start: container xtreme1-v091-backend-1 is unhealthy

@jaggerwang
Copy link
Contributor

java.sql.SQLException: HikariDataSource HikariDataSource (null) has been closed.

Java 服务启动的时候无法连接数据库,检查一下数据库相关的配置。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants