Skip to content
This repository has been archived by the owner on Oct 28, 2024. It is now read-only.

version 1.0.5 windows oracle测试连接成功,但是在连接概览中,连接报错 #182

Closed
yhan1203 opened this issue May 22, 2023 · 7 comments

Comments

@yhan1203
Copy link

2023-05-22 16:40:50.873 [main] INFO c.a.d.s.s.c.l.ManageApplicationListener - 启动端口为:10824
2023-05-22 16:40:51.202 [main] INFO c.d.f.config.ForestConfiguration - [Forest] Http Backend: okhttp3
2023-05-22 16:40:51.425 [main] INFO c.d.forest.logging.DefaultLogHandler - [Forest] Request (okhttp3):
GET http://127.0.0.1:10824/api/system/get-version-a HTTP
Headers:
User-Agent: forest/1.5.31
2023-05-22 16:40:51.449 [main] INFO c.d.forest.logging.DefaultLogHandler - [Forest] Response: [Network Error]: Failed to connect to /127.0.0.1:10824
2023-05-22 16:40:51.451 [main] INFO c.a.d.s.s.c.l.ManageApplicationListener - 尝试访问旧的应用失败。本异常不重要,正常启动启动都会输出,请忽略。java.net.ConnectException: Failed to connect to /127.0.0.1:10824
2023-05-22 16:40:51.572 [main] INFO c.a.dbhub.server.start.Application - Starting Application v1.0.0-SNAPSHOT using Java 17.0.7 on DESKTOP-NMPP2R7 with PID 36772 (D:\Program Files\chat2db\resources\app\app\ali-dbhub-server-start.jar started by xx in D:\Program Files\chat2db)
2023-05-22 16:40:51.573 [main] INFO c.a.dbhub.server.start.Application - The following 1 profile is active: "release"
2023-05-22 16:40:52.909 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'com.dtflys.forest.springboot.ForestAutoConfiguration' of type [com.dtflys.forest.springboot.ForestAutoConfiguration$$EnhancerBySpringCGLIB$$3c8d5821] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-05-22 16:40:52.927 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'forestProperties' of type [com.dtflys.forest.config.SpringForestProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-05-22 16:40:52.930 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'forestObjectFactory' of type [com.dtflys.forest.reflection.SpringForestObjectFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-05-22 16:40:52.934 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'forestInterceptorFactory' of type [com.dtflys.forest.interceptor.SpringInterceptorFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-05-22 16:40:52.945 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'org.springframework.boot.autoconfigure.flyway.FlywayAutoConfiguration' of type [org.springframework.boot.autoconfigure.flyway.FlywayAutoConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-05-22 16:40:52.948 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'stringOrNumberMigrationVersionConverter' of type [org.springframework.boot.autoconfigure.flyway.FlywayAutoConfiguration$StringOrNumberToMigrationVersionConverter] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-05-22 16:40:52.966 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'forest-com.dtflys.forest.springboot.properties.ForestConfigurationProperties' of type [com.dtflys.forest.springboot.properties.ForestConfigurationProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-05-22 16:40:52.990 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 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)
2023-05-22 16:40:53.012 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'forestConverterBeanListener' of type [com.dtflys.forest.spring.ConverterBeanListener] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-05-22 16:40:53.427 [main] INFO o.s.b.w.e.tomcat.TomcatWebServer - Tomcat initialized with port(s): 10824 (http)
2023-05-22 16:40:53.445 [main] INFO o.a.catalina.core.StandardService - Starting service [Tomcat]
2023-05-22 16:40:53.445 [main] INFO o.a.catalina.core.StandardEngine - Starting Servlet engine: [Apache Tomcat/9.0.65]
2023-05-22 16:40:53.529 [main] INFO o.a.c.c.C.[Tomcat].[localhost].[/] - Initializing Spring embedded WebApplicationContext
2023-05-22 16:40:53.529 [main] INFO o.s.b.w.s.c.ServletWebServerApplicationContext - Root WebApplicationContext: initialization completed in 1907 ms
2023-05-22 16:40:54.876 [main] INFO o.s.b.a.w.s.WelcomePageHandlerMapping - Adding welcome page template: index
2023-05-22 16:40:55.105 [main] WARN o.t.templatemode.TemplateMode - [THYMELEAF][main] Template Mode 'HTML5' is deprecated. Using Template Mode 'HTML' instead.
2023-05-22 16:40:55.153 [main] INFO c.a.d.s.s.config.oauth.SaLogForSlf4j - 全局组件 SaLog 载入成功: com.alibaba.dbhub.server.start.config.oauth.SaLogForSlf4j
2023-05-22 16:40:55.154 [main] INFO c.a.d.s.s.config.oauth.SaLogForSlf4j - 全局配置 SaTokenConfig [tokenName=DBHUB, timeout=2592000, activityTimeout=-1, isConcurrent=true, isShare=true, maxLoginCount=12, isReadBody=true, isReadHeader=true, isReadCookie=true, isWriteHeader=true, tokenStyle=uuid, dataRefreshPeriod=30, tokenSessionCheckLogin=true, autoRenew=true, tokenPrefix=null, isPrint=true, isLog=true, logLevel=trace, logLevelInt=1, jwtSecretKey=jwt_dbhub, basic=, currDomain=null, sameTokenTimeout=86400, checkSameToken=false, cookie=SaCookieConfig [domain=null, path=null, secure=false, httpOnly=false, sameSite=null]]
2023-05-22 16:40:55.158 [main] INFO c.a.d.s.s.config.oauth.SaLogForSlf4j - 会话组件 StpLogic(type=login) 重置成功: class cn.dev33.satoken.jwt.StpLogicJwtForStateless
2023-05-22 16:40:55.162 [main] INFO c.a.d.s.s.config.oauth.SaLogForSlf4j - 全局组件 SaJsonTemplate 载入成功: cn.dev33.satoken.spring.json.SaJsonTemplateForJackson
2023-05-22 16:40:55.169 [main] INFO c.a.d.s.s.config.oauth.SaLogForSlf4j - 全局组件 SaTokenContext 载入成功: cn.dev33.satoken.spring.SaTokenContextForSpring
2023-05-22 16:40:55.311 [main] INFO o.f.c.i.license.VersionPrinter - Flyway Community Edition 9.8.1 by Redgate
2023-05-22 16:40:55.312 [main] INFO o.f.c.i.license.VersionPrinter - See what's new here: https://flywaydb.org/documentation/learnmore/releaseNotes#9.8.1
2023-05-22 16:40:55.312 [main] INFO o.f.c.i.license.VersionPrinter -
2023-05-22 16:40:55.314 [main] DEBUG o.f.c.internal.util.FeatureDetector - AWS SDK available: false
2023-05-22 16:40:55.315 [main] DEBUG o.f.c.internal.util.FeatureDetector - Google Cloud Storage available: false
2023-05-22 16:40:55.315 [main] DEBUG o.f.c.i.s.classpath.ClassPathScanner - Scanning for classpath resources at 'classpath:db/callback' ...
2023-05-22 16:40:55.316 [main] DEBUG o.f.c.i.s.classpath.ClassPathScanner - Determining location urls for classpath:db/callback using ClassLoader org.springframework.boot.loader.LaunchedURLClassLoader@736e9adb ...
2023-05-22 16:40:55.316 [main] DEBUG o.f.c.i.s.classpath.ClassPathScanner - Unable to resolve location classpath:db/callback.
2023-05-22 16:40:55.316 [main] DEBUG o.f.c.i.s.classpath.ClassPathScanner - Scanning for classpath resources at 'classpath:db/migration/release' ...
2023-05-22 16:40:55.316 [main] DEBUG o.f.c.i.s.classpath.ClassPathScanner - Determining location urls for classpath:db/migration/release using ClassLoader org.springframework.boot.loader.LaunchedURLClassLoader@736e9adb ...
2023-05-22 16:40:55.316 [main] DEBUG o.f.c.i.s.classpath.ClassPathScanner - Scanning URL: jar:file:/D:/Program%20Files/chat2db/resources/app/app/ali-dbhub-server-start.jar!/BOOT-INF/classes!/db/migration/release
2023-05-22 16:40:55.317 [main] DEBUG o.f.c.internal.util.FeatureDetector - JBoss VFS v2 available: false
2023-05-22 16:40:55.320 [main] DEBUG o.f.c.i.s.classpath.ClassPathScanner - Found resource: db/migration/release/
2023-05-22 16:40:55.321 [main] DEBUG o.f.c.i.s.classpath.ClassPathScanner - Found resource: db/migration/release/V1_0_0__初始化信息.sql
2023-05-22 16:40:55.321 [main] DEBUG o.f.c.i.s.classpath.ClassPathScanner - Found resource: db/migration/release/V1_0_2__修改Console.sql
2023-05-22 16:40:55.321 [main] DEBUG o.f.c.i.s.classpath.ClassPathScanner - Found resource: db/migration/release/V1_0_3__增加SSH.sql
2023-05-22 16:40:55.321 [main] DEBUG o.f.c.i.s.classpath.ClassPathScanner - Scanning for classes at classpath:db/migration/release
2023-05-22 16:40:55.324 [main] DEBUG o.f.core.internal.scanner.Scanner - Filtering out resource: db/migration/release/ (filename: )
2023-05-22 16:40:55.324 [main] DEBUG o.f.c.i.r.ResourceNameValidator - Validating V1_0_0__初始化信息.sql
2023-05-22 16:40:55.325 [main] DEBUG o.f.c.i.r.ResourceNameValidator - Validating V1_0_2__修改Console.sql
2023-05-22 16:40:55.326 [main] DEBUG o.f.c.i.r.ResourceNameValidator - Validating V1_0_3__增加SSH.sql
2023-05-22 16:40:55.328 [main] INFO com.zaxxer.hikari.HikariDataSource - HikariPool-1 - Starting...
2023-05-22 16:40:55.679 [main] INFO com.zaxxer.hikari.HikariDataSource - HikariPool-1 - Start completed.
2023-05-22 16:40:55.692 [main] INFO o.f.c.i.d.base.BaseDatabaseType - Database: jdbc:h2:~/.chat2db/db/chat2db (H2 2.1)
2023-05-22 16:40:55.693 [main] DEBUG o.f.c.i.d.base.BaseDatabaseType - Driver : H2 JDBC Driver 2.1.214 (2022-06-13)
2023-05-22 16:40:55.728 [main] DEBUG org.flywaydb.core.FlywayExecutor - DDL Transactions Supported: false
2023-05-22 16:40:55.730 [main] DEBUG o.f.c.i.s.SchemaHistoryFactory - Schemas:
2023-05-22 16:40:55.730 [main] DEBUG o.f.c.i.s.SchemaHistoryFactory - Default schema: null
2023-05-22 16:40:55.738 [main] DEBUG o.f.c.i.c.SqlScriptCallbackFactory - Scanning for SQL callbacks ...
2023-05-22 16:40:55.738 [main] DEBUG o.f.core.internal.scanner.Scanner - Filtering out resource: db/migration/release/ (filename: )
2023-05-22 16:40:55.748 [main] DEBUG o.f.core.internal.command.DbValidate - Validating migrations ...
2023-05-22 16:40:55.752 [main] DEBUG o.f.core.internal.scanner.Scanner - Filtering out resource: db/migration/release/ (filename: )
2023-05-22 16:40:55.764 [main] DEBUG o.f.core.internal.scanner.Scanner - Filtering out resource: db/migration/release/ (filename: )
2023-05-22 16:40:55.764 [main] DEBUG o.f.core.internal.scanner.Scanner - Filtering out resource: db/migration/release/V1_0_0__初始化信息.sql (filename: V1_0_0__初始化信息.sql)
2023-05-22 16:40:55.764 [main] DEBUG o.f.core.internal.scanner.Scanner - Filtering out resource: db/migration/release/V1_0_2__修改Console.sql (filename: V1_0_2__修改Console.sql)
2023-05-22 16:40:55.765 [main] DEBUG o.f.core.internal.scanner.Scanner - Filtering out resource: db/migration/release/V1_0_3__增加SSH.sql (filename: V1_0_3__增加SSH.sql)
2023-05-22 16:40:55.779 [main] INFO o.f.core.internal.command.DbValidate - Successfully validated 3 migrations (execution time 00:00.028s)
2023-05-22 16:40:55.781 [main] DEBUG o.f.core.internal.command.DbSchemas - Skipping creation of existing schema: "PUBLIC"
2023-05-22 16:40:55.788 [main] INFO o.f.core.internal.command.DbMigrate - Current version of schema "PUBLIC": 1.0.3
2023-05-22 16:40:55.788 [main] INFO o.f.core.internal.command.DbMigrate - Schema "PUBLIC" is up to date. No migration necessary.
2023-05-22 16:40:55.794 [main] DEBUG org.flywaydb.core.FlywayExecutor - Memory usage: 121 of 288M
2023-05-22 16:40:55.956 [main] INFO o.s.b.w.e.tomcat.TomcatWebServer - Tomcat started on port(s): 10824 (http) with context path ''
2023-05-22 16:40:55.967 [main] INFO c.a.dbhub.server.start.Application - Started Application in 5.61 seconds (JVM running for 6.089)
2023-05-22 16:40:56.121 [http-nio-127.0.0.1-10824-exec-1] INFO o.a.c.c.C.[Tomcat].[localhost].[/] - Initializing Spring DispatcherServlet 'dispatcherServlet'
2023-05-22 16:40:56.121 [http-nio-127.0.0.1-10824-exec-1] INFO o.s.web.servlet.DispatcherServlet - Initializing Servlet 'dispatcherServlet'
2023-05-22 16:40:56.122 [http-nio-127.0.0.1-10824-exec-1] INFO o.s.web.servlet.DispatcherServlet - Completed initialization in 1 ms
2023-05-22 16:40:56.397 [http-nio-127.0.0.1-10824-exec-3] INFO c.a.d.s.w.a.a.BusinessExceptionHandler - proceed begin:com.alibaba.dbhub.server.web.api.controller.operation.saved.OperationSavedControllerlist ,param:[{"pageNo":1,"pageSize":999,"tabOpened":"y"}]
2023-05-22 16:40:56.397 [http-nio-127.0.0.1-10824-exec-2] INFO c.a.d.s.w.a.a.BusinessExceptionHandler - proceed begin:com.alibaba.dbhub.server.web.api.controller.data.source.DataSourceControllerlist ,param:[{"pageNo":1,"pageSize":999}]
2023-05-22 16:40:56.477 [http-nio-127.0.0.1-10824-exec-3] INFO c.a.d.s.w.a.a.BusinessExceptionHandler - proceed end:com.alibaba.dbhub.server.web.api.controller.operation.saved.OperationSavedControllerlist, result:{"data":{"data":[],"hasNextPage":false,"pageNo":1,"pageSize":999,"total":0},"hasNextPage":false,"success":true}, cost:160
2023-05-22 16:40:56.544 [http-nio-127.0.0.1-10824-exec-2] INFO c.a.d.s.w.a.a.BusinessExceptionHandler - proceed end:com.alibaba.dbhub.server.web.api.controller.data.source.DataSourceControllerlist, result:{"data":{"data":[{"alias":"localbcv","driver":"thin","extendInfo":[],"host":"10.92.33.59","id":4,"port":"1521","sid":"localbcv","ssh":{"localPort":"","password":"","port":"","use":false,"userName":""},"type":"ORACLE","url":"jdbc:oracle:thin:@10.92.33.59:1521:localbcv","user":"xa_ll"}],"hasNextPage":false,"pageNo":1,"pageSize":999,"total":1},"hasNextPage":false,"success":true}, cost:231
2023-05-22 16:40:58.201 [http-nio-127.0.0.1-10824-exec-4] INFO c.a.d.s.w.a.a.BusinessExceptionHandler - proceed begin:com.alibaba.dbhub.server.web.api.controller.data.source.DataSourceControllerattach ,param:[{"dataSourceId":4,"id":4}]
2023-05-22 16:40:58.214 [http-nio-127.0.0.1-10824-exec-4] INFO c.a.d.s.d.support.sql.IDriverManager - ClassLoader class:1616384450
2023-05-22 16:40:58.214 [http-nio-127.0.0.1-10824-exec-4] INFO c.a.d.s.d.support.sql.IDriverManager - ClassLoader URLs:["file:/C:/Users/xx/.chat2db/jdbc-lib/ojdbc11.jar","file:/C:/Users/xx/.chat2db/jdbc-lib/HikariCP-4.0.3.jar"]
2023-05-22 16:40:58.562 [http-nio-127.0.0.1-10824-exec-4] INFO c.a.d.s.w.a.a.BusinessExceptionHandler - proceed end:com.alibaba.dbhub.server.web.api.controller.data.source.DataSourceControllerattach, result:{"data":[],"success":true}, cost:360
2023-05-22 16:40:58.575 [http-nio-127.0.0.1-10824-exec-5] INFO c.a.d.s.w.a.a.BusinessExceptionHandler - proceed begin:com.alibaba.dbhub.server.web.api.controller.rdb.RdbDdlControllerschemaList ,param:[{"dataSourceId":4}]
2023-05-22 16:40:58.644 [http-nio-127.0.0.1-10824-exec-5] ERROR c.a.d.s.w.a.a.BusinessExceptionHandler - invoke method schemaList error: [{"dataSourceId":4}].
java.lang.RuntimeException: java.sql.SQLException: 不支持的字符集 (在类路径中添加 orai18n.jar): ZHS16GBK
at com.alibaba.dbhub.server.domain.support.sql.SQLExecutor.schemas(SQLExecutor.java:266)
at com.alibaba.dbhub.server.domain.support.dialect.BaseMetaSchema.schemas(BaseMetaSchema.java:91)
at com.alibaba.dbhub.server.domain.core.impl.DatabaseServiceImpl.querySchema(DatabaseServiceImpl.java:35)
at com.alibaba.dbhub.server.web.api.controller.rdb.RdbDdlController.schemaList(RdbDdlController.java:109)
at com.alibaba.dbhub.server.web.api.controller.rdb.RdbDdlController$$FastClassBySpringCGLIB$$184aa5a5.invoke()
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:793)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:763)
at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:89)
at com.alibaba.dbhub.server.web.api.aspect.ConnectionInfoHandler.businessExceptionHandler(ConnectionInfoHandler.java:56)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:634)
at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:624)
at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:72)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:763)
at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:89)
at com.alibaba.dbhub.server.web.api.aspect.BusinessExceptionHandler.businessExceptionHandler(BusinessExceptionHandler.java:49)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:634)
at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:624)
at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:72)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:763)
at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:97)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:763)
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:708)
at com.alibaba.dbhub.server.web.api.controller.rdb.RdbDdlController$$EnhancerBySpringCGLIB$$6eaba87f.schemaList()
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205)
at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:150)
at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:117)
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895)
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:808)
at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1070)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:963)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006)
at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:898)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:655)
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:764)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
at com.alibaba.dbhub.server.start.config.interceptor.CorsFilter.doFilter(CorsFilter.java:38)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:890)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1789)
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191)
at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.base/java.lang.Thread.run(Unknown Source)
Caused by: java.sql.SQLException: 不支持的字符集 (在类路径中添加 orai18n.jar): ZHS16GBK
at oracle.sql.CharacterSetUnknown.failCharsetUnknown(CharacterSetFactoryThin.java:239)
at oracle.sql.CharacterSetUnknown.convert(CharacterSetFactoryThin.java:200)
at oracle.jdbc.driver.PhysicalConnection.throughDbCharset(PhysicalConnection.java:11317)
at oracle.jdbc.driver.PhysicalConnection.enquoteIdentifier(PhysicalConnection.java:11397)
at oracle.jdbc.driver.OracleStatement.enquoteIdentifier(OracleStatement.java:7229)
at oracle.jdbc.driver.OracleStatement.getColumnIndex(OracleStatement.java:4648)
at oracle.jdbc.driver.InsensitiveScrollableResultSet.findColumn(InsensitiveScrollableResultSet.java:362)
at oracle.jdbc.driver.GeneratedResultSet.getString(GeneratedResultSet.java:661)
at com.alibaba.dbhub.server.domain.support.sql.SQLExecutor.schemas(SQLExecutor.java:262)
... 88 common frames omitted

image

@Chat2DB-Pro
Copy link
Contributor

下面测试包能够解决你的问题:

Windows下载地址:https://oss-chat2db.alibaba.com/test/5058181416/Chat2DB-Test%20Setup%201.0.5058181416-Test.exe

如何解决了你的问题可以回复一下已解决,我合并到正式分支打一个正式包。

@yhan1203
Copy link
Author

2023-05-24 13:43:09.525 [main] INFO c.a.d.s.s.c.l.ManageApplicationListener - 启动端口为:10824
2023-05-24 13:43:10.107 [main] INFO c.d.f.config.ForestConfiguration - [Forest] Http Backend: okhttp3
2023-05-24 13:43:10.458 [main] INFO c.d.forest.logging.DefaultLogHandler - [Forest] Request (okhttp3):
GET http://127.0.0.1:10824/api/system/get-version-a HTTP
Headers:
User-Agent: forest/1.5.31
2023-05-24 13:43:10.497 [main] INFO c.d.forest.logging.DefaultLogHandler - [Forest] Response: [Network Error]: Failed to connect to /127.0.0.1:10824
2023-05-24 13:43:10.498 [main] INFO c.a.d.s.s.c.l.ManageApplicationListener - 尝试访问旧的应用失败。本异常不重要,正常启动启动都会输出,请忽略。java.net.ConnectException: Failed to connect to /127.0.0.1:10824
2023-05-24 13:43:10.688 [main] INFO c.a.dbhub.server.start.Application - Starting Application v1.0.0-SNAPSHOT using Java 17.0.7 on DESKTOP-NMPP2R7 with PID 51944 (D:\Program Files\chat2db\Chat2DB-Test\resources\app\app\ali-dbhub-server-start.jar started by 刘亮 in D:\Program Files\chat2db\Chat2DB-Test)
2023-05-24 13:43:10.689 [main] INFO c.a.dbhub.server.start.Application - The following 1 profile is active: "test"
2023-05-24 13:43:12.285 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'com.dtflys.forest.springboot.ForestAutoConfiguration' of type [com.dtflys.forest.springboot.ForestAutoConfiguration$$EnhancerBySpringCGLIB$$e599a7c8] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-05-24 13:43:12.312 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'forestProperties' of type [com.dtflys.forest.config.SpringForestProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-05-24 13:43:12.317 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'forestObjectFactory' of type [com.dtflys.forest.reflection.SpringForestObjectFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-05-24 13:43:12.324 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'forestInterceptorFactory' of type [com.dtflys.forest.interceptor.SpringInterceptorFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-05-24 13:43:12.344 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'org.springframework.boot.autoconfigure.flyway.FlywayAutoConfiguration' of type [org.springframework.boot.autoconfigure.flyway.FlywayAutoConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-05-24 13:43:12.348 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'stringOrNumberMigrationVersionConverter' of type [org.springframework.boot.autoconfigure.flyway.FlywayAutoConfiguration$StringOrNumberToMigrationVersionConverter] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-05-24 13:43:12.378 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'forest-com.dtflys.forest.springboot.properties.ForestConfigurationProperties' of type [com.dtflys.forest.springboot.properties.ForestConfigurationProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-05-24 13:43:12.425 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 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)
2023-05-24 13:43:12.447 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'forestConverterBeanListener' of type [com.dtflys.forest.spring.ConverterBeanListener] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-05-24 13:43:12.960 [main] INFO o.s.b.w.e.tomcat.TomcatWebServer - Tomcat initialized with port(s): 10824 (http)
2023-05-24 13:43:12.977 [main] INFO o.a.catalina.core.StandardService - Starting service [Tomcat]
2023-05-24 13:43:12.977 [main] INFO o.a.catalina.core.StandardEngine - Starting Servlet engine: [Apache Tomcat/9.0.65]
2023-05-24 13:43:13.054 [main] INFO o.a.c.c.C.[Tomcat].[localhost].[/] - Initializing Spring embedded WebApplicationContext
2023-05-24 13:43:13.055 [main] INFO o.s.b.w.s.c.ServletWebServerApplicationContext - Root WebApplicationContext: initialization completed in 2299 ms
2023-05-24 13:43:13.155 [main] INFO com.zaxxer.hikari.HikariDataSource - HikariPool-1 - Starting...
2023-05-24 13:43:13.561 [main] INFO com.zaxxer.hikari.HikariDataSource - HikariPool-1 - Start completed.
2023-05-24 13:43:13.573 [main] INFO o.s.b.a.h.H2ConsoleAutoConfiguration - H2 console available at '/h2'. Database available at 'jdbc:h2:/.chat2db/db/chat2db_test'
2023-05-24 13:43:15.351 [main] INFO o.s.b.a.w.s.WelcomePageHandlerMapping - Adding welcome page template: index
2023-05-24 13:43:15.728 [main] WARN o.t.templatemode.TemplateMode - [THYMELEAF][main] Template Mode 'HTML5' is deprecated. Using Template Mode 'HTML' instead.
2023-05-24 13:43:15.805 [main] INFO c.a.d.s.s.config.oauth.SaLogForSlf4j - 全局组件 SaLog 载入成功: com.alibaba.dbhub.server.start.config.oauth.SaLogForSlf4j
2023-05-24 13:43:15.807 [main] INFO c.a.d.s.s.config.oauth.SaLogForSlf4j - 全局配置 SaTokenConfig [tokenName=DBHUB, timeout=2592000, activityTimeout=-1, isConcurrent=true, isShare=true, maxLoginCount=12, isReadBody=true, isReadHeader=true, isReadCookie=true, isWriteHeader=true, tokenStyle=uuid, dataRefreshPeriod=30, tokenSessionCheckLogin=true, autoRenew=true, tokenPrefix=null, isPrint=true, isLog=true, logLevel=trace, logLevelInt=1, jwtSecretKey=jwt_dbhub, basic=, currDomain=null, sameTokenTimeout=86400, checkSameToken=false, cookie=SaCookieConfig [domain=null, path=null, secure=false, httpOnly=false, sameSite=null]]
2023-05-24 13:43:15.828 [main] INFO c.a.d.s.s.config.oauth.SaLogForSlf4j - 全局组件 SaTokenContext 载入成功: cn.dev33.satoken.spring.SaTokenContextForSpring
2023-05-24 13:43:15.829 [main] INFO c.a.d.s.s.config.oauth.SaLogForSlf4j - 会话组件 StpLogic(type=login) 重置成功: class cn.dev33.satoken.jwt.StpLogicJwtForStateless
2023-05-24 13:43:15.833 [main] INFO c.a.d.s.s.config.oauth.SaLogForSlf4j - 全局组件 SaJsonTemplate 载入成功: cn.dev33.satoken.spring.json.SaJsonTemplateForJackson
2023-05-24 13:43:16.033 [main] INFO o.f.c.i.license.VersionPrinter - Flyway Community Edition 9.8.1 by Redgate
2023-05-24 13:43:16.033 [main] INFO o.f.c.i.license.VersionPrinter - See what's new here: https://flywaydb.org/documentation/learnmore/releaseNotes#9.8.1
2023-05-24 13:43:16.033 [main] INFO o.f.c.i.license.VersionPrinter -
2023-05-24 13:43:16.035 [main] DEBUG o.f.c.internal.util.FeatureDetector - AWS SDK available: false
2023-05-24 13:43:16.036 [main] DEBUG o.f.c.internal.util.FeatureDetector - Google Cloud Storage available: false
2023-05-24 13:43:16.037 [main] DEBUG o.f.c.i.s.classpath.ClassPathScanner - Scanning for classpath resources at 'classpath:db/callback' ...
2023-05-24 13:43:16.038 [main] DEBUG o.f.c.i.s.classpath.ClassPathScanner - Determining location urls for classpath:db/callback using ClassLoader org.springframework.boot.loader.LaunchedURLClassLoader@736e9adb ...
2023-05-24 13:43:16.038 [main] DEBUG o.f.c.i.s.classpath.ClassPathScanner - Unable to resolve location classpath:db/callback.
2023-05-24 13:43:16.038 [main] DEBUG o.f.c.i.s.classpath.ClassPathScanner - Scanning for classpath resources at 'classpath:db/migration/dev' ...
2023-05-24 13:43:16.038 [main] DEBUG o.f.c.i.s.classpath.ClassPathScanner - Determining location urls for classpath:db/migration/dev using ClassLoader org.springframework.boot.loader.LaunchedURLClassLoader@736e9adb ...
2023-05-24 13:43:16.039 [main] DEBUG o.f.c.i.s.classpath.ClassPathScanner - Scanning URL: jar:file:/D:/Program%20Files/chat2db/Chat2DB-Test/resources/app/app/ali-dbhub-server-start.jar!/BOOT-INF/classes!/db/migration/dev
2023-05-24 13:43:16.039 [main] DEBUG o.f.c.internal.util.FeatureDetector - JBoss VFS v2 available: false
2023-05-24 13:43:16.043 [main] DEBUG o.f.c.i.s.classpath.ClassPathScanner - Found resource: db/migration/dev/
2023-05-24 13:43:16.043 [main] DEBUG o.f.c.i.s.classpath.ClassPathScanner - Found resource: db/migration/dev/V1_0_0_1__初始化信息-新增用户.sql
2023-05-24 13:43:16.043 [main] DEBUG o.f.c.i.s.classpath.ClassPathScanner - Found resource: db/migration/dev/V1_0_0__初始化信息.sql
2023-05-24 13:43:16.043 [main] DEBUG o.f.c.i.s.classpath.ClassPathScanner - Found resource: db/migration/dev/V1_0_1__配置信息.sql
2023-05-24 13:43:16.044 [main] DEBUG o.f.c.i.s.classpath.ClassPathScanner - Found resource: db/migration/dev/V1_0_2__修改Console.sql
2023-05-24 13:43:16.044 [main] DEBUG o.f.c.i.s.classpath.ClassPathScanner - Found resource: db/migration/dev/V1_0_3_0__增加SSH.sql
2023-05-24 13:43:16.044 [main] DEBUG o.f.c.i.s.classpath.ClassPathScanner - Scanning for classes at classpath:db/migration/dev
2023-05-24 13:43:16.047 [main] DEBUG o.f.core.internal.scanner.Scanner - Filtering out resource: db/migration/dev/ (filename: )
2023-05-24 13:43:16.047 [main] DEBUG o.f.c.i.r.ResourceNameValidator - Validating V1_0_0__初始化信息.sql
2023-05-24 13:43:16.048 [main] DEBUG o.f.c.i.r.ResourceNameValidator - Validating V1_0_3_0__增加SSH.sql
2023-05-24 13:43:16.048 [main] DEBUG o.f.c.i.r.ResourceNameValidator - Validating V1_0_2__修改Console.sql
2023-05-24 13:43:16.048 [main] DEBUG o.f.c.i.r.ResourceNameValidator - Validating V1_0_1__配置信息.sql
2023-05-24 13:43:16.048 [main] DEBUG o.f.c.i.r.ResourceNameValidator - Validating V1_0_0_1__初始化信息-新增用户.sql
2023-05-24 13:43:16.057 [main] INFO o.f.c.i.d.base.BaseDatabaseType - Database: jdbc:h2:
/.chat2db/db/chat2db_test (H2 2.1)
2023-05-24 13:43:16.057 [main] DEBUG o.f.c.i.d.base.BaseDatabaseType - Driver : H2 JDBC Driver 2.1.214 (2022-06-13)
2023-05-24 13:43:16.092 [main] DEBUG org.flywaydb.core.FlywayExecutor - DDL Transactions Supported: false
2023-05-24 13:43:16.094 [main] DEBUG o.f.c.i.s.SchemaHistoryFactory - Schemas:
2023-05-24 13:43:16.094 [main] DEBUG o.f.c.i.s.SchemaHistoryFactory - Default schema: null
2023-05-24 13:43:16.099 [main] DEBUG o.f.c.i.c.SqlScriptCallbackFactory - Scanning for SQL callbacks ...
2023-05-24 13:43:16.099 [main] DEBUG o.f.core.internal.scanner.Scanner - Filtering out resource: db/migration/dev/ (filename: )
2023-05-24 13:43:16.109 [main] DEBUG o.f.core.internal.command.DbValidate - Validating migrations ...
2023-05-24 13:43:16.112 [main] DEBUG o.f.core.internal.scanner.Scanner - Filtering out resource: db/migration/dev/ (filename: )
2023-05-24 13:43:16.125 [main] DEBUG o.f.core.internal.scanner.Scanner - Filtering out resource: db/migration/dev/V1_0_0__初始化信息.sql (filename: V1_0_0__初始化信息.sql)
2023-05-24 13:43:16.125 [main] DEBUG o.f.core.internal.scanner.Scanner - Filtering out resource: db/migration/dev/V1_0_3_0__增加SSH.sql (filename: V1_0_3_0__增加SSH.sql)
2023-05-24 13:43:16.125 [main] DEBUG o.f.core.internal.scanner.Scanner - Filtering out resource: db/migration/dev/V1_0_2__修改Console.sql (filename: V1_0_2__修改Console.sql)
2023-05-24 13:43:16.125 [main] DEBUG o.f.core.internal.scanner.Scanner - Filtering out resource: db/migration/dev/V1_0_1__配置信息.sql (filename: V1_0_1__配置信息.sql)
2023-05-24 13:43:16.125 [main] DEBUG o.f.core.internal.scanner.Scanner - Filtering out resource: db/migration/dev/V1_0_0_1__初始化信息-新增用户.sql (filename: V1_0_0_1__初始化信息-新增用户.sql)
2023-05-24 13:43:16.126 [main] DEBUG o.f.core.internal.scanner.Scanner - Filtering out resource: db/migration/dev/ (filename: )
2023-05-24 13:43:16.130 [main] INFO o.f.core.internal.command.DbValidate - Successfully validated 5 migrations (execution time 00:00.020s)
2023-05-24 13:43:16.132 [main] DEBUG o.f.core.internal.command.DbSchemas - Skipping creation of existing schema: "PUBLIC"
2023-05-24 13:43:16.138 [main] INFO o.f.c.i.s.JdbcTableSchemaHistory - Creating Schema History table "PUBLIC"."flyway_schema_history" ...
2023-05-24 13:43:16.141 [main] DEBUG o.f.core.internal.parser.Parser - Parsing ...
2023-05-24 13:43:16.147 [main] DEBUG o.f.c.i.sqlscript.ParserSqlScript - Found statement at line 1: CREATE TABLE IF NOT EXISTS "PUBLIC"."flyway_schema_history" (
"installed_rank" INT NOT NULL,
"version" VARCHAR(50),
"description" VARCHAR(200) NOT NULL,
"type" VARCHAR(20) NOT NULL,
"script" VARCHAR(1000) NOT NULL,
"checksum" INT,
"installed_by" VARCHAR(100) NOT NULL,
"installed_on" TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
"execution_time" INT NOT NULL,
"success" BOOLEAN NOT NULL,
CONSTRAINT "flyway_schema_history_pk" PRIMARY KEY ("installed_rank")
) AS SELECT -1, NULL, '<< Flyway Schema History table created >>', 'TABLE', '', NULL, '', CURRENT_TIMESTAMP, 0, TRUE
2023-05-24 13:43:16.147 [main] DEBUG o.f.c.i.sqlscript.ParserSqlScript - Found statement at line 14: CREATE INDEX "PUBLIC"."flyway_schema_history_s_idx" ON "PUBLIC"."flyway_schema_history" ("success")
2023-05-24 13:43:16.148 [main] DEBUG o.f.c.i.s.DefaultSqlScriptExecutor - Executing SQL: CREATE TABLE IF NOT EXISTS "PUBLIC"."flyway_schema_history" (
"installed_rank" INT NOT NULL,
"version" VARCHAR(50),
"description" VARCHAR(200) NOT NULL,
"type" VARCHAR(20) NOT NULL,
"script" VARCHAR(1000) NOT NULL,
"checksum" INT,
"installed_by" VARCHAR(100) NOT NULL,
"installed_on" TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
"execution_time" INT NOT NULL,
"success" BOOLEAN NOT NULL,
CONSTRAINT "flyway_schema_history_pk" PRIMARY KEY ("installed_rank")
) AS SELECT -1, NULL, '<< Flyway Schema History table created >>', 'TABLE', '', NULL, '', CURRENT_TIMESTAMP, 0, TRUE
2023-05-24 13:43:16.158 [main] DEBUG o.f.c.i.s.DefaultSqlScriptExecutor - 0 rows affected
2023-05-24 13:43:16.158 [main] DEBUG o.f.c.i.s.DefaultSqlScriptExecutor - Executing SQL: CREATE INDEX "PUBLIC"."flyway_schema_history_s_idx" ON "PUBLIC"."flyway_schema_history" ("success")
2023-05-24 13:43:16.159 [main] DEBUG o.f.c.i.s.DefaultSqlScriptExecutor - 0 rows affected
2023-05-24 13:43:16.159 [main] DEBUG o.f.c.i.s.JdbcTableSchemaHistory - Created Schema History table "PUBLIC"."flyway_schema_history"
2023-05-24 13:43:16.167 [main] INFO o.f.core.internal.command.DbMigrate - Current version of schema "PUBLIC": << Empty Schema >>
2023-05-24 13:43:16.167 [main] DEBUG o.f.core.internal.parser.Parser - Parsing V1_0_0__初始化信息.sql ...
2023-05-24 13:43:16.172 [main] DEBUG o.f.c.i.sqlscript.ParserSqlScript - Found statement at line 1: CREATE TABLE IF NOT EXISTS data_source (
id bigint(20) unsigned NOT NULL AUTO_INCREMENT COMMENT '主键',
gmt_create datetime NOT NULL COMMENT '创建时间',
gmt_modified datetime NOT NULL COMMENT '修改时间',
alias varchar(128) DEFAULT NULL COMMENT '别名',
url varchar(1024) DEFAULT NULL COMMENT '连接地址',
user_name varchar(128) DEFAULT NULL COMMENT '用户名',
password varchar(256) DEFAULT NULL COMMENT '密码',
type varchar(32) DEFAULT NULL COMMENT '数据库类型',
env_type varchar(32) DEFAULT NULL COMMENT '环境类型',
user_id bigint(20) unsigned NOT NULL DEFAULT 0 COMMENT '用户id',
PRIMARY KEY (id)
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 COMMENT='数据源连接表'
2023-05-24 13:43:16.174 [main] DEBUG o.f.c.i.sqlscript.ParserSqlScript - Found statement at line 16: CREATE TABLE IF NOT EXISTS operation_log (
id bigint(20) unsigned NOT NULL AUTO_INCREMENT COMMENT '主键',
gmt_create datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
gmt_modified datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '修改时间',
data_source_id bigint(20) unsigned NOT NULL COMMENT '数据源连接ID',
database_name varchar(128) DEFAULT NULL COMMENT 'db名称',
type varchar(32) NOT NULL COMMENT '数据库类型',
ddl text DEFAULT NULL COMMENT 'ddl内容',
user_id bigint(20) unsigned NOT NULL DEFAULT 0 COMMENT '用户id',
PRIMARY KEY (id)
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 COMMENT='我的执行记录表'
2023-05-24 13:43:16.174 [main] DEBUG o.f.c.i.sqlscript.ParserSqlScript - Found statement at line 29: CREATE TABLE IF NOT EXISTS operation_saved (
id bigint(20) unsigned NOT NULL AUTO_INCREMENT COMMENT '主键',
gmt_create datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
gmt_modified datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '修改时间',
data_source_id bigint(20) unsigned NOT NULL COMMENT '数据源连接ID',
database_name varchar(128) DEFAULT NULL COMMENT 'db名称',
name varchar(128) DEFAULT NULL COMMENT '保存名称',
type varchar(32) NOT NULL COMMENT '数据库类型',
status varchar(32) NOT NULL COMMENT 'ddl语句状态:DRAFT/RELEASE',
ddl text DEFAULT NULL COMMENT 'ddl内容',
tab_opened text DEFAULT NULL COMMENT '是否在tab中被打开,y表示打开,n表示未打开',
user_id bigint(20) unsigned NOT NULL DEFAULT 0 COMMENT '用户id',
PRIMARY KEY (id)
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 COMMENT='我的保存表'
2023-05-24 13:43:16.177 [main] DEBUG o.f.core.internal.command.DbMigrate - Starting migration of schema "PUBLIC" to version "1.0.0 - 初始化信息" ...
2023-05-24 13:43:16.177 [main] INFO o.f.core.internal.command.DbMigrate - Migrating schema "PUBLIC" to version "1.0.0 - 初始化信息"
2023-05-24 13:43:16.179 [main] DEBUG o.f.c.i.s.DefaultSqlScriptExecutor - Executing SQL: CREATE TABLE IF NOT EXISTS data_source (
id bigint(20) unsigned NOT NULL AUTO_INCREMENT COMMENT '主键',
gmt_create datetime NOT NULL COMMENT '创建时间',
gmt_modified datetime NOT NULL COMMENT '修改时间',
alias varchar(128) DEFAULT NULL COMMENT '别名',
url varchar(1024) DEFAULT NULL COMMENT '连接地址',
user_name varchar(128) DEFAULT NULL COMMENT '用户名',
password varchar(256) DEFAULT NULL COMMENT '密码',
type varchar(32) DEFAULT NULL COMMENT '数据库类型',
env_type varchar(32) DEFAULT NULL COMMENT '环境类型',
user_id bigint(20) unsigned NOT NULL DEFAULT 0 COMMENT '用户id',
PRIMARY KEY (id)
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 COMMENT='数据源连接表'
2023-05-24 13:43:16.185 [main] DEBUG o.f.c.i.s.DefaultSqlScriptExecutor - 0 rows affected
2023-05-24 13:43:16.185 [main] DEBUG o.f.c.i.s.DefaultSqlScriptExecutor - Executing SQL: CREATE TABLE IF NOT EXISTS operation_log (
id bigint(20) unsigned NOT NULL AUTO_INCREMENT COMMENT '主键',
gmt_create datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
gmt_modified datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '修改时间',
data_source_id bigint(20) unsigned NOT NULL COMMENT '数据源连接ID',
database_name varchar(128) DEFAULT NULL COMMENT 'db名称',
type varchar(32) NOT NULL COMMENT '数据库类型',
ddl text DEFAULT NULL COMMENT 'ddl内容',
user_id bigint(20) unsigned NOT NULL DEFAULT 0 COMMENT '用户id',
PRIMARY KEY (id)
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 COMMENT='我的执行记录表'
2023-05-24 13:43:16.187 [main] DEBUG o.f.c.i.s.DefaultSqlScriptExecutor - 0 rows affected
2023-05-24 13:43:16.187 [main] DEBUG o.f.c.i.s.DefaultSqlScriptExecutor - Executing SQL: CREATE TABLE IF NOT EXISTS operation_saved (
id bigint(20) unsigned NOT NULL AUTO_INCREMENT COMMENT '主键',
gmt_create datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
gmt_modified datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '修改时间',
data_source_id bigint(20) unsigned NOT NULL COMMENT '数据源连接ID',
database_name varchar(128) DEFAULT NULL COMMENT 'db名称',
name varchar(128) DEFAULT NULL COMMENT '保存名称',
type varchar(32) NOT NULL COMMENT '数据库类型',
status varchar(32) NOT NULL COMMENT 'ddl语句状态:DRAFT/RELEASE',
ddl text DEFAULT NULL COMMENT 'ddl内容',
tab_opened text DEFAULT NULL COMMENT '是否在tab中被打开,y表示打开,n表示未打开',
user_id bigint(20) unsigned NOT NULL DEFAULT 0 COMMENT '用户id',
PRIMARY KEY (id)
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 COMMENT='我的保存表'
2023-05-24 13:43:16.189 [main] DEBUG o.f.c.i.s.DefaultSqlScriptExecutor - 0 rows affected
2023-05-24 13:43:16.189 [main] DEBUG o.f.core.internal.command.DbMigrate - Successfully completed migration of schema "PUBLIC" to version "1.0.0 - 初始化信息"
2023-05-24 13:43:16.191 [main] DEBUG o.f.c.i.s.JdbcTableSchemaHistory - Schema History table "PUBLIC"."flyway_schema_history" successfully updated to reflect changes
2023-05-24 13:43:16.195 [main] DEBUG o.f.core.internal.parser.Parser - Parsing V1_0_0_1__初始化信息-新增用户.sql ...
2023-05-24 13:43:16.197 [main] DEBUG o.f.c.i.sqlscript.ParserSqlScript - Found statement at line 1: CREATE TABLE IF NOT EXISTS dbhub_user (
id bigint(20) unsigned NOT NULL AUTO_INCREMENT COMMENT '主键',
gmt_create datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
gmt_modified datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '修改时间',
user_name varchar(32) NOT NULL COMMENT '用户名',
password varchar(256) DEFAULT NULL COMMENT '密码',
nick_name varchar(256) DEFAULT NULL COMMENT '昵称',
email varchar(256) DEFAULT NULL COMMENT '邮箱',
PRIMARY KEY (id)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='数据源连接表'
2023-05-24 13:43:16.197 [main] DEBUG o.f.c.i.sqlscript.ParserSqlScript - Found statement at line 13: INSERT INTO dbhub_user (user_name,password,nick_name) VALUES ('dbhub','$2a$10$yElafjDHPoPHSaCo6cjJGuWmtXWNVz/cOOOtDg99eNfvUfalzfane','管理员')
2023-05-24 13:43:16.197 [main] DEBUG o.f.core.internal.command.DbMigrate - Starting migration of schema "PUBLIC" to version "1.0.0.1 - 初始化信息-新增用户" ...
2023-05-24 13:43:16.198 [main] INFO o.f.core.internal.command.DbMigrate - Migrating schema "PUBLIC" to version "1.0.0.1 - 初始化信息-新增用户"
2023-05-24 13:43:16.198 [main] DEBUG o.f.c.i.s.DefaultSqlScriptExecutor - Executing SQL: CREATE TABLE IF NOT EXISTS dbhub_user (
id bigint(20) unsigned NOT NULL AUTO_INCREMENT COMMENT '主键',
gmt_create datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
gmt_modified datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '修改时间',
user_name varchar(32) NOT NULL COMMENT '用户名',
password varchar(256) DEFAULT NULL COMMENT '密码',
nick_name varchar(256) DEFAULT NULL COMMENT '昵称',
email varchar(256) DEFAULT NULL COMMENT '邮箱',
PRIMARY KEY (id)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='数据源连接表'
2023-05-24 13:43:16.199 [main] DEBUG o.f.c.i.s.DefaultSqlScriptExecutor - 0 rows affected
2023-05-24 13:43:16.199 [main] DEBUG o.f.c.i.s.DefaultSqlScriptExecutor - Executing SQL: INSERT INTO dbhub_user (user_name,password,nick_name) VALUES ('dbhub','$2a$10$yElafjDHPoPHSaCo6cjJGuWmtXWNVz/cOOOtDg99eNfvUfalzfane','管理员')
2023-05-24 13:43:16.200 [main] DEBUG o.f.c.i.s.DefaultSqlScriptExecutor - 1 row affected
2023-05-24 13:43:16.200 [main] DEBUG o.f.core.internal.command.DbMigrate - Successfully completed migration of schema "PUBLIC" to version "1.0.0.1 - 初始化信息-新增用户"
2023-05-24 13:43:16.201 [main] DEBUG o.f.c.i.s.JdbcTableSchemaHistory - Schema History table "PUBLIC"."flyway_schema_history" successfully updated to reflect changes
2023-05-24 13:43:16.202 [main] DEBUG o.f.core.internal.parser.Parser - Parsing V1_0_1__配置信息.sql ...
2023-05-24 13:43:16.204 [main] DEBUG o.f.c.i.sqlscript.ParserSqlScript - Found statement at line 1: CREATE TABLE IF NOT EXISTS system_config (
id bigint(20) unsigned NOT NULL AUTO_INCREMENT COMMENT '主键',
gmt_create datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
gmt_modified datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '修改时间',
code varchar(32) NOT NULL COMMENT '配置项编码',
content varchar(256) DEFAULT NULL COMMENT '配置项内容',
summary varchar(256) DEFAULT NULL COMMENT '配置项说明',
PRIMARY KEY (id)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='配置中心表'
2023-05-24 13:43:16.205 [main] DEBUG o.f.c.i.sqlscript.ParserSqlScript - Found statement at line 11: create UNIQUE INDEX uk_code on system_config(code)
2023-05-24 13:43:16.205 [main] DEBUG o.f.core.internal.command.DbMigrate - Starting migration of schema "PUBLIC" to version "1.0.1 - 配置信息" ...
2023-05-24 13:43:16.206 [main] INFO o.f.core.internal.command.DbMigrate - Migrating schema "PUBLIC" to version "1.0.1 - 配置信息"
2023-05-24 13:43:16.206 [main] DEBUG o.f.c.i.s.DefaultSqlScriptExecutor - Executing SQL: CREATE TABLE IF NOT EXISTS system_config (
id bigint(20) unsigned NOT NULL AUTO_INCREMENT COMMENT '主键',
gmt_create datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
gmt_modified datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '修改时间',
code varchar(32) NOT NULL COMMENT '配置项编码',
content varchar(256) DEFAULT NULL COMMENT '配置项内容',
summary varchar(256) DEFAULT NULL COMMENT '配置项说明',
PRIMARY KEY (id)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='配置中心表'
2023-05-24 13:43:16.207 [main] DEBUG o.f.c.i.s.DefaultSqlScriptExecutor - 0 rows affected
2023-05-24 13:43:16.207 [main] DEBUG o.f.c.i.s.DefaultSqlScriptExecutor - Executing SQL: create UNIQUE INDEX uk_code on system_config(code)
2023-05-24 13:43:16.208 [main] DEBUG o.f.c.i.s.DefaultSqlScriptExecutor - 0 rows affected
2023-05-24 13:43:16.208 [main] DEBUG o.f.core.internal.command.DbMigrate - Successfully completed migration of schema "PUBLIC" to version "1.0.1 - 配置信息"
2023-05-24 13:43:16.209 [main] DEBUG o.f.c.i.s.JdbcTableSchemaHistory - Schema History table "PUBLIC"."flyway_schema_history" successfully updated to reflect changes
2023-05-24 13:43:16.213 [main] DEBUG o.f.core.internal.parser.Parser - Parsing V1_0_2__修改Console.sql ...
2023-05-24 13:43:16.214 [main] DEBUG o.f.c.i.sqlscript.ParserSqlScript - Found statement at line 1: ALTER TABLE operation_saved ADD COLUMN db_schema_name varchar(128) NULL COMMENT 'schema名称'
2023-05-24 13:43:16.214 [main] DEBUG o.f.core.internal.command.DbMigrate - Starting migration of schema "PUBLIC" to version "1.0.2 - 修改Console" ...
2023-05-24 13:43:16.214 [main] INFO o.f.core.internal.command.DbMigrate - Migrating schema "PUBLIC" to version "1.0.2 - 修改Console"
2023-05-24 13:43:16.215 [main] DEBUG o.f.c.i.s.DefaultSqlScriptExecutor - Executing SQL: ALTER TABLE operation_saved ADD COLUMN db_schema_name varchar(128) NULL COMMENT 'schema名称'
2023-05-24 13:43:16.222 [main] DEBUG o.f.c.i.s.DefaultSqlScriptExecutor - 0 rows affected
2023-05-24 13:43:16.222 [main] DEBUG o.f.core.internal.command.DbMigrate - Successfully completed migration of schema "PUBLIC" to version "1.0.2 - 修改Console"
2023-05-24 13:43:16.224 [main] DEBUG o.f.c.i.s.JdbcTableSchemaHistory - Schema History table "PUBLIC"."flyway_schema_history" successfully updated to reflect changes
2023-05-24 13:43:16.225 [main] DEBUG o.f.core.internal.parser.Parser - Parsing V1_0_3_0__增加SSH.sql ...
2023-05-24 13:43:16.226 [main] DEBUG o.f.c.i.sqlscript.ParserSqlScript - Found statement at line 1: ALTER TABLE data_source ADD COLUMN host varchar(128) NULL COMMENT 'host地址'
2023-05-24 13:43:16.226 [main] DEBUG o.f.c.i.sqlscript.ParserSqlScript - Found statement at line 2: ALTER TABLE data_source ADD COLUMN port varchar(128) NULL COMMENT '端口'
2023-05-24 13:43:16.226 [main] DEBUG o.f.c.i.sqlscript.ParserSqlScript - Found statement at line 3: ALTER TABLE data_source ADD COLUMN ssh varchar(1024) NULL COMMENT 'ssh配置信息json'
2023-05-24 13:43:16.227 [main] DEBUG o.f.c.i.sqlscript.ParserSqlScript - Found statement at line 4: ALTER TABLE data_source ADD COLUMN ssl varchar(1024) NULL COMMENT 'ssl配置信息json'
2023-05-24 13:43:16.227 [main] DEBUG o.f.c.i.sqlscript.ParserSqlScript - Found statement at line 5: ALTER TABLE data_source ADD COLUMN sid varchar(32) NULL COMMENT 'sid'
2023-05-24 13:43:16.227 [main] DEBUG o.f.c.i.sqlscript.ParserSqlScript - Found statement at line 6: ALTER TABLE data_source ADD COLUMN driver varchar(128) NULL COMMENT '驱动信息'
2023-05-24 13:43:16.227 [main] DEBUG o.f.c.i.sqlscript.ParserSqlScript - Found statement at line 7: ALTER TABLE data_source ADD COLUMN jdbc varchar(128) NULL COMMENT 'jdbc版本'
2023-05-24 13:43:16.227 [main] DEBUG o.f.c.i.sqlscript.ParserSqlScript - Found statement at line 8: ALTER TABLE data_source ADD COLUMN extend_info varchar(4096) NULL COMMENT '自定义扩展字段json'
2023-05-24 13:43:16.227 [main] DEBUG o.f.c.i.sqlscript.ParserSqlScript - Found statement at line 9: create INDEX idx_user_id on data_source(user_id)
2023-05-24 13:43:16.227 [main] DEBUG o.f.core.internal.command.DbMigrate - Starting migration of schema "PUBLIC" to version "1.0.3.0 - 增加SSH" ...
2023-05-24 13:43:16.228 [main] INFO o.f.core.internal.command.DbMigrate - Migrating schema "PUBLIC" to version "1.0.3.0 - 增加SSH"
2023-05-24 13:43:16.228 [main] DEBUG o.f.c.i.s.DefaultSqlScriptExecutor - Executing SQL: ALTER TABLE data_source ADD COLUMN host varchar(128) NULL COMMENT 'host地址'
2023-05-24 13:43:16.231 [main] DEBUG o.f.c.i.s.DefaultSqlScriptExecutor - 0 rows affected
2023-05-24 13:43:16.231 [main] DEBUG o.f.c.i.s.DefaultSqlScriptExecutor - Executing SQL: ALTER TABLE data_source ADD COLUMN port varchar(128) NULL COMMENT '端口'
2023-05-24 13:43:16.234 [main] DEBUG o.f.c.i.s.DefaultSqlScriptExecutor - 0 rows affected
2023-05-24 13:43:16.234 [main] DEBUG o.f.c.i.s.DefaultSqlScriptExecutor - Executing SQL: ALTER TABLE data_source ADD COLUMN ssh varchar(1024) NULL COMMENT 'ssh配置信息json'
2023-05-24 13:43:16.238 [main] DEBUG o.f.c.i.s.DefaultSqlScriptExecutor - 0 rows affected
2023-05-24 13:43:16.238 [main] DEBUG o.f.c.i.s.DefaultSqlScriptExecutor - Executing SQL: ALTER TABLE data_source ADD COLUMN ssl varchar(1024) NULL COMMENT 'ssl配置信息json'
2023-05-24 13:43:16.242 [main] DEBUG o.f.c.i.s.DefaultSqlScriptExecutor - 0 rows affected
2023-05-24 13:43:16.242 [main] DEBUG o.f.c.i.s.DefaultSqlScriptExecutor - Executing SQL: ALTER TABLE data_source ADD COLUMN sid varchar(32) NULL COMMENT 'sid'
2023-05-24 13:43:16.244 [main] DEBUG o.f.c.i.s.DefaultSqlScriptExecutor - 0 rows affected
2023-05-24 13:43:16.245 [main] DEBUG o.f.c.i.s.DefaultSqlScriptExecutor - Executing SQL: ALTER TABLE data_source ADD COLUMN driver varchar(128) NULL COMMENT '驱动信息'
2023-05-24 13:43:16.248 [main] DEBUG o.f.c.i.s.DefaultSqlScriptExecutor - 0 rows affected
2023-05-24 13:43:16.248 [main] DEBUG o.f.c.i.s.DefaultSqlScriptExecutor - Executing SQL: ALTER TABLE data_source ADD COLUMN jdbc varchar(128) NULL COMMENT 'jdbc版本'
2023-05-24 13:43:16.250 [main] DEBUG o.f.c.i.s.DefaultSqlScriptExecutor - 0 rows affected
2023-05-24 13:43:16.251 [main] DEBUG o.f.c.i.s.DefaultSqlScriptExecutor - Executing SQL: ALTER TABLE data_source ADD COLUMN extend_info varchar(4096) NULL COMMENT '自定义扩展字段json'
2023-05-24 13:43:16.255 [main] DEBUG o.f.c.i.s.DefaultSqlScriptExecutor - 0 rows affected
2023-05-24 13:43:16.256 [main] DEBUG o.f.c.i.s.DefaultSqlScriptExecutor - Executing SQL: create INDEX idx_user_id on data_source(user_id)
2023-05-24 13:43:16.256 [main] DEBUG o.f.c.i.s.DefaultSqlScriptExecutor - 0 rows affected
2023-05-24 13:43:16.256 [main] DEBUG o.f.core.internal.command.DbMigrate - Successfully completed migration of schema "PUBLIC" to version "1.0.3.0 - 增加SSH"
2023-05-24 13:43:16.257 [main] DEBUG o.f.c.i.s.JdbcTableSchemaHistory - Schema History table "PUBLIC"."flyway_schema_history" successfully updated to reflect changes
2023-05-24 13:43:16.259 [main] INFO o.f.core.internal.command.DbMigrate - Successfully applied 5 migrations to schema "PUBLIC", now at version v1.0.3.0 (execution time 00:00.095s)
2023-05-24 13:43:16.261 [main] DEBUG org.flywaydb.core.FlywayExecutor - Memory usage: 96 of 288M
2023-05-24 13:43:16.423 [main] INFO o.s.b.w.e.tomcat.TomcatWebServer - Tomcat started on port(s): 10824 (http) with context path ''
2023-05-24 13:43:16.432 [main] INFO c.a.dbhub.server.start.Application - Started Application in 7.634 seconds (JVM running for 8.38)
2023-05-24 13:44:28.012 [main] INFO c.a.d.s.s.c.l.ManageApplicationListener - 启动端口为:10824
2023-05-24 13:44:28.344 [main] INFO c.d.f.config.ForestConfiguration - [Forest] Http Backend: okhttp3
2023-05-24 13:44:28.576 [main] INFO c.d.forest.logging.DefaultLogHandler - [Forest] Request (okhttp3):
GET http://127.0.0.1:10824/api/system/get-version-a HTTP
Headers:
User-Agent: forest/1.5.31
2023-05-24 13:44:28.602 [main] INFO c.d.forest.logging.DefaultLogHandler - [Forest] Response: [Network Error]: Failed to connect to /127.0.0.1:10824
2023-05-24 13:44:28.604 [main] INFO c.a.d.s.s.c.l.ManageApplicationListener - 尝试访问旧的应用失败。本异常不重要,正常启动启动都会输出,请忽略。java.net.ConnectException: Failed to connect to /127.0.0.1:10824
2023-05-24 13:44:28.741 [main] INFO c.a.dbhub.server.start.Application - Starting Application v1.0.0-SNAPSHOT using Java 17.0.7 on DESKTOP-NMPP2R7 with PID 53772 (D:\Program Files\chat2db\Chat2DB-Test\resources\app\app\ali-dbhub-server-start.jar started by 刘亮 in D:\Program Files\chat2db\Chat2DB-Test)
2023-05-24 13:44:28.742 [main] INFO c.a.dbhub.server.start.Application - The following 1 profile is active: "test"
2023-05-24 13:44:30.114 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'com.dtflys.forest.springboot.ForestAutoConfiguration' of type [com.dtflys.forest.springboot.ForestAutoConfiguration$$EnhancerBySpringCGLIB$$c80848ab] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-05-24 13:44:30.136 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'forestProperties' of type [com.dtflys.forest.config.SpringForestProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-05-24 13:44:30.140 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'forestObjectFactory' of type [com.dtflys.forest.reflection.SpringForestObjectFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-05-24 13:44:30.144 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'forestInterceptorFactory' of type [com.dtflys.forest.interceptor.SpringInterceptorFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-05-24 13:44:30.157 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'org.springframework.boot.autoconfigure.flyway.FlywayAutoConfiguration' of type [org.springframework.boot.autoconfigure.flyway.FlywayAutoConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-05-24 13:44:30.160 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'stringOrNumberMigrationVersionConverter' of type [org.springframework.boot.autoconfigure.flyway.FlywayAutoConfiguration$StringOrNumberToMigrationVersionConverter] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-05-24 13:44:30.181 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'forest-com.dtflys.forest.springboot.properties.ForestConfigurationProperties' of type [com.dtflys.forest.springboot.properties.ForestConfigurationProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-05-24 13:44:30.214 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 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)
2023-05-24 13:44:30.232 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'forestConverterBeanListener' of type [com.dtflys.forest.spring.ConverterBeanListener] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-05-24 13:44:30.758 [main] INFO o.s.b.w.e.tomcat.TomcatWebServer - Tomcat initialized with port(s): 10824 (http)
2023-05-24 13:44:30.770 [main] INFO o.a.catalina.core.StandardService - Starting service [Tomcat]
2023-05-24 13:44:30.771 [main] INFO o.a.catalina.core.StandardEngine - Starting Servlet engine: [Apache Tomcat/9.0.65]
2023-05-24 13:44:30.845 [main] INFO o.a.c.c.C.[Tomcat].[localhost].[/] - Initializing Spring embedded WebApplicationContext
2023-05-24 13:44:30.845 [main] INFO o.s.b.w.s.c.ServletWebServerApplicationContext - Root WebApplicationContext: initialization completed in 2050 ms
2023-05-24 13:44:30.954 [main] INFO com.zaxxer.hikari.HikariDataSource - HikariPool-1 - Starting...
2023-05-24 13:44:31.334 [main] INFO com.zaxxer.hikari.HikariDataSource - HikariPool-1 - Start completed.
2023-05-24 13:44:31.346 [main] INFO o.s.b.a.h.H2ConsoleAutoConfiguration - H2 console available at '/h2'. Database available at 'jdbc:h2:/.chat2db/db/chat2db_test'
2023-05-24 13:44:32.810 [main] INFO o.s.b.a.w.s.WelcomePageHandlerMapping - Adding welcome page template: index
2023-05-24 13:44:33.081 [main] WARN o.t.templatemode.TemplateMode - [THYMELEAF][main] Template Mode 'HTML5' is deprecated. Using Template Mode 'HTML' instead.
2023-05-24 13:44:33.141 [main] INFO c.a.d.s.s.config.oauth.SaLogForSlf4j - 全局组件 SaLog 载入成功: com.alibaba.dbhub.server.start.config.oauth.SaLogForSlf4j
2023-05-24 13:44:33.143 [main] INFO c.a.d.s.s.config.oauth.SaLogForSlf4j - 全局配置 SaTokenConfig [tokenName=DBHUB, timeout=2592000, activityTimeout=-1, isConcurrent=true, isShare=true, maxLoginCount=12, isReadBody=true, isReadHeader=true, isReadCookie=true, isWriteHeader=true, tokenStyle=uuid, dataRefreshPeriod=30, tokenSessionCheckLogin=true, autoRenew=true, tokenPrefix=null, isPrint=true, isLog=true, logLevel=trace, logLevelInt=1, jwtSecretKey=jwt_dbhub, basic=, currDomain=null, sameTokenTimeout=86400, checkSameToken=false, cookie=SaCookieConfig [domain=null, path=null, secure=false, httpOnly=false, sameSite=null]]
2023-05-24 13:44:33.160 [main] INFO c.a.d.s.s.config.oauth.SaLogForSlf4j - 全局组件 SaTokenContext 载入成功: cn.dev33.satoken.spring.SaTokenContextForSpring
2023-05-24 13:44:33.164 [main] INFO c.a.d.s.s.config.oauth.SaLogForSlf4j - 全局组件 SaJsonTemplate 载入成功: cn.dev33.satoken.spring.json.SaJsonTemplateForJackson
2023-05-24 13:44:33.166 [main] INFO c.a.d.s.s.config.oauth.SaLogForSlf4j - 会话组件 StpLogic(type=login) 重置成功: class cn.dev33.satoken.jwt.StpLogicJwtForStateless
2023-05-24 13:44:33.329 [main] INFO o.f.c.i.license.VersionPrinter - Flyway Community Edition 9.8.1 by Redgate
2023-05-24 13:44:33.330 [main] INFO o.f.c.i.license.VersionPrinter - See what's new here: https://flywaydb.org/documentation/learnmore/releaseNotes#9.8.1
2023-05-24 13:44:33.330 [main] INFO o.f.c.i.license.VersionPrinter -
2023-05-24 13:44:33.333 [main] DEBUG o.f.c.internal.util.FeatureDetector - AWS SDK available: false
2023-05-24 13:44:33.333 [main] DEBUG o.f.c.internal.util.FeatureDetector - Google Cloud Storage available: false
2023-05-24 13:44:33.334 [main] DEBUG o.f.c.i.s.classpath.ClassPathScanner - Scanning for classpath resources at 'classpath:db/callback' ...
2023-05-24 13:44:33.335 [main] DEBUG o.f.c.i.s.classpath.ClassPathScanner - Determining location urls for classpath:db/callback using ClassLoader org.springframework.boot.loader.LaunchedURLClassLoader@736e9adb ...
2023-05-24 13:44:33.335 [main] DEBUG o.f.c.i.s.classpath.ClassPathScanner - Unable to resolve location classpath:db/callback.
2023-05-24 13:44:33.335 [main] DEBUG o.f.c.i.s.classpath.ClassPathScanner - Scanning for classpath resources at 'classpath:db/migration/dev' ...
2023-05-24 13:44:33.335 [main] DEBUG o.f.c.i.s.classpath.ClassPathScanner - Determining location urls for classpath:db/migration/dev using ClassLoader org.springframework.boot.loader.LaunchedURLClassLoader@736e9adb ...
2023-05-24 13:44:33.336 [main] DEBUG o.f.c.i.s.classpath.ClassPathScanner - Scanning URL: jar:file:/D:/Program%20Files/chat2db/Chat2DB-Test/resources/app/app/ali-dbhub-server-start.jar!/BOOT-INF/classes!/db/migration/dev
2023-05-24 13:44:33.337 [main] DEBUG o.f.c.internal.util.FeatureDetector - JBoss VFS v2 available: false
2023-05-24 13:44:33.342 [main] DEBUG o.f.c.i.s.classpath.ClassPathScanner - Found resource: db/migration/dev/
2023-05-24 13:44:33.342 [main] DEBUG o.f.c.i.s.classpath.ClassPathScanner - Found resource: db/migration/dev/V1_0_0_1__初始化信息-新增用户.sql
2023-05-24 13:44:33.342 [main] DEBUG o.f.c.i.s.classpath.ClassPathScanner - Found resource: db/migration/dev/V1_0_0__初始化信息.sql
2023-05-24 13:44:33.342 [main] DEBUG o.f.c.i.s.classpath.ClassPathScanner - Found resource: db/migration/dev/V1_0_1__配置信息.sql
2023-05-24 13:44:33.343 [main] DEBUG o.f.c.i.s.classpath.ClassPathScanner - Found resource: db/migration/dev/V1_0_2__修改Console.sql
2023-05-24 13:44:33.343 [main] DEBUG o.f.c.i.s.classpath.ClassPathScanner - Found resource: db/migration/dev/V1_0_3_0__增加SSH.sql
2023-05-24 13:44:33.343 [main] DEBUG o.f.c.i.s.classpath.ClassPathScanner - Scanning for classes at classpath:db/migration/dev
2023-05-24 13:44:33.346 [main] DEBUG o.f.core.internal.scanner.Scanner - Filtering out resource: db/migration/dev/ (filename: )
2023-05-24 13:44:33.346 [main] DEBUG o.f.c.i.r.ResourceNameValidator - Validating V1_0_0__初始化信息.sql
2023-05-24 13:44:33.347 [main] DEBUG o.f.c.i.r.ResourceNameValidator - Validating V1_0_3_0__增加SSH.sql
2023-05-24 13:44:33.347 [main] DEBUG o.f.c.i.r.ResourceNameValidator - Validating V1_0_2__修改Console.sql
2023-05-24 13:44:33.347 [main] DEBUG o.f.c.i.r.ResourceNameValidator - Validating V1_0_1__配置信息.sql
2023-05-24 13:44:33.347 [main] DEBUG o.f.c.i.r.ResourceNameValidator - Validating V1_0_0_1__初始化信息-新增用户.sql
2023-05-24 13:44:33.359 [main] INFO o.f.c.i.d.base.BaseDatabaseType - Database: jdbc:h2:
/.chat2db/db/chat2db_test (H2 2.1)
2023-05-24 13:44:33.359 [main] DEBUG o.f.c.i.d.base.BaseDatabaseType - Driver : H2 JDBC Driver 2.1.214 (2022-06-13)
2023-05-24 13:44:33.396 [main] DEBUG org.flywaydb.core.FlywayExecutor - DDL Transactions Supported: false
2023-05-24 13:44:33.397 [main] DEBUG o.f.c.i.s.SchemaHistoryFactory - Schemas:
2023-05-24 13:44:33.397 [main] DEBUG o.f.c.i.s.SchemaHistoryFactory - Default schema: null
2023-05-24 13:44:33.402 [main] DEBUG o.f.c.i.c.SqlScriptCallbackFactory - Scanning for SQL callbacks ...
2023-05-24 13:44:33.402 [main] DEBUG o.f.core.internal.scanner.Scanner - Filtering out resource: db/migration/dev/ (filename: )
2023-05-24 13:44:33.413 [main] DEBUG o.f.core.internal.command.DbValidate - Validating migrations ...
2023-05-24 13:44:33.418 [main] DEBUG o.f.core.internal.scanner.Scanner - Filtering out resource: db/migration/dev/ (filename: )
2023-05-24 13:44:33.430 [main] DEBUG o.f.core.internal.scanner.Scanner - Filtering out resource: db/migration/dev/V1_0_0__初始化信息.sql (filename: V1_0_0__初始化信息.sql)
2023-05-24 13:44:33.430 [main] DEBUG o.f.core.internal.scanner.Scanner - Filtering out resource: db/migration/dev/V1_0_3_0__增加SSH.sql (filename: V1_0_3_0__增加SSH.sql)
2023-05-24 13:44:33.430 [main] DEBUG o.f.core.internal.scanner.Scanner - Filtering out resource: db/migration/dev/V1_0_2__修改Console.sql (filename: V1_0_2__修改Console.sql)
2023-05-24 13:44:33.430 [main] DEBUG o.f.core.internal.scanner.Scanner - Filtering out resource: db/migration/dev/V1_0_1__配置信息.sql (filename: V1_0_1__配置信息.sql)
2023-05-24 13:44:33.431 [main] DEBUG o.f.core.internal.scanner.Scanner - Filtering out resource: db/migration/dev/V1_0_0_1__初始化信息-新增用户.sql (filename: V1_0_0_1__初始化信息-新增用户.sql)
2023-05-24 13:44:33.431 [main] DEBUG o.f.core.internal.scanner.Scanner - Filtering out resource: db/migration/dev/ (filename: )
2023-05-24 13:44:33.445 [main] INFO o.f.core.internal.command.DbValidate - Successfully validated 5 migrations (execution time 00:00.030s)
2023-05-24 13:44:33.447 [main] DEBUG o.f.core.internal.command.DbSchemas - Skipping creation of existing schema: "PUBLIC"
2023-05-24 13:44:33.452 [main] INFO o.f.core.internal.command.DbMigrate - Current version of schema "PUBLIC": 1.0.3.0
2023-05-24 13:44:33.453 [main] INFO o.f.core.internal.command.DbMigrate - Schema "PUBLIC" is up to date. No migration necessary.
2023-05-24 13:44:33.455 [main] DEBUG org.flywaydb.core.FlywayExecutor - Memory usage: 183 of 290M
2023-05-24 13:44:33.644 [main] INFO o.s.b.w.e.tomcat.TomcatWebServer - Tomcat started on port(s): 10824 (http) with context path ''
2023-05-24 13:44:33.653 [main] INFO c.a.dbhub.server.start.Application - Started Application in 6.188 seconds (JVM running for 6.697)
2023-05-24 13:45:02.226 [main] INFO c.a.d.s.s.c.l.ManageApplicationListener - 启动端口为:10824
2023-05-24 13:45:02.587 [main] INFO c.d.f.config.ForestConfiguration - [Forest] Http Backend: okhttp3
2023-05-24 13:45:02.831 [main] INFO c.d.forest.logging.DefaultLogHandler - [Forest] Request (okhttp3):
GET http://127.0.0.1:10824/api/system/get-version-a HTTP
Headers:
User-Agent: forest/1.5.31
2023-05-24 13:45:02.914 [http-nio-127.0.0.1-10824-exec-2] INFO o.a.c.c.C.[Tomcat].[localhost].[/] - Initializing Spring DispatcherServlet 'dispatcherServlet'
2023-05-24 13:45:02.915 [http-nio-127.0.0.1-10824-exec-2] INFO o.s.web.servlet.DispatcherServlet - Initializing Servlet 'dispatcherServlet'
2023-05-24 13:45:02.916 [http-nio-127.0.0.1-10824-exec-2] INFO o.s.web.servlet.DispatcherServlet - Completed initialization in 1 ms
2023-05-24 13:45:03.051 [main] INFO c.d.forest.logging.DefaultLogHandler - [Forest] Response: Status = 200, Time = 210ms
2023-05-24 13:45:03.113 [main] INFO c.a.d.s.s.c.l.ManageApplicationListener - 当前接口已经存在启动的应用了,本应用不在启动
2023-05-24 13:47:38.904 [main] INFO c.a.d.s.s.c.l.ManageApplicationListener - 启动端口为:10824
2023-05-24 13:47:39.222 [main] INFO c.d.f.config.ForestConfiguration - [Forest] Http Backend: okhttp3
2023-05-24 13:47:39.482 [main] INFO c.d.forest.logging.DefaultLogHandler - [Forest] Request (okhttp3):
GET http://127.0.0.1:10824/api/system/get-version-a HTTP
Headers:
User-Agent: forest/1.5.31
2023-05-24 13:47:39.509 [main] INFO c.d.forest.logging.DefaultLogHandler - [Forest] Response: [Network Error]: Failed to connect to /127.0.0.1:10824
2023-05-24 13:47:39.511 [main] INFO c.a.d.s.s.c.l.ManageApplicationListener - 尝试访问旧的应用失败。本异常不重要,正常启动启动都会输出,请忽略。java.net.ConnectException: Failed to connect to /127.0.0.1:10824
2023-05-24 13:47:39.655 [main] INFO c.a.dbhub.server.start.Application - Starting Application v1.0.0-SNAPSHOT using Java 17.0.7 on DESKTOP-NMPP2R7 with PID 49648 (G:\chat2db\Chat2DB-Test\resources\app\app\ali-dbhub-server-start.jar started by 刘亮 in G:\chat2db\Chat2DB-Test)
2023-05-24 13:47:39.657 [main] INFO c.a.dbhub.server.start.Application - The following 1 profile is active: "test"
2023-05-24 13:47:41.010 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'com.dtflys.forest.springboot.ForestAutoConfiguration' of type [com.dtflys.forest.springboot.ForestAutoConfiguration$$EnhancerBySpringCGLIB$$8d83682d] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-05-24 13:47:41.031 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'forestProperties' of type [com.dtflys.forest.config.SpringForestProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-05-24 13:47:41.034 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'forestObjectFactory' of type [com.dtflys.forest.reflection.SpringForestObjectFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-05-24 13:47:41.038 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'forestInterceptorFactory' of type [com.dtflys.forest.interceptor.SpringInterceptorFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-05-24 13:47:41.049 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'org.springframework.boot.autoconfigure.flyway.FlywayAutoConfiguration' of type [org.springframework.boot.autoconfigure.flyway.FlywayAutoConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-05-24 13:47:41.052 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'stringOrNumberMigrationVersionConverter' of type [org.springframework.boot.autoconfigure.flyway.FlywayAutoConfiguration$StringOrNumberToMigrationVersionConverter] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-05-24 13:47:41.073 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'forest-com.dtflys.forest.springboot.properties.ForestConfigurationProperties' of type [com.dtflys.forest.springboot.properties.ForestConfigurationProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-05-24 13:47:41.097 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 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)
2023-05-24 13:47:41.111 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'forestConverterBeanListener' of type [com.dtflys.forest.spring.ConverterBeanListener] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-05-24 13:47:41.564 [main] INFO o.s.b.w.e.tomcat.TomcatWebServer - Tomcat initialized with port(s): 10824 (http)
2023-05-24 13:47:41.576 [main] INFO o.a.catalina.core.StandardService - Starting service [Tomcat]
2023-05-24 13:47:41.576 [main] INFO o.a.catalina.core.StandardEngine - Starting Servlet engine: [Apache Tomcat/9.0.65]
2023-05-24 13:47:41.644 [main] INFO o.a.c.c.C.[Tomcat].[localhost].[/] - Initializing Spring embedded WebApplicationContext
2023-05-24 13:47:41.649 [main] INFO o.s.b.w.s.c.ServletWebServerApplicationContext - Root WebApplicationContext: initialization completed in 1932 ms
2023-05-24 13:47:41.729 [main] INFO com.zaxxer.hikari.HikariDataSource - HikariPool-1 - Starting...
2023-05-24 13:47:42.100 [main] INFO com.zaxxer.hikari.HikariDataSource - HikariPool-1 - Start completed.
2023-05-24 13:47:42.112 [main] INFO o.s.b.a.h.H2ConsoleAutoConfiguration - H2 console available at '/h2'. Database available at 'jdbc:h2:/.chat2db/db/chat2db_test'
2023-05-24 13:47:43.548 [main] INFO o.s.b.a.w.s.WelcomePageHandlerMapping - Adding welcome page template: index
2023-05-24 13:47:43.810 [main] WARN o.t.templatemode.TemplateMode - [THYMELEAF][main] Template Mode 'HTML5' is deprecated. Using Template Mode 'HTML' instead.
2023-05-24 13:47:43.873 [main] INFO c.a.d.s.s.config.oauth.SaLogForSlf4j - 全局组件 SaLog 载入成功: com.alibaba.dbhub.server.start.config.oauth.SaLogForSlf4j
2023-05-24 13:47:43.875 [main] INFO c.a.d.s.s.config.oauth.SaLogForSlf4j - 全局配置 SaTokenConfig [tokenName=DBHUB, timeout=2592000, activityTimeout=-1, isConcurrent=true, isShare=true, maxLoginCount=12, isReadBody=true, isReadHeader=true, isReadCookie=true, isWriteHeader=true, tokenStyle=uuid, dataRefreshPeriod=30, tokenSessionCheckLogin=true, autoRenew=true, tokenPrefix=null, isPrint=true, isLog=true, logLevel=trace, logLevelInt=1, jwtSecretKey=jwt_dbhub, basic=, currDomain=null, sameTokenTimeout=86400, checkSameToken=false, cookie=SaCookieConfig [domain=null, path=null, secure=false, httpOnly=false, sameSite=null]]
2023-05-24 13:47:43.886 [main] INFO c.a.d.s.s.config.oauth.SaLogForSlf4j - 全局组件 SaTokenContext 载入成功: cn.dev33.satoken.spring.SaTokenContextForSpring
2023-05-24 13:47:43.890 [main] INFO c.a.d.s.s.config.oauth.SaLogForSlf4j - 全局组件 SaJsonTemplate 载入成功: cn.dev33.satoken.spring.json.SaJsonTemplateForJackson
2023-05-24 13:47:43.892 [main] INFO c.a.d.s.s.config.oauth.SaLogForSlf4j - 会话组件 StpLogic(type=login) 重置成功: class cn.dev33.satoken.jwt.StpLogicJwtForStateless
2023-05-24 13:47:44.037 [main] INFO o.f.c.i.license.VersionPrinter - Flyway Community Edition 9.8.1 by Redgate
2023-05-24 13:47:44.037 [main] INFO o.f.c.i.license.VersionPrinter - See what's new here: https://flywaydb.org/documentation/learnmore/releaseNotes#9.8.1
2023-05-24 13:47:44.037 [main] INFO o.f.c.i.license.VersionPrinter -
2023-05-24 13:47:44.040 [main] DEBUG o.f.c.internal.util.FeatureDetector - AWS SDK available: false
2023-05-24 13:47:44.041 [main] DEBUG o.f.c.internal.util.FeatureDetector - Google Cloud Storage available: false
2023-05-24 13:47:44.042 [main] DEBUG o.f.c.i.s.classpath.ClassPathScanner - Scanning for classpath resources at 'classpath:db/callback' ...
2023-05-24 13:47:44.042 [main] DEBUG o.f.c.i.s.classpath.ClassPathScanner - Determining location urls for classpath:db/callback using ClassLoader org.springframework.boot.loader.LaunchedURLClassLoader@77a567e1 ...
2023-05-24 13:47:44.042 [main] DEBUG o.f.c.i.s.classpath.ClassPathScanner - Unable to resolve location classpath:db/callback.
2023-05-24 13:47:44.042 [main] DEBUG o.f.c.i.s.classpath.ClassPathScanner - Scanning for classpath resources at 'classpath:db/migration/dev' ...
2023-05-24 13:47:44.042 [main] DEBUG o.f.c.i.s.classpath.ClassPathScanner - Determining location urls for classpath:db/migration/dev using ClassLoader org.springframework.boot.loader.LaunchedURLClassLoader@77a567e1 ...
2023-05-24 13:47:44.043 [main] DEBUG o.f.c.i.s.classpath.ClassPathScanner - Scanning URL: jar:file:/G:/chat2db/Chat2DB-Test/resources/app/app/ali-dbhub-server-start.jar!/BOOT-INF/classes!/db/migration/dev
2023-05-24 13:47:44.043 [main] DEBUG o.f.c.internal.util.FeatureDetector - JBoss VFS v2 available: false
2023-05-24 13:47:44.046 [main] DEBUG o.f.c.i.s.classpath.ClassPathScanner - Found resource: db/migration/dev/
2023-05-24 13:47:44.047 [main] DEBUG o.f.c.i.s.classpath.ClassPathScanner - Found resource: db/migration/dev/V1_0_0_1__初始化信息-新增用户.sql
2023-05-24 13:47:44.047 [main] DEBUG o.f.c.i.s.classpath.ClassPathScanner - Found resource: db/migration/dev/V1_0_0__初始化信息.sql
2023-05-24 13:47:44.047 [main] DEBUG o.f.c.i.s.classpath.ClassPathScanner - Found resource: db/migration/dev/V1_0_1__配置信息.sql
2023-05-24 13:47:44.047 [main] DEBUG o.f.c.i.s.classpath.ClassPathScanner - Found resource: db/migration/dev/V1_0_2__修改Console.sql
2023-05-24 13:47:44.047 [main] DEBUG o.f.c.i.s.classpath.ClassPathScanner - Found resource: db/migration/dev/V1_0_3_0__增加SSH.sql
2023-05-24 13:47:44.047 [main] DEBUG o.f.c.i.s.classpath.ClassPathScanner - Scanning for classes at classpath:db/migration/dev
2023-05-24 13:47:44.050 [main] DEBUG o.f.core.internal.scanner.Scanner - Filtering out resource: db/migration/dev/ (filename: )
2023-05-24 13:47:44.050 [main] DEBUG o.f.c.i.r.ResourceNameValidator - Validating V1_0_1__配置信息.sql
2023-05-24 13:47:44.051 [main] DEBUG o.f.c.i.r.ResourceNameValidator - Validating V1_0_0__初始化信息.sql
2023-05-24 13:47:44.051 [main] DEBUG o.f.c.i.r.ResourceNameValidator - Validating V1_0_2__修改Console.sql
2023-05-24 13:47:44.051 [main] DEBUG o.f.c.i.r.ResourceNameValidator - Validating V1_0_3_0__增加SSH.sql
2023-05-24 13:47:44.051 [main] DEBUG o.f.c.i.r.ResourceNameValidator - Validating V1_0_0_1__初始化信息-新增用户.sql
2023-05-24 13:47:44.061 [main] INFO o.f.c.i.d.base.BaseDatabaseType - Database: jdbc:h2:
/.chat2db/db/chat2db_test (H2 2.1)
2023-05-24 13:47:44.061 [main] DEBUG o.f.c.i.d.base.BaseDatabaseType - Driver : H2 JDBC Driver 2.1.214 (2022-06-13)
2023-05-24 13:47:44.092 [main] DEBUG org.flywaydb.core.FlywayExecutor - DDL Transactions Supported: false
2023-05-24 13:47:44.094 [main] DEBUG o.f.c.i.s.SchemaHistoryFactory - Schemas:
2023-05-24 13:47:44.094 [main] DEBUG o.f.c.i.s.SchemaHistoryFactory - Default schema: null
2023-05-24 13:47:44.098 [main] DEBUG o.f.c.i.c.SqlScriptCallbackFactory - Scanning for SQL callbacks ...
2023-05-24 13:47:44.099 [main] DEBUG o.f.core.internal.scanner.Scanner - Filtering out resource: db/migration/dev/ (filename: )
2023-05-24 13:47:44.107 [main] DEBUG o.f.core.internal.command.DbValidate - Validating migrations ...
2023-05-24 13:47:44.111 [main] DEBUG o.f.core.internal.scanner.Scanner - Filtering out resource: db/migration/dev/ (filename: )
2023-05-24 13:47:44.121 [main] DEBUG o.f.core.internal.scanner.Scanner - Filtering out resource: db/migration/dev/V1_0_1__配置信息.sql (filename: V1_0_1__配置信息.sql)
2023-05-24 13:47:44.122 [main] DEBUG o.f.core.internal.scanner.Scanner - Filtering out resource: db/migration/dev/V1_0_0__初始化信息.sql (filename: V1_0_0__初始化信息.sql)
2023-05-24 13:47:44.122 [main] DEBUG o.f.core.internal.scanner.Scanner - Filtering out resource: db/migration/dev/V1_0_2__修改Console.sql (filename: V1_0_2__修改Console.sql)
2023-05-24 13:47:44.122 [main] DEBUG o.f.core.internal.scanner.Scanner - Filtering out resource: db/migration/dev/V1_0_3_0__增加SSH.sql (filename: V1_0_3_0__增加SSH.sql)
2023-05-24 13:47:44.122 [main] DEBUG o.f.core.internal.scanner.Scanner - Filtering out resource: db/migration/dev/V1_0_0_1__初始化信息-新增用户.sql (filename: V1_0_0_1__初始化信息-新增用户.sql)
2023-05-24 13:47:44.122 [main] DEBUG o.f.core.internal.scanner.Scanner - Filtering out resource: db/migration/dev/ (filename: )
2023-05-24 13:47:44.133 [main] INFO o.f.core.internal.command.DbValidate - Successfully validated 5 migrations (execution time 00:00.024s)
2023-05-24 13:47:44.135 [main] DEBUG o.f.core.internal.command.DbSchemas - Skipping creation of existing schema: "PUBLIC"
2023-05-24 13:47:44.141 [main] INFO o.f.core.internal.command.DbMigrate - Current version of schema "PUBLIC": 1.0.3.0
2023-05-24 13:47:44.142 [main] INFO o.f.core.internal.command.DbMigrate - Schema "PUBLIC" is up to date. No migration necessary.
2023-05-24 13:47:44.143 [main] DEBUG org.flywaydb.core.FlywayExecutor - Memory usage: 88 of 293M
2023-05-24 13:47:44.301 [main] INFO o.s.b.w.e.tomcat.TomcatWebServer - Tomcat started on port(s): 10824 (http) with context path ''
2023-05-24 13:47:44.312 [main] INFO c.a.dbhub.server.start.Application - Started Application in 5.932 seconds (JVM running for 6.42)

image

@Chat2DB-Pro
Copy link
Contributor

F2769925-9B9A-4981-BC25-E8AC65CA386C

@Chat2DB-Pro
Copy link
Contributor

修改一下端口配置

@yhan1203
Copy link
Author

OK了

1 similar comment
@yhan1203
Copy link
Author

OK了

@Chat2DB-Pro
Copy link
Contributor

1.0.6已正式修复

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants