hu-liwei opened a new issue, #6723:
URL: https://github.com/apache/incubator-seata/issues/6723

   
   ### Centos7.6  jdk21  seata-server 启动服务报错
   
   - 启动命令以及返回如下:
   
   [root@iZuf638srmcgojynkwge6uZ bin]# ./seata-server.sh start 
   apm-skywalking not enabled
   JMX disabled
   /usr/java/jdk-21.0.4/bin/java  -Dlog.home=/root/logs/seata -server 
-Dloader.path=/usr/seata/seata/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 
-Xlog:gc*:file=/root/logs/seata/seata_gc.log:time,tags:filecount=10,filesize=102400
 -Dio.netty.leakDetectionLevel=advanced -Dapp.name=seata-server -Dapp.pid=19059 
-Dapp.home=/usr/seata/seata -Dbasedir=/usr/seata/seata  
-Dspring.config.additional-location=/usr/seata/seata/conf/ 
-Dspring.config.location=/usr/seata/seata/conf/application.yml 
-Dlogging.config=/usr/seata/seata/conf/logback-spring.xml -jar 
/usr/seata/seata/target/seata-server.jar  >> /dev/null 2>&1 &
   seata-server is starting, you can check the /root/logs/seata/ *.log
   
   
   
   - /root/logs/seata/ 目录的日志文件如下:
   
   [root@iZuf638srmcgojynkwge6uZ seata]# pwd
   /root/logs/seata
   [root@iZuf638srmcgojynkwge6uZ seata]# tail -f seata_gc.log
   [2024-08-02T19:54:24.770+0800][gc,init] CardTable entry size: 512
   [2024-08-02T19:54:24.770+0800][gc     ] Using G1
   
   
   
   - start.out日志如下:
   [root@iZuf638srmcgojynkwge6uZ logs]# tail -f start.out 
   /Library/Java/JavaVirtualMachines/jdk1.8.0_181.jdk/Contents/Home/bin/java  
-server -Dloader.path=../lib -Xmx2048m -Xms2048m -Xmn1024m -Xss512k 
-XX:SurvivorRatio=10 -XX:MetaspaceSize=128m -XX:MaxMetaspaceSize=256m 
-XX:MaxDirectMemorySize=1024m -XX:-OmitStackTraceInFastThrow 
-XX:-UseAdaptiveSizePolicy -XX:+HeapDumpOnOutOfMemoryError 
-XX:HeapDumpPath=/Users/min.ji/Git/github/seata/distribution/logs/java_heapdump.hprof
 -XX:+DisableExplicitGC -XX:+CMSParallelRemarkEnabled 
-XX:+UseCMSInitiatingOccupancyOnly -XX:CMSInitiatingOccupancyFraction=75 
-Xloggc:/Users/min.ji/Git/github/seata/distribution/logs/seata_gc.log 
-verbose:gc -XX:+PrintGCDetails  -XX:+PrintGCDateStamps -XX:+PrintGCTimeStamps 
-XX:+UseGCLogFileRotation -XX:NumberOfGCLogFiles=10 -XX:GCLogFileSize=100M 
-Dio.netty.leakDetectionLevel=advanced -Dapp.name=seata-server -Dapp.pid=68288 
-Dapp.home=/Users/min.ji/Git/github/seata/distribution 
-Dbasedir=/Users/min.ji/Git/github/seata/distribution 
-Dspring.config.location=/Users/min.ji
 /Git/github/seata/distribution/conf/application.yml 
-Dlogging.config=/Users/min.ji/Git/github/seata/distribution/conf/logback-spring.xml
 -jar /Users/min.ji/Git/github/seata/distribution/target/seata-server.jar 
   Error: Unable to access jarfile 
/Users/min.ji/Git/github/seata/distribution/target/seata-server.jar
   
   
   ### 其余配置
   application.yml中已配置
    seata.config 是nacos  
    seata.registry 是 nacos
    seata.store是db
   
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to