Skip to content

docker can't run shenyu-admin #5972

@heyuanchou

Description

@heyuanchou

Question

Use default jvm options: -server -Xmx2g -Xms2g -Xmn1g -Xss328k -XX:+DisableExplicitGC -XX:LargePageSizeInBytes=128m
Starting the Apache ShenYu Admin ...
01:58:42,286 |-INFO in ch.qos.logback.classic.LoggerContext[default] - This is logback-classic version 1.5.6
01:58:42,290 |-INFO in ch.qos.logback.classic.util.ContextInitializer@4ac3c60d - Here is a list of configurators discovered as a service, by rank:
01:58:42,290 |-INFO in ch.qos.logback.classic.util.ContextInitializer@4ac3c60d - org.springframework.boot.logging.logback.RootLogLevelConfigurator
01:58:42,290 |-INFO in ch.qos.logback.classic.util.ContextInitializer@4ac3c60d - They will be invoked in order until ExecutionStatus.DO_NOT_INVOKE_NEXT_IF_ANY is returned.
01:58:42,290 |-INFO in ch.qos.logback.classic.util.ContextInitializer@4ac3c60d - Constructed configurator of type class org.springframework.boot.logging.logback.RootLogLevelConfigurator
01:58:42,307 |-INFO in ch.qos.logback.classic.util.ContextInitializer@4ac3c60d - org.springframework.boot.logging.logback.RootLogLevelConfigurator.configure() call lasted 1 milliseconds. ExecutionStatus=INVOKE_NEXT_IF_ANY
01:58:42,307 |-INFO in ch.qos.logback.classic.util.ContextInitializer@4ac3c60d - Trying to configure with ch.qos.logback.classic.joran.SerializedModelConfigurator
01:58:42,309 |-INFO in ch.qos.logback.classic.util.ContextInitializer@4ac3c60d - Constructed configurator of type class ch.qos.logback.classic.joran.SerializedModelConfigurator
01:58:42,313 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback-test.scmo]
01:58:42,314 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback.scmo]
01:58:42,314 |-INFO in ch.qos.logback.classic.util.ContextInitializer@4ac3c60d - ch.qos.logback.classic.joran.SerializedModelConfigurator.configure() call lasted 5 milliseconds. ExecutionStatus=INVOKE_NEXT_IF_ANY
01:58:42,314 |-INFO in ch.qos.logback.classic.util.ContextInitializer@4ac3c60d - Trying to configure with ch.qos.logback.classic.util.DefaultJoranConfigurator
01:58:42,315 |-INFO in ch.qos.logback.classic.util.ContextInitializer@4ac3c60d - Constructed configurator of type class ch.qos.logback.classic.util.DefaultJoranConfigurator
01:58:42,316 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback-test.xml]
01:58:42,321 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Found resource [logback.xml] at [file:/opt/shenyu-admin/conf/logback.xml]
01:58:42,534 |-WARN in ch.qos.logback.core.model.processor.ShutdownHookModelHandler - ch.qos.logback.core.hook.DelayingShutdownHook was renamed as ch.qos.logback.core.hook.DefaultShutdownHook
01:58:42,534 |-WARN in ch.qos.logback.core.model.processor.ShutdownHookModelHandler - Please use the new class name
01:58:42,535 |-INFO in ch.qos.logback.core.model.processor.ShutdownHookModelHandler - About to instantiate shutdown hook of type [ch.qos.logback.core.hook.DefaultShutdownHook]
01:58:42,535 |-INFO in ch.qos.logback.core.model.processor.ShutdownHookModelHandler - Registering shutdown hook with JVM runtime.
01:58:42,536 |-INFO in ch.qos.logback.core.model.processor.StatusListenerModelHandler - Added status listener of type [ch.qos.logback.core.status.OnConsoleStatusListener]
01:58:42,554 |-INFO in ch.qos.logback.core.model.processor.AppenderModelHandler - Processing appender named [FILE]
01:58:42,554 |-INFO in ch.qos.logback.core.model.processor.AppenderModelHandler - About to instantiate appender of type [ch.qos.logback.core.rolling.RollingFileAppender]
01:58:42,570 |-INFO in c.q.l.core.rolling.SizeAndTimeBasedRollingPolicy@1008315045 - setting totalSizeCap to 10 GB
01:58:42,575 |-INFO in c.q.l.core.rolling.SizeAndTimeBasedRollingPolicy@1008315045 - Archive files will be limited to [100 MB] each.
01:58:42,583 |-INFO in c.q.l.core.rolling.SizeAndTimeBasedRollingPolicy@1008315045 - Will use zip compression
01:58:42,584 |-INFO in c.q.l.core.rolling.SizeAndTimeBasedRollingPolicy@1008315045 - Will use the pattern ./logs/shenyu-admin.%d{yyyy-MM-dd}.%i.log for the active file
01:58:42,610 |-INFO in ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP@6a78afa0 - The date pattern is 'yyyy-MM-dd' from file name pattern './logs/shenyu-admin.%d{yyyy-MM-dd}.%i.log.zip'.
01:58:42,610 |-INFO in ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP@6a78afa0 - Roll-over at midnight.
01:58:42,617 |-INFO in ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP@6a78afa0 - Setting initial period to 2025-03-25T01:58:42.616Z
01:58:42,618 |-INFO in ch.qos.logback.core.model.processor.ImplicitModelHandler - Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder] property
01:58:42,636 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[FILE] - Active log file name: ./logs/shenyu-admin.log
01:58:42,636 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[FILE] - File property is set to [./logs/shenyu-admin.log]
01:58:42,637 |-INFO in ch.qos.logback.core.model.processor.AppenderModelHandler - Processing appender named [ASYNC_FILE]
01:58:42,637 |-INFO in ch.qos.logback.core.model.processor.AppenderModelHandler - About to instantiate appender of type [ch.qos.logback.classic.AsyncAppender]
01:58:42,640 |-INFO in ch.qos.logback.core.model.processor.AppenderRefModelHandler - Attaching appender named [FILE] to ch.qos.logback.classic.AsyncAppender[ASYNC_FILE]
01:58:42,641 |-INFO in ch.qos.logback.classic.AsyncAppender[ASYNC_FILE] - Attaching appender named [FILE] to AsyncAppender.
01:58:42,641 |-INFO in ch.qos.logback.classic.AsyncAppender[ASYNC_FILE] - Setting discardingThreshold to 0
01:58:42,645 |-INFO in ch.qos.logback.core.model.processor.AppenderModelHandler - Processing appender named [ERROR_FILE]
01:58:42,645 |-INFO in ch.qos.logback.core.model.processor.AppenderModelHandler - About to instantiate appender of type [ch.qos.logback.core.rolling.RollingFileAppender]
01:58:42,648 |-INFO in c.q.l.core.rolling.SizeAndTimeBasedRollingPolicy@1648001170 - setting totalSizeCap to 10 GB
01:58:42,648 |-INFO in c.q.l.core.rolling.SizeAndTimeBasedRollingPolicy@1648001170 - Archive files will be limited to [100 MB] each.
01:58:42,649 |-INFO in c.q.l.core.rolling.SizeAndTimeBasedRollingPolicy@1648001170 - Will use zip compression
01:58:42,649 |-INFO in c.q.l.core.rolling.SizeAndTimeBasedRollingPolicy@1648001170 - Will use the pattern ./logs/shenyu-admin.%d{yyyy-MM-dd}-error.%i.log for the active file
01:58:42,649 |-INFO in ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP@a1cdc6d - The date pattern is 'yyyy-MM-dd' from file name pattern './logs/shenyu-admin.%d{yyyy-MM-dd}-error.%i.log.zip'.
01:58:42,649 |-INFO in ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP@a1cdc6d - Roll-over at midnight.
01:58:42,650 |-INFO in ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP@a1cdc6d - Setting initial period to 2025-03-25T01:58:42.650Z
01:58:42,652 |-INFO in ch.qos.logback.core.model.processor.ImplicitModelHandler - Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder] property
01:58:42,653 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[ERROR_FILE] - Active log file name: ./logs/shenyu-admin-error.log
01:58:42,653 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[ERROR_FILE] - File property is set to [./logs/shenyu-admin-error.log]
01:58:42,653 |-INFO in ch.qos.logback.core.model.processor.AppenderModelHandler - Processing appender named [ASYNC_ERROR_FILE]
01:58:42,653 |-INFO in ch.qos.logback.core.model.processor.AppenderModelHandler - About to instantiate appender of type [ch.qos.logback.classic.AsyncAppender]
01:58:42,653 |-INFO in ch.qos.logback.core.model.processor.AppenderRefModelHandler - Attaching appender named [ERROR_FILE] to ch.qos.logback.classic.AsyncAppender[ASYNC_ERROR_FILE]
01:58:42,653 |-INFO in ch.qos.logback.classic.AsyncAppender[ASYNC_ERROR_FILE] - Attaching appender named [ERROR_FILE] to AsyncAppender.
01:58:42,653 |-INFO in ch.qos.logback.classic.AsyncAppender[ASYNC_ERROR_FILE] - Setting discardingThreshold to 0
01:58:42,656 |-INFO in ch.qos.logback.classic.model.processor.RootLoggerModelHandler - Setting level of ROOT logger to INFO
01:58:42,656 |-INFO in ch.qos.logback.core.model.processor.AppenderRefModelHandler - Attaching appender named [ASYNC_FILE] to Logger[ROOT]
01:58:42,656 |-INFO in ch.qos.logback.core.model.processor.AppenderRefModelHandler - Attaching appender named [ASYNC_ERROR_FILE] to Logger[ROOT]
01:58:42,656 |-INFO in ch.qos.logback.core.model.processor.DefaultProcessor@21b2e768 - End of configuration.
01:58:42,657 |-INFO in ch.qos.logback.classic.joran.JoranConfigurator@17a7f733 - Registering current configuration as safe fallback point
01:58:42,658 |-INFO in ch.qos.logback.classic.util.ContextInitializer@4ac3c60d - ch.qos.logback.classic.util.DefaultJoranConfigurator.configure() call lasted 343 milliseconds. ExecutionStatus=DO_NOT_INVOKE_NEXT_IF_ANY
01:58:43,117 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Removing shutdownHook Thread[Logback shutdown hook [default],5,main]
01:58:43,117 |-INFO in ch.qos.logback.classic.LoggerContext[default] - ShutdownHook removal result: true
01:58:43,118 |-INFO in ch.qos.logback.classic.AsyncAppender[ASYNC_FILE] - Worker thread will flush remaining events before exiting.
01:58:43,118 |-INFO in ch.qos.logback.classic.AsyncAppender[ASYNC_FILE] - Queue flush finished successfully within timeout.
01:58:43,119 |-INFO in ch.qos.logback.classic.AsyncAppender[ASYNC_ERROR_FILE] - Worker thread will flush remaining events before exiting.
01:58:43,119 |-INFO in ch.qos.logback.classic.AsyncAppender[ASYNC_ERROR_FILE] - Queue flush finished successfully within timeout.
01:58:43,136 |-WARN in ch.qos.logback.core.model.processor.ShutdownHookModelHandler - ch.qos.logback.core.hook.DelayingShutdownHook was renamed as ch.qos.logback.core.hook.DefaultShutdownHook
01:58:43,136 |-WARN in ch.qos.logback.core.model.processor.ShutdownHookModelHandler - Please use the new class name
01:58:43,136 |-INFO in ch.qos.logback.core.model.processor.ShutdownHookModelHandler - About to instantiate shutdown hook of type [ch.qos.logback.core.hook.DefaultShutdownHook]
01:58:43,136 |-INFO in ch.qos.logback.core.model.processor.ShutdownHookModelHandler - Registering shutdown hook with JVM runtime.
01:58:43,136 |-INFO in ch.qos.logback.core.model.processor.StatusListenerModelHandler - Added status listener of type [ch.qos.logback.core.status.OnConsoleStatusListener]
01:58:43,137 |-INFO in ch.qos.logback.core.model.processor.AppenderModelHandler - Processing appender named [FILE]
01:58:43,137 |-INFO in ch.qos.logback.core.model.processor.AppenderModelHandler - About to instantiate appender of type [ch.qos.logback.core.rolling.RollingFileAppender]
01:58:43,138 |-INFO in c.q.l.core.rolling.SizeAndTimeBasedRollingPolicy@375097969 - setting totalSizeCap to 10 GB
01:58:43,138 |-INFO in c.q.l.core.rolling.SizeAndTimeBasedRollingPolicy@375097969 - Archive files will be limited to [100 MB] each.
01:58:43,138 |-INFO in c.q.l.core.rolling.SizeAndTimeBasedRollingPolicy@375097969 - Will use zip compression
01:58:43,138 |-INFO in c.q.l.core.rolling.SizeAndTimeBasedRollingPolicy@375097969 - Will use the pattern ./logs/shenyu-admin.%d{yyyy-MM-dd}.%i.log for the active file
01:58:43,139 |-INFO in ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP@6175619b - The date pattern is 'yyyy-MM-dd' from file name pattern './logs/shenyu-admin.%d{yyyy-MM-dd}.%i.log.zip'.
01:58:43,139 |-INFO in ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP@6175619b - Roll-over at midnight.
01:58:43,139 |-INFO in ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP@6175619b - Setting initial period to 2025-03-25T01:58:42.636Z
01:58:43,140 |-INFO in ch.qos.logback.core.model.processor.ImplicitModelHandler - Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder] property
01:58:43,141 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[FILE] - Active log file name: ./logs/shenyu-admin.log
01:58:43,141 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[FILE] - File property is set to [./logs/shenyu-admin.log]
01:58:43,141 |-INFO in ch.qos.logback.core.model.processor.AppenderModelHandler - Processing appender named [ASYNC_FILE]
01:58:43,141 |-INFO in ch.qos.logback.core.model.processor.AppenderModelHandler - About to instantiate appender of type [ch.qos.logback.classic.AsyncAppender]
01:58:43,141 |-INFO in ch.qos.logback.core.model.processor.AppenderRefModelHandler - Attaching appender named [FILE] to ch.qos.logback.classic.AsyncAppender[ASYNC_FILE]
01:58:43,141 |-INFO in ch.qos.logback.classic.AsyncAppender[ASYNC_FILE] - Attaching appender named [FILE] to AsyncAppender.
01:58:43,141 |-INFO in ch.qos.logback.classic.AsyncAppender[ASYNC_FILE] - Setting discardingThreshold to 0
01:58:43,142 |-INFO in ch.qos.logback.core.model.processor.AppenderModelHandler - Processing appender named [ERROR_FILE]
01:58:43,142 |-INFO in ch.qos.logback.core.model.processor.AppenderModelHandler - About to instantiate appender of type [ch.qos.logback.core.rolling.RollingFileAppender]
01:58:43,143 |-INFO in c.q.l.core.rolling.SizeAndTimeBasedRollingPolicy@788892554 - setting totalSizeCap to 10 GB
01:58:43,143 |-INFO in c.q.l.core.rolling.SizeAndTimeBasedRollingPolicy@788892554 - Archive files will be limited to [100 MB] each.
01:58:43,143 |-INFO in c.q.l.core.rolling.SizeAndTimeBasedRollingPolicy@788892554 - Will use zip compression
01:58:43,143 |-INFO in c.q.l.core.rolling.SizeAndTimeBasedRollingPolicy@788892554 - Will use the pattern ./logs/shenyu-admin.%d{yyyy-MM-dd}-error.%i.log for the active file
01:58:43,144 |-INFO in ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP@756cf158 - The date pattern is 'yyyy-MM-dd' from file name pattern './logs/shenyu-admin.%d{yyyy-MM-dd}-error.%i.log.zip'.
01:58:43,144 |-INFO in ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP@756cf158 - Roll-over at midnight.
01:58:43,144 |-INFO in ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP@756cf158 - Setting initial period to 2025-03-25T01:58:42.652Z
01:58:43,145 |-INFO in ch.qos.logback.core.model.processor.ImplicitModelHandler - Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder] property
01:58:43,146 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[ERROR_FILE] - Active log file name: ./logs/shenyu-admin-error.log
01:58:43,146 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[ERROR_FILE] - File property is set to [./logs/shenyu-admin-error.log]
01:58:43,146 |-INFO in ch.qos.logback.core.model.processor.AppenderModelHandler - Processing appender named [ASYNC_ERROR_FILE]
01:58:43,146 |-INFO in ch.qos.logback.core.model.processor.AppenderModelHandler - About to instantiate appender of type [ch.qos.logback.classic.AsyncAppender]
01:58:43,146 |-INFO in ch.qos.logback.core.model.processor.AppenderRefModelHandler - Attaching appender named [ERROR_FILE] to ch.qos.logback.classic.AsyncAppender[ASYNC_ERROR_FILE]
01:58:43,146 |-INFO in ch.qos.logback.classic.AsyncAppender[ASYNC_ERROR_FILE] - Attaching appender named [ERROR_FILE] to AsyncAppender.
01:58:43,146 |-INFO in ch.qos.logback.classic.AsyncAppender[ASYNC_ERROR_FILE] - Setting discardingThreshold to 0
01:58:43,146 |-INFO in ch.qos.logback.classic.model.processor.RootLoggerModelHandler - Setting level of ROOT logger to INFO
01:58:43,147 |-INFO in ch.qos.logback.classic.jul.LevelChangePropagator@3f2ef586 - Propagating INFO level on Logger[ROOT] onto the JUL framework
01:58:43,148 |-INFO in ch.qos.logback.core.model.processor.AppenderRefModelHandler - Attaching appender named [ASYNC_FILE] to Logger[ROOT]
01:58:43,148 |-INFO in ch.qos.logback.core.model.processor.AppenderRefModelHandler - Attaching appender named [ASYNC_ERROR_FILE] to Logger[ROOT]
01:58:43,148 |-INFO in ch.qos.logback.core.model.processor.DefaultProcessor@30ea8c23 - End of configuration.
01:58:43,148 |-INFO in org.springframework.boot.logging.logback.SpringBootJoranConfigurator@7b139eab - Registering current configuration as safe fallback point
01:58:43,159 |-INFO in ch.qos.logback.classic.jul.LevelChangePropagator@3f2ef586 - Propagating INFO level on Logger[org.springframework.boot] onto the JUL framework
01:58:43,160 |-INFO in ch.qos.logback.classic.jul.LevelChangePropagator@3f2ef586 - Propagating INFO level on Logger[org.apache.ibatis] onto the JUL framework
01:58:43,160 |-INFO in ch.qos.logback.classic.jul.LevelChangePropagator@3f2ef586 - Propagating INFO level on Logger[org.apache.shenyu.bonuspoint] onto the JUL framework
01:58:43,160 |-INFO in ch.qos.logback.classic.jul.LevelChangePropagator@3f2ef586 - Propagating INFO level on Logger[org.apache.shenyu.lottery] onto the JUL framework
01:58:43,160 |-INFO in ch.qos.logback.classic.jul.LevelChangePropagator@3f2ef586 - Propagating INFO level on Logger[org.apache.shenyu] onto the JUL framework

______ __ ____ ____ Profile: mysql
.' ____ \ | | |_ || | Name: ShenYu Admin
| (
__ _| | |--. .---. _ .--. \ \ [ ] _ _ Port: 9095
.. | .-. |/ /__\\[ .-. | \ / / [ | | | Pid: 1
| _
) | | | | || _., | | | | | | | _/ |, SpringBoot Version: 3.3.1
_.'[]|]'..'[
||]|_|'..'/ ShenYu Version: 2.7.0

01:58:48,000 |-INFO in ch.qos.logback.core.hook.DefaultShutdownHook@44fd83ae - Logback context being closed via shutdown hook
01:58:48,000 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Removing shutdownHook Thread[Logback shutdown hook [default],5,main]
01:58:48,001 |-INFO in ch.qos.logback.classic.AsyncAppender[ASYNC_FILE] - Worker thread will flush remaining events before exiting.
01:58:48,001 |-INFO in ch.qos.logback.classic.AsyncAppender[ASYNC_FILE] - Queue flush finished successfully within timeout.
01:58:48,001 |-INFO in ch.qos.logback.classic.AsyncAppender[ASYNC_ERROR_FILE] - Worker thread will flush remaining events before exiting.
01:58:48,001 |-INFO in ch.qos.logback.classic.AsyncAppender[ASYNC_ERROR_FILE] - Queue flush finished successfully within timeout.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: questionFurther information is requested

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions