70 Star 565 Fork 179

sanri1993 / sanri-tools

 / 详情

docker部署,账密登录后没反应

已完成
创建于  
2023-06-02 10:18

输入图片说明

compose:

version: '3'
services:
  sanritools:
    ports:
      - 18084:8084
      - 10086:10086
    container_name: sanritools
    image: leeliang0924/sanritools:release

日志:

Removing network sanritools_default
[root@localhost sanritools]# docker-compose up
Creating network "sanritools_default" with the default driver
Creating sanritools ... done
Attaching to sanritools
sanritools    | 2023-06-02 02:13:26.192  INFO 1 --- [           main] com.sanri.tools.Application              [init] : Starting Application v1.0-SNAPSHOT on 1169d98864c6 with PID 1 (/root/sanritools/sanritools.jar started by root in /root/sanritools)
sanritools    | 2023-06-02 02:13:26.194  INFO 1 --- [           main] com.sanri.tools.Application              [init] : The following profiles are active: company,tomcat,repository,deploy
sanritools    | 2023-06-02 02:13:28.375  INFO 1 --- [           main] trationDelegate$BeanPostProcessorChecker [init] : Bean 'springAsyncConfig' of type [com.sanri.tools.configs.SpringAsyncConfig$$EnhancerBySpringCGLIB$$4a01cb8e] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
sanritools    | 2023-06-02 02:13:28.566  INFO 1 --- [           main] trationDelegate$BeanPostProcessorChecker [init] : Bean 'com.thebeastshop.forest.springboot.ForestAutoConfiguration' of type [com.thebeastshop.forest.springboot.ForestAutoConfiguration$$EnhancerBySpringCGLIB$$c5c69860] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
sanritools    | 2023-06-02 02:13:28.781  INFO 1 --- [           main] trationDelegate$BeanPostProcessorChecker [init] : Bean 'forestConfigurationProperties' of type [com.thebeastshop.forest.springboot.properties.ForestConfigurationProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
sanritools    | 2023-06-02 02:13:28.838  INFO 1 --- [           main] trationDelegate$BeanPostProcessorChecker [init] : Bean '(inner bean)#2da16263' of type [com.dtflys.forest.interceptor.SpringInterceptorFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
sanritools    | 2023-06-02 02:13:28.843  INFO 1 --- [           main] trationDelegate$BeanPostProcessorChecker [init] : Bean 'forestConfiguration' of type [com.dtflys.forest.config.ForestConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
sanritools    | 2023-06-02 02:13:28.878  INFO 1 --- [           main] c.d.f.scanner.ClassPathClientScanner     [init] : [Forest] Created Forest Client Bean with name 'clusterApis' and Proxy of 'com.sanri.tools.modules.elasticsearch.remote.apis.ClusterApis' client interface
sanritools    | 2023-06-02 02:13:28.878  INFO 1 --- [           main] c.d.f.scanner.ClassPathClientScanner     [init] : [Forest] Created Forest Client Bean with name 'translateApi' and Proxy of 'com.sanri.tools.modules.name.remote.apis.TranslateApi' client interface
sanritools    | 2023-06-02 02:13:29.411  INFO 1 --- [           main] o.s.b.w.embedded.tomcat.TomcatWebServer  [init] : Tomcat initialized with port(s): 8084 (http)
sanritools    | 2023-06-02 02:13:29.491  INFO 1 --- [           main] o.apache.catalina.core.StandardService   [init] : Starting service [Tomcat]
sanritools    | 2023-06-02 02:13:29.491  INFO 1 --- [           main] org.apache.catalina.core.StandardEngine  [init] : Starting Servlet engine: [Apache Tomcat/9.0.27]
sanritools    | 2023-06-02 02:13:29.716  INFO 1 --- [           main] o.a.c.c.C.[Tomcat].[localhost].[/]       [init] : Initializing Spring embedded WebApplicationContext
sanritools    | 2023-06-02 02:13:29.717  INFO 1 --- [           main] o.s.web.context.ContextLoader            [init] : Root WebApplicationContext: initialization completed in 3432 ms
sanritools    | 2023-06-02 02:13:30.556  INFO 1 --- [           main] c.s.t.m.core.service.file.FileManager    [init] : 配置文件目录:/tmp/sanritools/configs
sanritools    | 2023-06-02 02:13:30.558  INFO 1 --- [           main] c.s.t.m.core.service.file.FileManager    [init] : 临时文件目录:/tmp/sanritools/temp
sanritools    | 2023-06-02 02:13:30.559  INFO 1 --- [           main] c.s.t.m.core.service.file.FileManager    [init] : 数据文件目录:/tmp/sanritools/data
sanritools    | 2023-06-02 02:13:30.766  INFO 1 --- [           main] com.sanri.tools.service.VersionService   [init] : 当前工具版本:3.2.0
sanritools    | 2023-06-02 02:13:30.782  INFO 1 --- [           main] com.sanri.tools.service.SystemService    [init] : 默认密钥对 id_rsa id_rsa.pub 不存在, 将生成密钥对
sanritools    | 
sanritools    | 2023-06-02 02:13:34.273  INFO 1 --- [           main] o.s.s.concurrent.ThreadPoolTaskExecutor  [init] : Initializing ExecutorService 'asyncExecutor'
sanritools    | 2023-06-02 02:13:34.753  INFO 1 --- [           main] c.s.t.m.security.service.InitAdmin       [init] : 初始化用户 admin, 密码 0, 角色 admin, 分组 /
sanritools    | 2023-06-02 02:13:34.935  INFO 1 --- [           main] o.s.s.concurrent.ThreadPoolTaskExecutor  [init] : Initializing ExecutorService 'clientInboundChannelExecutor'
sanritools    | 2023-06-02 02:13:34.944  INFO 1 --- [           main] o.s.s.concurrent.ThreadPoolTaskExecutor  [init] : Initializing ExecutorService 'clientOutboundChannelExecutor'
sanritools    | 2023-06-02 02:13:34.970  INFO 1 --- [           main] o.s.s.c.ThreadPoolTaskScheduler          [init] : Initializing ExecutorService 'messageBrokerTaskScheduler'
sanritools    | 2023-06-02 02:13:35.068  INFO 1 --- [MessageBroker-1] o.s.w.s.c.WebSocketMessageBrokerStats    [] : WebSocketSession[0 current WS(0)-HttpStream(0)-HttpPoll(0), 0 total, 0 closed abnormally (0 connect failure, 0 send limit, 0 transport error)], stompSubProtocol[processed CONNECT(0)-CONNECTED(0)-DISCONNECT(0)], stompBrokerRelay[null], inboundChannel[pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 0], outboundChannel[pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 0], sockJsScheduler[pool size = 2, active threads = 2, queued tasks = 0, completed tasks = 0]
sanritools    | 2023-06-02 02:13:35.317  INFO 1 --- [       Thread-3] c.s.t.m.r.service.RocketMqService        [] : 初始化耗时方法
sanritools    | 2023-06-02 02:13:35.374  INFO 1 --- [           main] o.s.s.c.ThreadPoolTaskScheduler          [init] : Initializing ExecutorService 'taskScheduler'
sanritools    | 2023-06-02 02:13:35.392  INFO 1 --- [       Thread-3] c.s.t.m.r.service.RocketMqService        [] : 初始化耗时方法结束, 耗时:74 ms
sanritools    | 2023-06-02 02:13:35.712  INFO 1 --- [           main] o.s.s.web.DefaultSecurityFilterChain     [init] : Creating filter chain: Ant [pattern='/'], []
sanritools    | 2023-06-02 02:13:35.713  INFO 1 --- [           main] o.s.s.web.DefaultSecurityFilterChain     [init] : Creating filter chain: Ant [pattern='index.html'], []
sanritools    | 2023-06-02 02:13:35.713  INFO 1 --- [           main] o.s.s.web.DefaultSecurityFilterChain     [init] : Creating filter chain: Ant [pattern='/**/*.css'], []
sanritools    | 2023-06-02 02:13:35.713  INFO 1 --- [           main] o.s.s.web.DefaultSecurityFilterChain     [init] : Creating filter chain: Ant [pattern='/**/*.js'], []
sanritools    | 2023-06-02 02:13:35.713  INFO 1 --- [           main] o.s.s.web.DefaultSecurityFilterChain     [init] : Creating filter chain: Ant [pattern='/**/*.png'], []
sanritools    | 2023-06-02 02:13:35.713  INFO 1 --- [           main] o.s.s.web.DefaultSecurityFilterChain     [init] : Creating filter chain: Ant [pattern='/**/*.jpg'], []
sanritools    | 2023-06-02 02:13:35.713  INFO 1 --- [           main] o.s.s.web.DefaultSecurityFilterChain     [init] : Creating filter chain: Ant [pattern='/**/*.gif'], []
sanritools    | 2023-06-02 02:13:35.713  INFO 1 --- [           main] o.s.s.web.DefaultSecurityFilterChain     [init] : Creating filter chain: Ant [pattern='/**/*.ico'], []
sanritools    | 2023-06-02 02:13:35.713  INFO 1 --- [           main] o.s.s.web.DefaultSecurityFilterChain     [init] : Creating filter chain: Ant [pattern='/**/img/*'], []
sanritools    | 2023-06-02 02:13:35.713  INFO 1 --- [           main] o.s.s.web.DefaultSecurityFilterChain     [init] : Creating filter chain: Ant [pattern='/**/images/*'], []
sanritools    | 2023-06-02 02:13:35.713  INFO 1 --- [           main] o.s.s.web.DefaultSecurityFilterChain     [init] : Creating filter chain: Ant [pattern='/**/images/**/*'], []
sanritools    | 2023-06-02 02:13:35.713  INFO 1 --- [           main] o.s.s.web.DefaultSecurityFilterChain     [init] : Creating filter chain: Ant [pattern='/**/fonts/*'], []
sanritools    | 2023-06-02 02:13:35.713  INFO 1 --- [           main] o.s.s.web.DefaultSecurityFilterChain     [init] : Creating filter chain: Ant [pattern='/static/**'], []
sanritools    | 2023-06-02 02:13:35.714  INFO 1 --- [           main] o.s.s.web.DefaultSecurityFilterChain     [init] : Creating filter chain: Ant [pattern='/public/**'], []
sanritools    | 2023-06-02 02:13:35.758  INFO 1 --- [           main] o.s.s.web.DefaultSecurityFilterChain     [init] : Creating filter chain: any request, [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@743bb39a, org.springframework.security.web.context.SecurityContextPersistenceFilter@59ec7020, org.springframework.security.web.header.HeaderWriterFilter@56da96b3, org.springframework.web.filter.CorsFilter@2de3b052, com.sanri.tools.modules.security.configs.OptionsRequestFilter@3f3c8b60, org.springframework.security.web.authentication.logout.LogoutFilter@5be51aa, com.sanri.tools.modules.security.configs.jsonlogin.JsonLoginAuthenticationFilter@31228d83, com.sanri.tools.modules.security.configs.jwt.JwtAuthenticationFilter@2120bed, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@2ba9f986, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@634aa81e, com.sanri.tools.modules.security.configs.whitespace.WhiteSpaceFilter@445bce9a, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@16bbaab3, org.springframework.security.web.session.SessionManagementFilter@426710f0, org.springframework.security.web.access.ExceptionTranslationFilter@4d0e1a9a, org.springframework.security.web.access.intercept.FilterSecurityInterceptor@6121a7dd]
sanritools    | 2023-06-02 02:13:35.790  INFO 1 --- [           main] o.s.s.concurrent.ThreadPoolTaskExecutor  [init] : Initializing ExecutorService 'brokerChannelExecutor'
sanritools    | 2023-06-02 02:13:36.062  INFO 1 --- [           main] o.s.b.a.w.s.WelcomePageHandlerMapping    [init] : Adding welcome page: ServletContext resource [/index.html]
sanritools    | 2023-06-02 02:13:36.083  INFO 1 --- [           main] c.sanri.tools.configs.MvcConfiguration   [init] : 加载前端路径列表: 
sanritools    |  file:/root/sanritools/D:%5Ccurrentproject%5Csanritoolsvue%5Cdist
sanritools    | file:/root/sanritools/public/
sanritools    | file:/root/public 
sanritools    | 
sanritools    | 2023-06-02 02:13:36.294  INFO 1 --- [           main] org.quartz.impl.StdSchedulerFactory      [init] : Using default implementation for ThreadExecutor
sanritools    | 2023-06-02 02:13:36.352  INFO 1 --- [           main] org.quartz.core.SchedulerSignalerImpl    [init] : Initialized Scheduler Signaller of type: class org.quartz.core.SchedulerSignalerImpl
sanritools    | 2023-06-02 02:13:36.352  INFO 1 --- [           main] org.quartz.core.QuartzScheduler          [init] : Quartz Scheduler v.2.3.0 created.
sanritools    | 2023-06-02 02:13:36.353  INFO 1 --- [           main] org.quartz.simpl.RAMJobStore             [init] : RAMJobStore initialized.
sanritools    | 2023-06-02 02:13:36.355  INFO 1 --- [           main] org.quartz.core.QuartzScheduler          [init] : Scheduler meta-data: Quartz Scheduler (v2.3.0) 'quartzScheduler' with instanceId 'NON_CLUSTERED'
sanritools    |   Scheduler class: 'org.quartz.core.QuartzScheduler' - running locally.
sanritools    |   NOT STARTED.
sanritools    |   Currently in standby mode.
sanritools    |   Number of jobs executed: 0
sanritools    |   Using thread pool 'org.quartz.simpl.SimpleThreadPool' - with 10 threads.
sanritools    |   Using job-store 'org.quartz.simpl.RAMJobStore' - which does not support persistence. and is not clustered.
sanritools    | 
sanritools    | 2023-06-02 02:13:36.355  INFO 1 --- [           main] org.quartz.impl.StdSchedulerFactory      [init] : Quartz scheduler 'quartzScheduler' initialized from an externally provided properties instance.
sanritools    | 2023-06-02 02:13:36.355  INFO 1 --- [           main] org.quartz.impl.StdSchedulerFactory      [init] : Quartz scheduler version: 2.3.0
sanritools    | 2023-06-02 02:13:36.355  INFO 1 --- [           main] org.quartz.core.QuartzScheduler          [init] : JobFactory set to: org.springframework.scheduling.quartz.SpringBeanJobFactory@2c0798bd
sanritools    | 2023-06-02 02:13:36.418  INFO 1 --- [           main] o.s.m.s.b.SimpleBrokerMessageHandler     [init] : Starting...
sanritools    | 2023-06-02 02:13:36.419  INFO 1 --- [           main] o.s.m.s.b.SimpleBrokerMessageHandler     [init] : BrokerAvailabilityEvent[available=true, SimpleBrokerMessageHandler [DefaultSubscriptionRegistry[cache[0 destination(s)], registry[0 sessions]]]]
sanritools    | 2023-06-02 02:13:36.420  INFO 1 --- [           main] o.s.m.s.b.SimpleBrokerMessageHandler     [init] : Started.
sanritools    | 2023-06-02 02:13:36.420  INFO 1 --- [           main] o.s.s.quartz.SchedulerFactoryBean        [init] : Starting Quartz Scheduler now
sanritools    | 2023-06-02 02:13:36.420  INFO 1 --- [           main] org.quartz.core.QuartzScheduler          [init] : Scheduler quartzScheduler_$_NON_CLUSTERED started.
sanritools    | 2023-06-02 02:13:36.505  INFO 1 --- [           main] o.s.b.w.embedded.tomcat.TomcatWebServer  [init] : Tomcat started on port(s): 8084 (http) with context path ''
sanritools    | 2023-06-02 02:13:36.509  INFO 1 --- [           main] com.sanri.tools.Application              [init] : Started Application in 11.64 seconds (JVM running for 15.113)
sanritools    | 2023-06-02 02:14:10.320  INFO 1 --- [nio-8084-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/]       [] : Initializing Spring DispatcherServlet 'dispatcherServlet'
sanritools    | 2023-06-02 02:14:10.321  INFO 1 --- [nio-8084-exec-1] o.s.web.servlet.DispatcherServlet        [] : Initializing Servlet 'dispatcherServlet'
sanritools    | 2023-06-02 02:14:10.342  INFO 1 --- [nio-8084-exec-1] o.s.web.servlet.DispatcherServlet        [] : Completed initialization in 21 ms
sanritools    | 2023-06-02 02:14:24.870 ERROR 1 --- [io-8084-exec-10] s.t.m.s.c.CustomAuthenticationEntryPoint [] : CustomAuthenticationEntryPoint:/needSecurity
sanritools    | 2023-06-02 02:14:24.871  WARN 1 --- [io-8084-exec-10] c.s.t.m.s.c.jsonlogin.ResponseHandler    [] : 异常信息:InsufficientAuthenticationException
sanritools    | 2023-06-02 02:14:25.775 ERROR 1 --- [nio-8084-exec-3] s.t.m.s.c.CustomAuthenticationEntryPoint [] : CustomAuthenticationEntryPoint:/error
sanritools    | 2023-06-02 02:14:25.776  WARN 1 --- [nio-8084-exec-3] c.s.t.m.s.c.jsonlogin.ResponseHandler    [] : 异常信息:InsufficientAuthenticationException

评论 (3)

猎隼丶止戈 创建了任务

看下前端控制台有报错没

刚看了,Console没有报错。
额。。。我开无痕试了下,能跳转。。 :joy:

可以关了,估计哪个插件影响了。
百度那些都正常访问,没想到。。

猎隼丶止戈 任务状态待办的 修改为已完成

登录 后才可以发表评论

状态
负责人
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
参与者(2)
409739 sanri 1578923009 376849 nn200433 1578921982
Java
1
https://gitee.com/sanri/sanri-tools.git
git@gitee.com:sanri/sanri-tools.git
sanri
sanri-tools
sanri-tools

搜索帮助