You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@seata.apache.org by "Leerecently (via GitHub)" <gi...@apache.org> on 2024/07/09 03:12:31 UTC
[I] seata启动读取不到redis配置 [incubator-seata]
Leerecently opened a new issue, #6659:
URL: https://github.com/apache/incubator-seata/issues/6659
环境:zookeeper注册中心 redis存储 seata2.0.0
我的seata-server 配置文件(确保seata在启动的时候正确读取这个文件,我更改过端口号是生效的)
docker 容器:/seata-server/resources/application.yml

在seata-server 容器中 我尝试试用redis-cli 是可以通的

seata-server 服务启动日志:
`apm-skywalking not enabled
2024-07-09T03:11:30.285913946Z JMX disabled
2024-07-09T03:11:30.285967201Z Affected JVM parameters: -Dlog.home=/root/logs/seata -server -Dloader.path=/lib -Xmx2048m -Xms2048m -Xss640k -XX:SurvivorRatio=10 -XX:MetaspaceSize=128m -XX:MaxMetaspaceSize=256m -XX:MaxDirectMemorySize=1024m -XX:-OmitStackTraceInFastThrow -XX:-UseAdaptiveSizePolicy -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/root/logs/seata/java_heapdump.hprof -XX:+DisableExplicitGC -Xloggc:/root/logs/seata/seata_gc.log -verbose:gc -XX:+PrintGCDetails -XX:+PrintGCDateStamps -XX:+PrintGCTimeStamps -XX:+UseGCLogFileRotation -XX:NumberOfGCLogFiles=10 -XX:GCLogFileSize=100M -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -Dio.netty.leakDetectionLevel=advanced -Dapp.name=seata-server -Dapp.pid=1 -Dapp.home=/ -Dbasedir=/
2024-07-09T03:11:31.427983441Z ███████╗███████╗ █████╗ ████████╗ █████╗
2024-07-09T03:11:31.428004605Z ██╔════╝██╔════╝██╔══██╗╚══██╔══╝██╔══██╗
2024-07-09T03:11:31.428019510Z ███████╗█████╗ ███████║ ██║ ███████║
2024-07-09T03:11:31.428023342Z ╚════██║██╔══╝ ██╔══██║ ██║ ██╔══██║
2024-07-09T03:11:31.428026828Z ███████║███████╗██║ ██║ ██║ ██║ ██║
2024-07-09T03:11:31.428030494Z ╚══════╝╚══════╝╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝
2024-07-09T03:11:31.428033172Z
2024-07-09T03:11:31.428038051Z
2024-07-09T03:11:31.631722240Z 11:11:31.627 INFO --- [ main] [ta.config.ConfigurationFactory] [ load] [] : load Configuration from :Spring Configuration
2024-07-09T03:11:31.658973959Z 11:11:31.658 INFO --- [ main] [nfig.zk.ZookeeperConfiguration] [ getZkSerializer] [] : Use default zk serializer: io.seata.config.zk.DefaultZkSerializer.
2024-07-09T03:11:31.668813734Z 11:11:31.668 INFO --- [host.docker.internal:2181] [.I0Itec.zkclient.ZkEventThread] [ run] [] : Starting ZkClient event thread.
2024-07-09T03:11:31.675597834Z 11:11:31.675 INFO --- [ main] [org.apache.zookeeper.ZooKeeper] [ logEnv] [] : Client environment:zookeeper.version=3.5.9-83df9301aa5c2a5d284a9940177808c01bc35cef, built on 01/06/2021 20:03 GMT
2024-07-09T03:11:31.675615597Z 11:11:31.675 INFO --- [ main] [org.apache.zookeeper.ZooKeeper] [ logEnv] [] : Client environment:host.name=seata-server
2024-07-09T03:11:31.675761258Z 11:11:31.675 INFO --- [ main] [org.apache.zookeeper.ZooKeeper] [ logEnv] [] : Client environment:java.version=1.8.0_342
2024-07-09T03:11:31.675834981Z 11:11:31.675 INFO --- [ main] [org.apache.zookeeper.ZooKeeper] [ logEnv] [] : Client environment:java.vendor=Oracle Corporation
2024-07-09T03:11:31.675994580Z 11:11:31.675 INFO --- [ main] [org.apache.zookeeper.ZooKeeper] [ logEnv] [] : Client environment:java.home=/usr/local/openjdk-8/jre
2024-07-09T03:11:31.676135227Z 11:11:31.675 INFO --- [ main] [org.apache.zookeeper.ZooKeeper] [ logEnv] [] : Client environment:java.class.path=/seata-server/resources:/seata-server/classes:/seata-server/libs/DmJdbcDriver18-8.1.2.192.jar:/seata-server/libs/HikariCP-4.0.3.jar:/seata-server/libs/animal-sniffer-annotations-1.18.jar:/seata-server/libs/annotations-4.1.1.4.jar:/seata-server/libs/ant-1.10.12.jar:/seata-server/libs/ant-launcher-1.10.12.jar:/seata-server/libs/antlr-2.7.7.jar:/seata-server/libs/antlr-runtime-3.4.jar:/seata-server/libs/aopalliance-1.0.jar:/seata-server/libs/apollo-client-2.0.1.jar:/seata-server/libs/apollo-core-2.0.1.jar:/seata-server/libs/archaius-core-0.7.6.jar:/seata-server/libs/asm-6.0.jar:/seata-server/libs/audience-annotations-0.5.0.jar:/seata-server/libs/bolt-1.6.4.jar:/seata-server/libs/byte-buddy-1.12.23.jar:/seata-server/libs/checker-qual-3.5.0.jar:/seata-server/libs/commons-codec-1.15.jar:/seata-server/libs/commo
ns-compiler-3.1.10.jar:/seata-server/libs/commons-configuration-1.10.jar:/seata-server/libs/commons-dbcp2-2.9.0.jar:/seata-server/libs/commons-io-2.8.0.jar:/seata-server/libs/commons-jxpath-1.3.jar:/seata-server/libs/commons-lang-2.6.jar:/seata-server/libs/commons-logging-1.2.jar:/seata-server/libs/commons-math-2.2.jar:/seata-server/libs/commons-pool-1.6.jar:/seata-server/libs/commons-pool2-2.11.1.jar:/seata-server/libs/compactmap-2.0.jar:/seata-server/libs/config-1.2.1.jar:/seata-server/libs/consul-api-1.4.2.jar:/seata-server/libs/dexx-collections-0.2.jar:/seata-server/libs/disruptor-3.3.7.jar:/seata-server/libs/druid-1.2.7.jar:/seata-server/libs/error_prone_annotations-2.3.4.jar:/seata-server/libs/eureka-client-1.10.17.jar:/seata-server/libs/failsafe-2.3.3.jar:/seata-server/libs/failureaccess-1.0.1.jar:/seata-server/libs/fastjson-1.2.83.jar:/seata-server/libs/grpc-api-1.27.1.jar:/seata-server/libs/grpc-context-1.27.1.jar:/seata-server/libs/grpc-core-1.27.1.jar:/seata-server/libs/g
rpc-grpclb-1.27.1.jar:/seata-server/libs/grpc-netty-1.27.1.jar:/seata-server/libs/grpc-protobuf-1.27.1.jar:/seata-server/libs/grpc-protobuf-lite-1.27.1.jar:/seata-server/libs/grpc-stub-1.27.1.jar:/seata-server/libs/gson-2.9.1.jar:/seata-server/libs/guava-30.1-jre.jar:/seata-server/libs/guice-5.0.1.jar:/seata-server/libs/h2-2.1.214.jar:/seata-server/libs/hessian-4.0.3.jar:/seata-server/libs/hessian-4.0.63.jar:/seata-server/libs/httpasyncclient-4.1.5.jar:/seata-server/libs/httpclient-4.5.14.jar:/seata-server/libs/httpcore-4.4.16.jar:/seata-server/libs/httpcore-nio-4.4.16.jar:/seata-server/libs/j2objc-annotations-1.3.jar:/seata-server/libs/jackson-annotations-2.13.5.jar:/seata-server/libs/jackson-core-2.13.5.jar:/seata-server/libs/jackson-databind-2.13.5.jar:/seata-server/libs/jackson-datatype-jdk8-2.13.5.jar:/seata-server/libs/jackson-datatype-jsr310-2.13.5.jar:/seata-server/libs/jackson-module-parameter-names-2.13.5.jar:/seata-server/libs/jakarta.annotation-api-1.3.5.jar:/seata-serve
r/libs/janino-3.1.10.jar:/seata-server/libs/javax.inject-1.jar:/seata-server/libs/javax.servlet-api-4.0.1.jar:/seata-server/libs/jcommander-1.82.jar:/seata-server/libs/jctools-core-2.1.1.jar:/seata-server/libs/jedis-3.8.0.jar:/seata-server/libs/jersey-apache-client4-1.19.1.jar:/seata-server/libs/jersey-client-1.19.1.jar:/seata-server/libs/jersey-core-1.19.1.jar:/seata-server/libs/jetcd-common-0.5.0.jar:/seata-server/libs/jetcd-core-0.5.0.jar:/seata-server/libs/jetcd-resolver-0.5.0.jar:/seata-server/libs/jettison-1.4.0.jar:/seata-server/libs/jjwt-api-0.10.5.jar:/seata-server/libs/jjwt-impl-0.10.5.jar:/seata-server/libs/jjwt-jackson-0.10.5.jar:/seata-server/libs/jna-5.5.0.jar:/seata-server/libs/joda-time-2.3.jar:/seata-server/libs/jraft-core-1.3.13.jar:/seata-server/libs/jsr305-3.0.2.jar:/seata-server/libs/jsr311-api-1.1.1.jar:/seata-server/libs/jul-to-slf4j-1.7.36.jar:/seata-server/libs/kafka-clients-3.1.2.jar:/seata-server/libs/kryo-5.4.0.jar:/seata-server/libs/kryo-serializers-0.45
.jar:/seata-server/libs/listenablefuture-9999.0-empty-to-avoid-conflict-with-guava.jar:/seata-server/libs/logback-classic-1.2.12.jar:/seata-server/libs/logback-core-1.2.12.jar:/seata-server/libs/logback-kafka-appender-0.2.0-RC2.jar:/seata-server/libs/logstash-logback-encoder-6.5.jar:/seata-server/libs/lz4-java-1.7.1.jar:/seata-server/libs/metrics-core-4.2.21.jar:/seata-server/libs/minlog-1.3.1.jar:/seata-server/libs/mxparser-1.2.2.jar:/seata-server/libs/mysql-connector-java-5.1.42.jar:/seata-server/libs/nacos-api-1.4.2.jar:/seata-server/libs/nacos-client-1.4.2.jar:/seata-server/libs/nacos-common-1.4.2.jar:/seata-server/libs/netflix-eventbus-0.3.0.jar:/seata-server/libs/netflix-infix-0.3.0.jar:/seata-server/libs/netty-all-4.1.100.Final.jar:/seata-server/libs/netty-buffer-4.1.100.Final.jar:/seata-server/libs/netty-codec-4.1.100.Final.jar:/seata-server/libs/netty-codec-dns-4.1.100.Final.jar:/seata-server/libs/netty-codec-haproxy-4.1.100.Final.jar:/seata-server/libs/netty-codec-http-4.1
.100.Final.jar:/seata-server/libs/netty-codec-http2-4.1.100.Final.jar:/seata-server/libs/netty-codec-memcache-4.1.100.Final.jar:/seata-server/libs/netty-codec-mqtt-4.1.100.Final.jar:/seata-server/libs/netty-codec-redis-4.1.100.Final.jar:/seata-server/libs/netty-codec-smtp-4.1.100.Final.jar:/seata-server/libs/netty-codec-socks-4.1.100.Final.jar:/seata-server/libs/netty-codec-stomp-4.1.100.Final.jar:/seata-server/libs/netty-codec-xml-4.1.100.Final.jar:/seata-server/libs/netty-common-4.1.100.Final.jar:/seata-server/libs/netty-handler-4.1.100.Final.jar:/seata-server/libs/netty-handler-proxy-4.1.100.Final.jar:/seata-server/libs/netty-handler-ssl-ocsp-4.1.100.Final.jar:/seata-server/libs/netty-resolver-4.1.100.Final.jar:/seata-server/libs/netty-resolver-dns-4.1.100.Final.jar:/seata-server/libs/netty-resolver-dns-classes-macos-4.1.100.Final.jar:/seata-server/libs/netty-resolver-dns-native-macos-4.1.100.Final-osx-aarch_64.jar:/seata-server/libs/netty-resolver-dns-native-macos-4.1.100.Final-
osx-x86_64.jar:/seata-server/libs/netty-transport-4.1.100.Final.jar:/seata-server/libs/netty-transport-classes-epoll-4.1.100.Final.jar:/seata-server/libs/netty-transport-classes-kqueue-4.1.100.Final.jar:/seata-server/libs/netty-transport-native-epoll-4.1.100.Final-linux-aarch_64.jar:/seata-server/libs/netty-transport-native-epoll-4.1.100.Final-linux-x86_64.jar:/seata-server/libs/netty-transport-native-epoll-4.1.100.Final.jar:/seata-server/libs/netty-transport-native-kqueue-4.1.100.Final-osx-aarch_64.jar:/seata-server/libs/netty-transport-native-kqueue-4.1.100.Final-osx-x86_64.jar:/seata-server/libs/netty-transport-native-unix-common-4.1.100.Final.jar:/seata-server/libs/netty-transport-rxtx-4.1.100.Final.jar:/seata-server/libs/netty-transport-sctp-4.1.100.Final.jar:/seata-server/libs/netty-transport-udt-4.1.100.Final.jar:/seata-server/libs/objenesis-3.2.jar:/seata-server/libs/perfmark-api-0.19.0.jar:/seata-server/libs/postgresql-42.3.8.jar:/seata-server/libs/proto-google-common-proto
s-1.17.0.jar:/seata-server/libs/protobuf-java-3.16.3.jar:/seata-server/libs/protobuf-java-util-3.11.0.jar:/seata-server/libs/reflectasm-1.11.9.jar:/seata-server/libs/registry-client-all-6.3.0.jar:/seata-server/libs/rocksdbjni-7.7.3.jar:/seata-server/libs/servo-core-0.12.21.jar:/seata-server/libs/simpleclient-0.15.0.jar:/seata-server/libs/simpleclient_common-0.15.0.jar:/seata-server/libs/simpleclient_httpserver-0.15.0.jar:/seata-server/libs/simpleclient_tracer_common-0.15.0.jar:/seata-server/libs/simpleclient_tracer_otel-0.15.0.jar:/seata-server/libs/simpleclient_tracer_otel_agent-0.15.0.jar:/seata-server/libs/slf4j-api-1.7.36.jar:/seata-server/libs/snakeyaml-2.0.jar:/seata-server/libs/snappy-java-1.1.8.4.jar:/seata-server/libs/sofa-common-tools-1.0.12.jar:/seata-server/libs/spring-aop-5.3.30.jar:/seata-server/libs/spring-beans-5.3.30.jar:/seata-server/libs/spring-boot-2.7.17.jar:/seata-server/libs/spring-boot-autoconfigure-2.7.17.jar:/seata-server/libs/spring-boot-starter-2.7.17.jar
:/seata-server/libs/spring-boot-starter-json-2.7.17.jar:/seata-server/libs/spring-boot-starter-logging-2.7.17.jar:/seata-server/libs/spring-boot-starter-security-2.7.17.jar:/seata-server/libs/spring-boot-starter-tomcat-2.7.17.jar:/seata-server/libs/spring-boot-starter-web-2.7.17.jar:/seata-server/libs/spring-context-5.3.30.jar:/seata-server/libs/spring-core-5.3.30.jar:/seata-server/libs/spring-expression-5.3.30.jar:/seata-server/libs/spring-jcl-5.3.30.jar:/seata-server/libs/spring-security-config-5.7.11.jar:/seata-server/libs/spring-security-core-5.7.11.jar:/seata-server/libs/spring-security-crypto-5.7.11.jar:/seata-server/libs/spring-security-web-5.7.11.jar:/seata-server/libs/spring-web-5.3.30.jar:/seata-server/libs/spring-webmvc-5.3.30.jar:/seata-server/libs/stringtemplate-3.2.1.jar:/seata-server/libs/tomcat-embed-core-9.0.82.jar:/seata-server/libs/tomcat-embed-el-9.0.82.jar:/seata-server/libs/tomcat-embed-websocket-9.0.82.jar:/seata-server/libs/tools.jar:/seata-server/libs/xstrea
m-1.4.20.jar:/seata-server/libs/zkclient-0.11.jar:/seata-server/libs/zookeeper-3.5.9.jar:/seata-server/libs/zookeeper-jute-3.5.9.jar:/seata-server/libs/zstd-jni-1.5.0-4.jar:/seata-server/libs/seata-common-2.0.0.jar:/seata-server/libs/seata-compressor-all-2.0.0.jar:/seata-server/libs/seata-compressor-bzip2-2.0.0.jar:/seata-server/libs/seata-compressor-deflater-2.0.0.jar:/seata-server/libs/seata-compressor-gzip-2.0.0.jar:/seata-server/libs/seata-compressor-lz4-2.0.0.jar:/seata-server/libs/seata-compressor-zip-2.0.0.jar:/seata-server/libs/seata-compressor-zstd-2.0.0.jar:/seata-server/libs/seata-config-all-2.0.0.jar:/seata-server/libs/seata-config-apollo-2.0.0.jar:/seata-server/libs/seata-config-consul-2.0.0.jar:/seata-server/libs/seata-config-core-2.0.0.jar:/seata-server/libs/seata-config-etcd3-2.0.0.jar:/seata-server/libs/seata-config-nacos-2.0.0.jar:/seata-server/libs/seata-config-spring-cloud-2.0.0.jar:/seata-server/libs/seata-config-zk-2.0.0.jar:/seata-server/libs/seata-console-2.0
.0.jar:/seata-server/libs/seata-core-2.0.0.jar:/seata-server/libs/seata-discovery-all-2.0.0.jar:/seata-server/libs/seata-discovery-consul-2.0.0.jar:/seata-server/libs/seata-discovery-core-2.0.0.jar:/seata-server/libs/seata-discovery-custom-2.0.0.jar:/seata-server/libs/seata-discovery-etcd3-2.0.0.jar:/seata-server/libs/seata-discovery-eureka-2.0.0.jar:/seata-server/libs/seata-discovery-nacos-2.0.0.jar:/seata-server/libs/seata-discovery-redis-2.0.0.jar:/seata-server/libs/seata-discovery-sofa-2.0.0.jar:/seata-server/libs/seata-discovery-zk-2.0.0.jar:/seata-server/libs/seata-metrics-all-2.0.0.jar:/seata-server/libs/seata-metrics-api-2.0.0.jar:/seata-server/libs/seata-metrics-core-2.0.0.jar:/seata-server/libs/seata-metrics-exporter-prometheus-2.0.0.jar:/seata-server/libs/seata-metrics-registry-compact-2.0.0.jar:/seata-server/libs/seata-serializer-all-2.0.0.jar:/seata-server/libs/seata-serializer-hessian-2.0.0.jar:/seata-server/libs/seata-serializer-kryo-2.0.0.jar:/seata-server/libs/seata
-serializer-protobuf-2.0.0.jar:/seata-server/libs/seata-serializer-seata-2.0.0.jar:/seata-server/libs/seata-spring-autoconfigure-core-2.0.0.jar:/seata-server/libs/seata-spring-autoconfigure-server-2.0.0.jar
2024-07-09T03:11:31.676292634Z 11:11:31.676 INFO --- [ main] [org.apache.zookeeper.ZooKeeper] [ logEnv] [] : Client environment:java.library.path=/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
2024-07-09T03:11:31.676448194Z 11:11:31.676 INFO --- [ main] [org.apache.zookeeper.ZooKeeper] [ logEnv] [] : Client environment:java.io.tmpdir=/tmp
2024-07-09T03:11:31.676535645Z 11:11:31.676 INFO --- [ main] [org.apache.zookeeper.ZooKeeper] [ logEnv] [] : Client environment:java.compiler=<NA>
2024-07-09T03:11:31.676681750Z 11:11:31.676 INFO --- [ main] [org.apache.zookeeper.ZooKeeper] [ logEnv] [] : Client environment:os.name=Linux
2024-07-09T03:11:31.676822353Z 11:11:31.676 INFO --- [ main] [org.apache.zookeeper.ZooKeeper] [ logEnv] [] : Client environment:os.arch=amd64
2024-07-09T03:11:31.676932178Z 11:11:31.676 INFO --- [ main] [org.apache.zookeeper.ZooKeeper] [ logEnv] [] : Client environment:os.version=3.10.0-1160.el7.x86_64
2024-07-09T03:11:31.677079101Z 11:11:31.676 INFO --- [ main] [org.apache.zookeeper.ZooKeeper] [ logEnv] [] : Client environment:user.name=root
2024-07-09T03:11:31.677304530Z 11:11:31.677 INFO --- [ main] [org.apache.zookeeper.ZooKeeper] [ logEnv] [] : Client environment:user.home=/root
2024-07-09T03:11:31.677449991Z 11:11:31.677 INFO --- [ main] [org.apache.zookeeper.ZooKeeper] [ logEnv] [] : Client environment:user.dir=/seata-server
2024-07-09T03:11:31.677623907Z 11:11:31.677 INFO --- [ main] [org.apache.zookeeper.ZooKeeper] [ logEnv] [] : Client environment:os.memory.free=1982MB
2024-07-09T03:11:31.677772253Z 11:11:31.677 INFO --- [ main] [org.apache.zookeeper.ZooKeeper] [ logEnv] [] : Client environment:os.memory.max=2048MB
2024-07-09T03:11:31.677914811Z 11:11:31.677 INFO --- [ main] [org.apache.zookeeper.ZooKeeper] [ logEnv] [] : Client environment:os.memory.total=2048MB
2024-07-09T03:11:31.681315341Z 11:11:31.680 INFO --- [ main] [org.apache.zookeeper.ZooKeeper] [ <init>] [] : Initiating client connection, connectString=host.docker.internal:2181 sessionTimeout=6000 watcher=org.I0Itec.zkclient.ZkClient@7668d560
2024-07-09T03:11:31.686344978Z 11:11:31.685 INFO --- [ main] [ache.zookeeper.common.X509Util] [ <clinit>] [] : Setting -D jdk.tls.rejectClientInitiatedRenegotiation=true to disable client-initiated TLS renegotiation
2024-07-09T03:11:31.693674787Z 11:11:31.693 INFO --- [ main] [che.zookeeper.ClientCnxnSocket] [ initProperties] [] : jute.maxbuffer value is 4194304 Bytes
2024-07-09T03:11:31.701227385Z 11:11:31.700 INFO --- [ main] [rg.apache.zookeeper.ClientCnxn] [ initRequestTimeout] [] : zookeeper.request.timeout value is 0. feature enabled=
2024-07-09T03:11:31.701643012Z 11:11:31.701 INFO --- [ main] [org.I0Itec.zkclient.ZkClient ] [ waitForKeeperState] [] : Waiting for keeper state SyncConnected
2024-07-09T03:11:31.706203631Z 11:11:31.705 INFO --- [ost.docker.internal:2181)] [rg.apache.zookeeper.ClientCnxn] [ logStartConnect] [] : Opening socket connection to server host.docker.internal/10.0.1.16:2181. Will not attempt to authenticate using SASL (unknown error)
2024-07-09T03:11:31.711539577Z 11:11:31.711 INFO --- [ost.docker.internal:2181)] [rg.apache.zookeeper.ClientCnxn] [ primeConnection] [] : Socket connection established, initiating session, client: /172.26.0.7:42134, server: host.docker.internal/10.0.1.16:2181
2024-07-09T03:11:31.717304570Z 11:11:31.716 INFO --- [ost.docker.internal:2181)] [rg.apache.zookeeper.ClientCnxn] [ onConnected] [] : Session establishment complete on server host.docker.internal/10.0.1.16:2181, sessionid = 0x103c9347ce01c5f, negotiated timeout = 6000
2024-07-09T03:11:31.719676088Z 11:11:31.719 INFO --- [ main-EventThread] [org.I0Itec.zkclient.ZkClient ] [ processStateChanged] [] : zookeeper state changed (SyncConnected)
2024-07-09T03:11:31.942641402Z 11:11:31.942 WARN --- [ ZKConfigThread_1_1] [nfig.zk.ZookeeperConfiguration] [da$getLatestConfig$0] [] : config store.session.mode is not existed, return defaultValue null
2024-07-09T03:11:31.943446131Z 11:11:31.943 WARN --- [ ZKConfigThread_1_1] [nfig.zk.ZookeeperConfiguration] [da$getLatestConfig$0] [] : config store.lock.mode is not existed, return defaultValue null
2024-07-09T03:11:31.950500133Z 11:11:31.950 INFO --- [ main] [seata.server.ServerApplication] [ logStarting] [] : Starting ServerApplication using Java 1.8.0_342 on seata-server with PID 1 (/seata-server/classes started by root in /seata-server)
2024-07-09T03:11:31.950981048Z 11:11:31.950 INFO --- [ main] [seata.server.ServerApplication] [ogStartupProfileInfo] [] : No active profile set, falling back to 1 default profile: "default"
2024-07-09T03:11:33.128374975Z 11:11:33.128 INFO --- [ main] [mbedded.tomcat.TomcatWebServer] [ initialize] [] : Tomcat initialized with port(s): 7091 (http)
2024-07-09T03:11:33.139808581Z 11:11:33.139 INFO --- [ main] [oyote.http11.Http11NioProtocol] [ log] [] : Initializing ProtocolHandler ["http-nio-7091"]
2024-07-09T03:11:33.142027956Z 11:11:33.141 INFO --- [ main] [.catalina.core.StandardService] [ log] [] : Starting service [Tomcat]
2024-07-09T03:11:33.142142920Z 11:11:33.141 INFO --- [ main] [e.catalina.core.StandardEngine] [ log] [] : Starting Servlet engine: [Apache Tomcat/9.0.82]
2024-07-09T03:11:33.239885591Z 11:11:33.239 INFO --- [ main] [rBase.[Tomcat].[localhost].[/]] [ log] [] : Initializing Spring embedded WebApplicationContext
2024-07-09T03:11:33.239966965Z 11:11:33.239 INFO --- [ main] [letWebServerApplicationContext] [ebApplicationContext] [] : Root WebApplicationContext: initialization completed in 1258 ms
2024-07-09T03:11:33.786874455Z 11:11:33.786 INFO --- [ main] [vlet.WelcomePageHandlerMapping] [ <init>] [] : Adding welcome page: class path resource [static/index.html]
2024-07-09T03:11:34.092789501Z 11:11:34.092 INFO --- [ main] [oyote.http11.Http11NioProtocol] [ log] [] : Starting ProtocolHandler ["http-nio-7091"]
2024-07-09T03:11:34.116954231Z 11:11:34.116 INFO --- [ main] [mbedded.tomcat.TomcatWebServer] [ start] [] : Tomcat started on port(s): 7091 (http) with context path ''
2024-07-09T03:11:34.126534739Z 11:11:34.126 INFO --- [ main] [seata.server.ServerApplication] [ logStarted] [] : Started ServerApplication in 3.331 seconds (JVM running for 3.836)
2024-07-09T03:11:34.143991047Z 11:11:34.143 WARN --- [ ZKConfigThread_1_1] [nfig.zk.ZookeeperConfiguration] [da$getLatestConfig$0] [] : config metrics.enabled is not existed, return defaultValue null
2024-07-09T03:11:34.146036270Z 11:11:34.145 WARN --- [ ZKConfigThread_1_1] [nfig.zk.ZookeeperConfiguration] [da$getLatestConfig$0] [] : config transport.threadFactory.bossThreadPrefix is not existed, return defaultValue null
2024-07-09T03:11:34.146580774Z 11:11:34.146 WARN --- [ ZKConfigThread_1_1] [nfig.zk.ZookeeperConfiguration] [da$getLatestConfig$0] [] : config transport.threadFactory.workerThreadPrefix is not existed, return defaultValue null
2024-07-09T03:11:34.147142783Z 11:11:34.146 WARN --- [ ZKConfigThread_1_1] [nfig.zk.ZookeeperConfiguration] [da$getLatestConfig$0] [] : config transport.threadFactory.shareBossWorker is not existed, return defaultValue null
2024-07-09T03:11:34.148660459Z 11:11:34.148 WARN --- [ ZKConfigThread_1_1] [nfig.zk.ZookeeperConfiguration] [da$getLatestConfig$0] [] : config transport.type is not existed, return defaultValue TCP
2024-07-09T03:11:34.149234783Z 11:11:34.149 WARN --- [ ZKConfigThread_1_1] [nfig.zk.ZookeeperConfiguration] [da$getLatestConfig$0] [] : config transport.threadFactory.workerThreadSize is not existed, return defaultValue null
2024-07-09T03:11:34.150317814Z 11:11:34.150 WARN --- [ ZKConfigThread_1_1] [nfig.zk.ZookeeperConfiguration] [da$getLatestConfig$0] [] : config transport.server is not existed, return defaultValue NIO
2024-07-09T03:11:34.155633184Z 11:11:34.155 WARN --- [ ZKConfigThread_1_1] [nfig.zk.ZookeeperConfiguration] [da$getLatestConfig$0] [] : config transport.heartbeat is not existed, return defaultValue null
2024-07-09T03:11:34.156152586Z 11:11:34.156 WARN --- [ ZKConfigThread_1_1] [nfig.zk.ZookeeperConfiguration] [da$getLatestConfig$0] [] : config transport.rpcTcRequestTimeout is not existed, return defaultValue null
2024-07-09T03:11:34.156699657Z 11:11:34.156 WARN --- [ ZKConfigThread_1_1] [nfig.zk.ZookeeperConfiguration] [da$getLatestConfig$0] [] : config transport.enableTcServerBatchSendResponse is not existed, return defaultValue null
2024-07-09T03:11:34.158437146Z 11:11:34.158 WARN --- [ ZKConfigThread_1_1] [nfig.zk.ZookeeperConfiguration] [da$getLatestConfig$0] [] : config registry.preferredNetworks is not existed, return defaultValue null
2024-07-09T03:11:34.175344790Z 11:11:34.175 WARN --- [ ZKConfigThread_1_1] [nfig.zk.ZookeeperConfiguration] [da$getLatestConfig$0] [] : config transport.threadFactory.bossThreadSize is not existed, return defaultValue null
2024-07-09T03:11:34.175877470Z 11:11:34.175 WARN --- [ ZKConfigThread_1_1] [nfig.zk.ZookeeperConfiguration] [da$getLatestConfig$0] [] : config transport.threadFactory.bossThreadPrefix is not existed, return defaultValue NettyBoss
2024-07-09T03:11:34.228325233Z 11:11:34.228 WARN --- [ ZKConfigThread_1_1] [nfig.zk.ZookeeperConfiguration] [da$getLatestConfig$0] [] : config transport.threadFactory.workerThreadPrefix is not existed, return defaultValue NettyServerNIOWorker
2024-07-09T03:11:34.241452953Z 11:11:34.241 WARN --- [ ZKConfigThread_1_1] [nfig.zk.ZookeeperConfiguration] [da$getLatestConfig$0] [] : config server.recovery.committingRetryPeriod is not existed, return defaultValue null
2024-07-09T03:11:34.242075749Z 11:11:34.241 WARN --- [ ZKConfigThread_1_1] [nfig.zk.ZookeeperConfiguration] [da$getLatestConfig$0] [] : config server.recovery.asyncCommittingRetryPeriod is not existed, return defaultValue null
2024-07-09T03:11:34.242651009Z 11:11:34.242 WARN --- [ ZKConfigThread_1_1] [nfig.zk.ZookeeperConfiguration] [da$getLatestConfig$0] [] : config server.recovery.rollbackingRetryPeriod is not existed, return defaultValue null
2024-07-09T03:11:34.243212074Z 11:11:34.243 WARN --- [ ZKConfigThread_1_1] [nfig.zk.ZookeeperConfiguration] [da$getLatestConfig$0] [] : config server.recovery.timeoutRetryPeriod is not existed, return defaultValue null
2024-07-09T03:11:34.243709954Z 11:11:34.243 WARN --- [ ZKConfigThread_1_1] [nfig.zk.ZookeeperConfiguration] [da$getLatestConfig$0] [] : config server.undo.logDeletePeriod is not existed, return defaultValue null
2024-07-09T03:11:34.244284428Z 11:11:34.244 WARN --- [ ZKConfigThread_1_1] [nfig.zk.ZookeeperConfiguration] [da$getLatestConfig$0] [] : config server.maxCommitRetryTimeout is not existed, return defaultValue null
2024-07-09T03:11:34.244839714Z 11:11:34.244 WARN --- [ ZKConfigThread_1_1] [nfig.zk.ZookeeperConfiguration] [da$getLatestConfig$0] [] : config server.maxRollbackRetryTimeout is not existed, return defaultValue null
2024-07-09T03:11:34.245371916Z 11:11:34.245 WARN --- [ ZKConfigThread_1_1] [nfig.zk.ZookeeperConfiguration] [da$getLatestConfig$0] [] : config server.rollbackRetryTimeoutUnlockEnable is not existed, return defaultValue null
2024-07-09T03:11:34.245843185Z 11:11:34.245 WARN --- [ ZKConfigThread_1_1] [nfig.zk.ZookeeperConfiguration] [da$getLatestConfig$0] [] : config store.session.mode is not existed, return defaultValue null
2024-07-09T03:11:34.248871245Z 11:11:34.248 WARN --- [ ZKConfigThread_1_1] [nfig.zk.ZookeeperConfiguration] [da$getLatestConfig$0] [] : config server.xaerNotaRetryTimeout is not existed, return defaultValue null
2024-07-09T03:11:34.249588448Z 11:11:34.249 WARN --- [ ZKConfigThread_1_1] [nfig.zk.ZookeeperConfiguration] [da$getLatestConfig$0] [] : config server.enableParallelHandleBranch is not existed, return defaultValue null
2024-07-09T03:11:34.254812217Z 11:11:34.254 WARN --- [ ZKConfigThread_1_1] [nfig.zk.ZookeeperConfiguration] [da$getLatestConfig$0] [] : config store.lock.mode is not existed, return defaultValue null
2024-07-09T03:11:34.255006668Z 11:11:34.254 INFO --- [ main] [rver.lock.LockerManagerFactory] [ init] [] : use lock store mode: redis
2024-07-09T03:11:34.259133800Z 11:11:34.258 WARN --- [ ZKConfigThread_1_1] [nfig.zk.ZookeeperConfiguration] [da$getLatestConfig$0] [] : config store.redis.type is not existed, return defaultValue pipeline
2024-07-09T03:11:34.261769583Z 11:11:34.261 WARN --- [ ZKConfigThread_1_1] [nfig.zk.ZookeeperConfiguration] [da$getLatestConfig$0] [] : config server.session.enableBranchAsyncRemove is not existed, return defaultValue null
2024-07-09T03:11:34.263110228Z 11:11:34.262 WARN --- [ ZKConfigThread_1_1] [nfig.zk.ZookeeperConfiguration] [da$getLatestConfig$0] [] : config server.distributedLockExpireTime is not existed, return defaultValue null
2024-07-09T03:11:34.263604507Z 11:11:34.263 WARN --- [ ZKConfigThread_1_1] [nfig.zk.ZookeeperConfiguration] [da$getLatestConfig$0] [] : config store.session.mode is not existed, return defaultValue null
2024-07-09T03:11:34.263775080Z 11:11:34.263 INFO --- [ main] [a.server.session.SessionHolder] [ init] [] : use session store mode: redis
2024-07-09T03:11:34.268898848Z 11:11:34.268 WARN --- [ ZKConfigThread_1_1] [nfig.zk.ZookeeperConfiguration] [da$getLatestConfig$0] [] : config store.file.sessionReloadReadSize is not existed, return defaultValue null
2024-07-09T03:11:34.277663477Z 11:11:34.277 WARN --- [ ZKConfigThread_1_1] [nfig.zk.ZookeeperConfiguration] [da$getLatestConfig$0] [] : config store.redis.queryLimit is not existed, return defaultValue null
2024-07-09T03:11:34.282311503Z 11:11:34.282 WARN --- [ ZKConfigThread_1_1] [nfig.zk.ZookeeperConfiguration] [da$getLatestConfig$0] [] : config server.enableParallelRequestHandle is not existed, return defaultValue null
2024-07-09T03:11:34.284121833Z 11:11:34.283 WARN --- [ ZKConfigThread_1_1] [nfig.zk.ZookeeperConfiguration] [da$getLatestConfig$0] [] : config store.redis.password is not existed, return defaultValue null
2024-07-09T03:11:34.285990206Z 11:11:34.285 WARN --- [ ZKConfigThread_1_1] [nfig.zk.ZookeeperConfiguration] [da$getLatestConfig$0] [] : config store.redis.minConn is not existed, return defaultValue null
2024-07-09T03:11:34.286387422Z 11:11:34.286 WARN --- [ ZKConfigThread_1_1] [nfig.zk.ZookeeperConfiguration] [da$getLatestConfig$0] [] : config server.enableCheckAuth is not existed, return defaultValue null
2024-07-09T03:11:34.287128934Z 11:11:34.286 WARN --- [ ZKConfigThread_1_1] [nfig.zk.ZookeeperConfiguration] [da$getLatestConfig$0] [] : config store.redis.maxConn is not existed, return defaultValue null
2024-07-09T03:11:34.287667292Z 11:11:34.287 WARN --- [ ZKConfigThread_1_1] [nfig.zk.ZookeeperConfiguration] [da$getLatestConfig$0] [] : config store.redis.maxTotal is not existed, return defaultValue null
2024-07-09T03:11:34.287782454Z 11:11:34.287 WARN --- [ ZKConfigThread_1_1] [nfig.zk.ZookeeperConfiguration] [da$getLatestConfig$0] [] : config store.redis.mode is not existed, return defaultValue single
2024-07-09T03:11:34.288340020Z 11:11:34.288 WARN --- [ ZKConfigThread_1_1] [nfig.zk.ZookeeperConfiguration] [da$getLatestConfig$0] [] : config store.redis.single.host is not existed, return defaultValue null
2024-07-09T03:11:34.288855997Z 11:11:34.288 WARN --- [ ZKConfigThread_1_1] [nfig.zk.ZookeeperConfiguration] [da$getLatestConfig$0] [] : config store.redis.host is not existed, return defaultValue 127.0.0.1
2024-07-09T03:11:34.289395226Z 11:11:34.289 WARN --- [ ZKConfigThread_1_1] [nfig.zk.ZookeeperConfiguration] [da$getLatestConfig$0] [] : config store.redis.single.port is not existed, return defaultValue null
2024-07-09T03:11:34.289909526Z 11:11:34.289 WARN --- [ ZKConfigThread_1_1] [nfig.zk.ZookeeperConfiguration] [da$getLatestConfig$0] [] : config store.redis.port is not existed, return defaultValue null
2024-07-09T03:11:34.291919194Z 11:11:34.291 WARN --- [ ZKConfigThread_1_1] [nfig.zk.ZookeeperConfiguration] [da$getLatestConfig$0] [] : config store.redis.database is not existed, return defaultValue null
2024-07-09T03:11:34.359666553Z 11:11:34.359 INFO --- [nPool.commonPool-worker-9] [orage.redis.JedisPooledFactory] [getJedisPoolInstance] [] : initialization of the build redis connection pool is complete
2024-07-09T03:11:34.379866675Z 11:11:34.379 INFO --- [ main] [rpc.netty.NettyServerBootstrap] [ start] [] : Server started, service listen port: 8091
2024-07-09T03:11:34.389041516Z 11:11:34.388 ERROR --- [ RetryCommitting_1_1] [is.lock.RedisDistributedLocker] [ acquireLock] [] : The 172.26.0.7:8091 acquired the RetryCommitting distributed lock failed.
2024-07-09T03:11:34.389061849Z ==>
2024-07-09T03:11:34.389067128Z redis.clients.jedis.exceptions.JedisConnectionException: Could not get a resource from the pool
2024-07-09T03:11:34.389070424Z at redis.clients.jedis.util.Pool.getResource(Pool.java:84)
2024-07-09T03:11:34.389073409Z at redis.clients.jedis.JedisPool.getResource(JedisPool.java:377)
2024-07-09T03:11:34.389076335Z at redis.clients.jedis.JedisPool.getResource(JedisPool.java:15)
2024-07-09T03:11:34.389079364Z at io.seata.server.storage.redis.JedisPooledFactory.getJedisInstance(JedisPooledFactory.java:133)
2024-07-09T03:11:34.389082482Z at io.seata.server.storage.redis.lock.RedisDistributedLocker.acquireLock(RedisDistributedLocker.java:47)
2024-07-09T03:11:34.389085778Z at io.seata.server.session.SessionHolder.acquireDistributedLock(SessionHolder.java:342)
2024-07-09T03:11:34.389088696Z at io.seata.server.session.SessionHolder.distributedLockAndExecute(SessionHolder.java:364)
2024-07-09T03:11:34.389092758Z at io.seata.server.coordinator.DefaultCoordinator.lambda$init$6(DefaultCoordinator.java:499)
2024-07-09T03:11:34.389101578Z at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
2024-07-09T03:11:34.389105073Z at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
2024-07-09T03:11:34.389107994Z at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
2024-07-09T03:11:34.389111053Z at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
2024-07-09T03:11:34.389114159Z at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
2024-07-09T03:11:34.389117254Z at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
2024-07-09T03:11:34.389120153Z at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
2024-07-09T03:11:34.389123163Z at java.lang.Thread.run(Thread.java:750)
2024-07-09T03:11:34.389127613Z Caused by: redis.clients.jedis.exceptions.JedisConnectionException: Failed to create socket.
2024-07-09T03:11:34.389130642Z at redis.clients.jedis.DefaultJedisSocketFactory.createSocket(DefaultJedisSocketFactory.java:110)
2024-07-09T03:11:34.389133920Z at redis.clients.jedis.Connection.connect(Connection.java:226)
2024-07-09T03:11:34.389137305Z at redis.clients.jedis.BinaryClient.connect(BinaryClient.java:144)
2024-07-09T03:11:34.389140604Z at redis.clients.jedis.BinaryJedis.connect(BinaryJedis.java:314)
2024-07-09T03:11:34.389144740Z at redis.clients.jedis.BinaryJedis.initializeFromClientConfig(BinaryJedis.java:92)
2024-07-09T03:11:34.389148033Z at redis.clients.jedis.BinaryJedis.<init>(BinaryJedis.java:297)
2024-07-09T03:11:34.389154958Z at redis.clients.jedis.Jedis.<init>(Jedis.java:169)
2024-07-09T03:11:34.389158753Z at redis.clients.jedis.JedisFactory.makeObject(JedisFactory.java:177)
2024-07-09T03:11:34.389161824Z at org.apache.commons.pool2.impl.GenericObjectPool.create(GenericObjectPool.java:571)
2024-07-09T03:11:34.389164708Z at org.apache.commons.pool2.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:298)
2024-07-09T03:11:34.389167673Z at org.apache.commons.pool2.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:223)
2024-07-09T03:11:34.389170695Z at redis.clients.jedis.util.Pool.getResource(Pool.java:75)
2024-07-09T03:11:34.389173664Z ... 15 common frames omitted
2024-07-09T03:11:34.389176695Z Caused by: java.net.ConnectException: Connection refused (Connection refused)
2024-07-09T03:11:34.389179579Z at java.net.PlainSocketImpl.socketConnect(Native Method)
2024-07-09T03:11:34.389182134Z at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
2024-07-09T03:11:34.389184663Z at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
2024-07-09T03:11:34.389187306Z at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
2024-07-09T03:11:34.389189938Z at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
2024-07-09T03:11:34.389192501Z at java.net.Socket.connect(Socket.java:607)
2024-07-09T03:11:34.389194766Z at redis.clients.jedis.DefaultJedisSocketFactory.createSocket(DefaultJedisSocketFactory.java:80)
2024-07-09T03:11:34.389197159Z ... 26 common frames omitted
2024-07-09T03:11:34.389199774Z <==
2024-07-09T03:11:34.389202032Z `
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@seata.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@seata.apache.org
For additional commands, e-mail: notifications-help@seata.apache.org
Re: [I] seata启动读取不到redis配置 [incubator-seata]
Posted by "funky-eyes (via GitHub)" <gi...@apache.org>.
funky-eyes closed issue #6659: seata启动读取不到redis配置
URL: https://github.com/apache/incubator-seata/issues/6659
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@seata.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@seata.apache.org
For additional commands, e-mail: notifications-help@seata.apache.org
Re: [I] seata启动读取不到redis配置 [incubator-seata]
Posted by "funky-eyes (via GitHub)" <gi...@apache.org>.
funky-eyes commented on issue #6659:
URL: https://github.com/apache/incubator-seata/issues/6659#issuecomment-2241097020
是否用了配置中心?
Is Configuration Center used?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@seata.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@seata.apache.org
For additional commands, e-mail: notifications-help@seata.apache.org
Re: [I] seata启动读取不到redis配置 [incubator-seata]
Posted by "Leerecently (via GitHub)" <gi...@apache.org>.
Leerecently commented on issue #6659:
URL: https://github.com/apache/incubator-seata/issues/6659#issuecomment-2216331099
关键日志信息

--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@seata.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@seata.apache.org
For additional commands, e-mail: notifications-help@seata.apache.org
Re: [I] seata启动读取不到redis配置 [incubator-seata]
Posted by "Leerecently (via GitHub)" <gi...@apache.org>.
Leerecently closed issue #6659: seata启动读取不到redis配置
URL: https://github.com/apache/incubator-seata/issues/6659
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@seata.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@seata.apache.org
For additional commands, e-mail: notifications-help@seata.apache.org