Closed rickqi closed 3 years ago
启动日志显示正常,程序已经正常启动。检查一下docker端口映射或者防火墙等配置是否正确。
问题以确认,dockerfile 缺少 copy static目录部分命令,增加copy部分 COPY ./static/ /datart/static/ COPY ./static/custom-chart-plugins/ /datart/static/custom-chart-plugins/ COPY ./static/static/css/ /datart/static/static/css/ COPY ./static/static/js/ /datart/static/static/js/ COPY ./static/static/media/* /datart/static/static/media/
Describe the bug datart服务启动后,无报错,但浏览器访问无响应。同样配置,1.0的初始版本运行正常 `[root@CNBJ-JGVBB218 datart-server-1.0.0-alpha.1-install]# docker logs 63cf 2021-10-26 15:21:35.393 INFO org.hibernate.validator.internal.util.Version : HV000001: Hibernate Validator 6.1.7.Final 2021-10-26 15:21:35.413 INFO datart.DatartServerApplication : Starting DatartServerApplication v1.0.0-alpha.1 using Java 1.8.0_111 on 63cfc244095a with PID 8 (/datart/lib/datart-server-1.0.0-alpha.1.jar started by root in /datart) 2021-10-26 15:21:35.414 INFO datart.DatartServerApplication : The following profiles are active: config 2021-10-26 15:21:36.317 INFO o.s.d.r.config.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode! 2021-10-26 15:21:36.321 INFO o.s.d.r.config.RepositoryConfigurationDelegate : Bootstrapping Spring Data Redis repositories in DEFAULT mode. 2021-10-26 15:21:36.375 INFO o.s.d.r.config.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 39 ms. Found 0 Redis repository interfaces. 2021-10-26 15:21:36.614 INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker : Bean 'org.apache.shiro.spring.boot.autoconfigure.ShiroBeanAutoConfiguration' of type [org.apache.shiro.spring.boot.autoconfigure.ShiroBeanAutoConfiguration$$EnhancerBySpringCGLIB$$a503a7bc] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2021-10-26 15:21:36.667 INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker : Bean 'org.apache.shiro.spring.boot.autoconfigure.ShiroAnnotationProcessorAutoConfiguration' of type [org.apache.shiro.spring.boot.autoconfigure.ShiroAnnotationProcessorAutoConfiguration$$EnhancerBySpringCGLIB$$a796e661] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2021-10-26 15:21:37.008 INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker : Bean 'eventBus' of type [org.apache.shiro.event.support.DefaultEventBus] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2021-10-26 15:21:37.034 INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker : Bean 'org.apache.shiro.spring.boot.autoconfigure.ShiroAutoConfiguration' of type [org.apache.shiro.spring.boot.autoconfigure.ShiroAutoConfiguration$$EnhancerBySpringCGLIB$$6b03498c] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2021-10-26 15:21:37.040 INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker : Bean 'securityConfiguration' of type [datart.security.manager.shiro.SecurityConfiguration$$EnhancerBySpringCGLIB$$ca141cfd] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2021-10-26 15:21:37.101 INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker : Bean 'mybatis-org.mybatis.spring.boot.autoconfigure.MybatisProperties' of type [org.mybatis.spring.boot.autoconfigure.MybatisProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2021-10-26 15:21:37.108 INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker : Bean 'org.mybatis.spring.boot.autoconfigure.MybatisAutoConfiguration' of type [org.mybatis.spring.boot.autoconfigure.MybatisAutoConfiguration$$EnhancerBySpringCGLIB$$c4bf1b3c] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2021-10-26 15:21:37.113 INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker : Bean 'com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure' of type [com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure$$EnhancerBySpringCGLIB$$ab96bf7e] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2021-10-26 15:21:37.115 INFO c.a.d.s.b.a.DruidDataSourceAutoConfigure : Init DruidDataSource 2021-10-26 15:21:37.179 INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker : Bean 'spring.datasource-org.springframework.boot.autoconfigure.jdbc.DataSourceProperties' of type [org.springframework.boot.autoconfigure.jdbc.DataSourceProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2021-10-26 15:21:37.223 INFO ru.yandex.clickhouse.ClickHouseDriver : Driver registered 2021-10-26 15:21:37.343 INFO com.alibaba.druid.pool.DruidDataSource : {dataSource-1} inited 2021-10-26 15:21:37.343 INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker : Bean 'dataSource' of type [com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceWrapper] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2021-10-26 15:21:37.376 INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.boot.autoconfigure.jdbc.DataSourceInitializerInvoker' of type [org.springframework.boot.autoconfigure.jdbc.DataSourceInitializerInvoker] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2021-10-26 15:21:37.414 INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker : Bean 'sqlSessionFactory' of type [org.apache.ibatis.session.defaults.DefaultSqlSessionFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2021-10-26 15:21:37.424 INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker : Bean 'sqlSessionTemplate' of type [org.mybatis.spring.SqlSessionTemplate] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2021-10-26 15:21:37.476 INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker : Bean 'userMapperExt' of type [org.mybatis.spring.mapper.MapperFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2021-10-26 15:21:37.481 INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker : Bean 'userMapperExt' of type [com.sun.proxy.$Proxy99] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2021-10-26 15:21:37.591 INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker : Bean 'roleMapperExt' of type [org.mybatis.spring.mapper.MapperFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2021-10-26 15:21:37.594 INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker : Bean 'roleMapperExt' of type [com.sun.proxy.$Proxy103] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2021-10-26 15:21:37.624 INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker : Bean 'relRoleResourceMapperExt' of type [org.mybatis.spring.mapper.MapperFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2021-10-26 15:21:37.626 INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker : Bean 'relRoleResourceMapperExt' of type [com.sun.proxy.$Proxy106] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2021-10-26 15:21:37.656 INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker : Bean 'requestScopePermissionDataCache' of type [org.springframework.aop.scope.ScopedProxyFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2021-10-26 15:21:37.656 INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker : Bean 'requestScopePermissionDataCache' of type [datart.security.manager.RequestScopePermissionDataCache$$EnhancerBySpringCGLIB$$ffd5c0bf] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2021-10-26 15:21:37.660 INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker : Bean 'threadScopePermissionDataCache' of type [datart.security.manager.ThreadScopePermissionDataCache] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2021-10-26 15:21:37.662 INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker : Bean 'permissionDataCache' of type [datart.security.manager.PermissionDataCache] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2021-10-26 15:21:37.665 INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker : Bean 'passwordCredentialsMatcher' of type [datart.security.manager.shiro.PasswordCredentialsMatcher] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2021-10-26 15:21:37.675 INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker : Bean 'realm' of type [datart.security.manager.shiro.DatartRealm] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2021-10-26 15:21:37.689 INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker : Bean 'sessionStorageEvaluator' of type [org.apache.shiro.mgt.DefaultSessionStorageEvaluator] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2021-10-26 15:21:37.691 INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker : Bean 'subjectDAO' of type [org.apache.shiro.mgt.DefaultSubjectDAO] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2021-10-26 15:21:37.692 INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker : Bean 'subjectFactory' of type [org.apache.shiro.mgt.DefaultSubjectFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2021-10-26 15:21:37.693 INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker : Bean 'authenticationStrategy' of type [org.apache.shiro.authc.pam.AtLeastOneSuccessfulStrategy] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2021-10-26 15:21:37.694 INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker : Bean 'authenticator' of type [org.apache.shiro.authc.pam.ModularRealmAuthenticator] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2021-10-26 15:21:37.696 INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker : Bean 'authorizer' of type [org.apache.shiro.authz.ModularRealmAuthorizer] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2021-10-26 15:21:37.698 INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker : Bean 'sessionDAO' of type [org.apache.shiro.session.mgt.eis.MemorySessionDAO] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2021-10-26 15:21:37.699 INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker : Bean 'sessionFactory' of type [org.apache.shiro.session.mgt.SimpleSessionFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2021-10-26 15:21:37.700 INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker : Bean 'sessionManager' of type [org.apache.shiro.session.mgt.DefaultSessionManager] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2021-10-26 15:21:37.705 INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker : Bean 'securityManager' of type [org.apache.shiro.mgt.DefaultSecurityManager] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2021-10-26 15:21:37.714 INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker : Bean 'authorizationAttributeSourceAdvisor' of type [org.apache.shiro.spring.security.interceptor.AuthorizationAttributeSourceAdvisor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2021-10-26 15:21:38.014 INFO o.s.boot.web.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8080 (http) 2021-10-26 15:21:38.024 INFO org.apache.coyote.http11.Http11NioProtocol : Initializing ProtocolHandler ["http-nio-8080"] 2021-10-26 15:21:38.025 INFO org.apache.catalina.core.StandardService : Starting service [Tomcat] 2021-10-26 15:21:38.025 INFO org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.43] 2021-10-26 15:21:38.107 INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext 2021-10-26 15:21:38.107 INFO o.s.b.w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 2657 ms 2021-10-26 15:21:39.061 INFO org.quartz.impl.StdSchedulerFactory : Using default implementation for ThreadExecutor 2021-10-26 15:21:39.072 INFO org.quartz.core.SchedulerSignalerImpl : Initialized Scheduler Signaller of type: class org.quartz.core.SchedulerSignalerImpl 2021-10-26 15:21:39.072 INFO org.quartz.core.QuartzScheduler : Quartz Scheduler v.2.3.2 created. 2021-10-26 15:21:39.076 INFO o.s.scheduling.quartz.LocalDataSourceJobStore : Using db table-based data access locking (synchronization). 2021-10-26 15:21:39.077 INFO o.s.scheduling.quartz.LocalDataSourceJobStore : JobStoreCMT initialized. 2021-10-26 15:21:39.078 INFO org.quartz.core.QuartzScheduler : Scheduler meta-data: Quartz Scheduler (v2.3.2) 'DatartScheduleCluster' with instanceId '63cfc244095a1635232899063' Scheduler class: 'org.quartz.core.QuartzScheduler' - running locally. NOT STARTED. Currently in standby mode. Number of jobs executed: 0 Using thread pool 'org.quartz.simpl.SimpleThreadPool' - with 10 threads. Using job-store 'org.springframework.scheduling.quartz.LocalDataSourceJobStore' - which supports persistence. and is clustered.
2021-10-26 15:21:39.078 INFO org.quartz.impl.StdSchedulerFactory : Quartz scheduler 'DatartScheduleCluster' initialized from an externally provided properties instance. 2021-10-26 15:21:39.078 INFO org.quartz.impl.StdSchedulerFactory : Quartz scheduler version: 2.3.2 2021-10-26 15:21:39.079 INFO org.quartz.core.QuartzScheduler : JobFactory set to: org.springframework.scheduling.quartz.SpringBeanJobFactory@3f3c5ecd 2021-10-26 15:21:40.886 INFO o.s.scheduling.concurrent.ThreadPoolTaskExecutor : Initializing ExecutorService 'applicationTaskExecutor' 2021-10-26 15:21:41.302 INFO org.apache.coyote.http11.Http11NioProtocol : Starting ProtocolHandler ["http-nio-8080"] 2021-10-26 15:21:41.320 INFO o.s.boot.web.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 8080 (http) with context path '' 2021-10-26 15:21:41.321 INFO s.d.s.web.plugins.DocumentationPluginsBootstrapper : Context refreshed 2021-10-26 15:21:41.329 INFO s.d.s.web.plugins.DocumentationPluginsBootstrapper : Found 1 custom documentation plugin(s) 2021-10-26 15:21:41.341 INFO s.d.spring.web.scanners.ApiListingReferenceScanner : Scanning for api listing references 2021-10-26 15:21:41.846 INFO s.d.s.w.r.operation.CachingOperationNameGenerator : Generating unique operation named: executeUsingPOST_1 2021-10-26 15:21:41.920 INFO s.d.s.w.r.operation.CachingOperationNameGenerator : Generating unique operation named: downloadFileUsingGET_1 2021-10-26 15:21:41.927 INFO s.d.s.w.r.operation.CachingOperationNameGenerator : Generating unique operation named: executeUsingPOST_2 2021-10-26 15:21:42.007 INFO s.d.s.w.r.operation.CachingOperationNameGenerator : Generating unique operation named: checkNameUsingPOST_1 2021-10-26 15:21:42.013 INFO s.d.s.w.r.operation.CachingOperationNameGenerator : Generating unique operation named: createUsingPOST_1 2021-10-26 15:21:42.024 INFO s.d.s.w.r.operation.CachingOperationNameGenerator : Generating unique operation named: getSubjectVariableValuesUsingGET_1 2021-10-26 15:21:42.069 INFO s.d.s.w.r.operation.CachingOperationNameGenerator : Generating unique operation named: listArchivedUsingGET_1 2021-10-26 15:21:42.076 INFO s.d.s.w.r.operation.CachingOperationNameGenerator : Generating unique operation named: unarchiveUsingPUT_1 2021-10-26 15:21:42.164 INFO s.d.s.w.r.operation.CachingOperationNameGenerator : Generating unique operation named: getDatachartUsingGET1 2021-10-26 15:21:42.270 INFO o.s.scheduling.quartz.SchedulerFactoryBean : Starting Quartz Scheduler now 2021-10-26 15:21:42.319 INFO o.s.scheduling.quartz.LocalDataSourceJobStore : ClusterManager: detected 1 failed or restarted instances. 2021-10-26 15:21:42.319 INFO o.s.scheduling.quartz.LocalDataSourceJobStore : ClusterManager: Scanning for instance "626496180e771635232187544"'s failed in-progress jobs. 2021-10-26 15:21:42.326 INFO org.quartz.core.QuartzScheduler : Scheduler DatartScheduleCluster$_63cfc244095a1635232899063 started. 2021-10-26 15:21:42.339 INFO datart.DatartServerApplication : Started DatartServerApplication in 7.311 seconds (JVM running for 7.74) 2021-10-26 15:30:53.656 INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet' 2021-10-26 15:30:53.656 INFO org.springframework.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet' 2021-10-26 15:30:53.658 INFO org.springframework.web.servlet.DispatcherServlet : Completed initialization in 1 ms`