Chat2DB
Chat2DB copied to clipboard
Bug: When opening the homepage, the loading animation is always displayed. I changed several computers and reinstalled it, but it still remains the same. It has been unusable for a month.
Chat2DB Version
3.1
Describe the bug
Then click Help - Open Log. The following port occupation error is reported.
APPLICATION FAILED TO START
Description:
Web server failed to start. Port 10868 was already in use.
Action:
Identify and stop the process that's listening on port 10868 or configure this application to listen on another port.
But how to deactivate this port?
As shown in the picture
I don’t know what the problem is. Please take a look.
Could you please provide detailed error log information?
Could you please provide detailed error log information?
ok ! -------Start 2024-02-18 10:20:47.488 INFO 3984 --- [main] ai.chat2db.server.start.Application .51 : | Starting Application v2.0.0-SNAPSHOT using Java 17.0.9 with PID 3984 (D:\Program Files\Chat2DB\resources\app\versions\3.1.17\static\chat2db-server-start.jar started by 13105 in D:\Program Files\Chat2DB) 2024-02-18 10:20:47.504 INFO 3984 --- [main] ai.chat2db.server.start.Application .639 : | The following 1 profile is active: "release" 2024-02-18 10:20:51.280 INFO 3984 --- [main] o.s.b.w.embedded.tomcat.TomcatWebServer .108 : | Tomcat initialized with port(s): 10868 (http) 2024-02-18 10:20:51.299 INFO 3984 --- [main] o.apache.catalina.core.StandardService .173 : | Starting service [Tomcat] 2024-02-18 10:20:51.300 INFO 3984 --- [main] o.apache.catalina.core.StandardEngine .173 : | Starting Servlet engine: [Apache Tomcat/10.1.8] 2024-02-18 10:20:51.490 INFO 3984 --- [main] o.a.c.c.C.[Tomcat].[localhost].[/] .173 : | Initializing Spring embedded WebApplicationContext 2024-02-18 10:20:51.491 INFO 3984 --- [main] w.s.c.ServletWebServerApplicationContext.291 : | Root WebApplicationContext: initialization completed in 3870 ms 2024-02-18 10:20:51.869 WARN 3984 --- [main] ConfigServletWebServerApplicationContext.616 : | Exception encountered during context initialization - cancelling refresh attempt: org.springframework.context.ApplicationContextException: Failed to start bean 'webServerStartStop' 2024-02-18 10:20:51.877 INFO 3984 --- [main] o.apache.catalina.core.StandardService .173 : | Stopping service [Tomcat] 2024-02-18 10:20:52.069 INFO 3984 --- [main] .s.b.a.l.ConditionEvaluationReportLogger.82 : |
Error starting ApplicationContext. To display the condition evaluation report re-run your application with 'debug' enabled. 2024-02-18 10:20:52.114 ERROR 3984 --- [main] o.s.b.d.LoggingFailureAnalysisReporter .40 : |
APPLICATION FAILED TO START
Description:
Web server failed to start. Port 10868 was already in use.
Action:
Identify and stop the process that's listening on port 10868 or configure this application to listen on another port.
2024-02-18 10:24:34.075 INFO 32276 --- [main] ai.chat2db.server.start.Application .51 : | Starting Application v2.0.0-SNAPSHOT using Java 17.0.9 with PID 32276 (D:\Program Files\Chat2DB\resources\app\versions\3.1.17\static\chat2db-server-start.jar started by 13105 in D:\Program Files\Chat2DB) 2024-02-18 10:24:34.082 INFO 32276 --- [main] ai.chat2db.server.start.Application .639 : | The following 1 profile is active: "release" 2024-02-18 10:24:37.913 INFO 32276 --- [main] o.s.b.w.embedded.tomcat.TomcatWebServer .108 : | Tomcat initialized with port(s): 10868 (http) 2024-02-18 10:24:37.933 INFO 32276 --- [main] o.apache.catalina.core.StandardService .173 : | Starting service [Tomcat] 2024-02-18 10:24:37.933 INFO 32276 --- [main] o.apache.catalina.core.StandardEngine .173 : | Starting Servlet engine: [Apache Tomcat/10.1.8] 2024-02-18 10:24:38.080 INFO 32276 --- [main] o.a.c.c.C.[Tomcat].[localhost].[/] .173 : | Initializing Spring embedded WebApplicationContext 2024-02-18 10:24:38.082 INFO 32276 --- [main] w.s.c.ServletWebServerApplicationContext.291 : | Root WebApplicationContext: initialization completed in 3869 ms 2024-02-18 10:24:38.425 WARN 32276 --- [main] ConfigServletWebServerApplicationContext.616 : | Exception encountered during context initialization - cancelling refresh attempt: org.springframework.context.ApplicationContextException: Failed to start bean 'webServerStartStop' 2024-02-18 10:24:38.436 INFO 32276 --- [main] o.apache.catalina.core.StandardService .173 : | Stopping service [Tomcat] 2024-02-18 10:24:38.566 INFO 32276 --- [main] .s.b.a.l.ConditionEvaluationReportLogger.82 : |
Error starting ApplicationContext. To display the condition evaluation report re-run your application with 'debug' enabled. 2024-02-18 10:24:38.634 ERROR 32276 --- [main] o.s.b.d.LoggingFailureAnalysisReporter .40 : |
APPLICATION FAILED TO START
Description:
Web server failed to start. Port 10868 was already in use.
Action:
Identify and stop the process that's listening on port 10868 or configure this application to listen on another port.
2024-02-18 10:25:19.027 INFO 6972 --- [main] ai.chat2db.server.start.Application .51 : | Starting Application v2.0.0-SNAPSHOT using Java 17.0.9 with PID 6972 (D:\Program Files\Chat2DB\resources\app\versions\3.1.17\static\chat2db-server-start.jar started by 13105 in D:\Program Files\Chat2DB) 2024-02-18 10:25:19.039 INFO 6972 --- [main] ai.chat2db.server.start.Application .639 : | The following 1 profile is active: "release" 2024-02-18 10:25:23.182 INFO 6972 --- [main] o.s.b.w.embedded.tomcat.TomcatWebServer .108 : | Tomcat initialized with port(s): 10868 (http) 2024-02-18 10:25:23.206 INFO 6972 --- [main] o.apache.catalina.core.StandardService .173 : | Starting service [Tomcat] 2024-02-18 10:25:23.207 INFO 6972 --- [main] o.apache.catalina.core.StandardEngine .173 : | Starting Servlet engine: [Apache Tomcat/10.1.8] 2024-02-18 10:25:23.427 INFO 6972 --- [main] o.a.c.c.C.[Tomcat].[localhost].[/] .173 : | Initializing Spring embedded WebApplicationContext 2024-02-18 10:25:23.428 INFO 6972 --- [main] w.s.c.ServletWebServerApplicationContext.291 : | Root WebApplicationContext: initialization completed in 4166 ms 2024-02-18 10:25:23.731 WARN 6972 --- [main] ConfigServletWebServerApplicationContext.616 : | Exception encountered during context initialization - cancelling refresh attempt: org.springframework.context.ApplicationContextException: Failed to start bean 'webServerStartStop' 2024-02-18 10:25:23.735 INFO 6972 --- [main] o.apache.catalina.core.StandardService .173 : | Stopping service [Tomcat] 2024-02-18 10:25:23.859 INFO 6972 --- [main] .s.b.a.l.ConditionEvaluationReportLogger.82 : |
Error starting ApplicationContext. To display the condition evaluation report re-run your application with 'debug' enabled. 2024-02-18 10:25:23.909 ERROR 6972 --- [main] o.s.b.d.LoggingFailureAnalysisReporter .40 : |
APPLICATION FAILED TO START
Description:
Web server failed to start. Port 10868 was already in use.
Action:
Identify and stop the process that's listening on port 10868 or configure this application to listen on another port.
2024-02-18 10:35:40.118 INFO 3484 --- [main] ai.chat2db.server.start.Application .51 : | Starting Application v2.0.0-SNAPSHOT using Java 17.0.9 with PID 3484 (D:\Program Files\Chat2DB\resources\app\versions\3.1.17\static\chat2db-server-start.jar started by 13105 in D:\Program Files\Chat2DB) 2024-02-18 10:35:40.125 INFO 3484 --- [main] ai.chat2db.server.start.Application .639 : | The following 1 profile is active: "release" 2024-02-18 10:35:44.100 INFO 3484 --- [main] o.s.b.w.embedded.tomcat.TomcatWebServer .108 : | Tomcat initialized with port(s): 10868 (http) 2024-02-18 10:35:44.118 INFO 3484 --- [main] o.apache.catalina.core.StandardService .173 : | Starting service [Tomcat] 2024-02-18 10:35:44.119 INFO 3484 --- [main] o.apache.catalina.core.StandardEngine .173 : | Starting Servlet engine: [Apache Tomcat/10.1.8] 2024-02-18 10:35:44.329 INFO 3484 --- [main] o.a.c.c.C.[Tomcat].[localhost].[/] .173 : | Initializing Spring embedded WebApplicationContext 2024-02-18 10:35:44.330 INFO 3484 --- [main] w.s.c.ServletWebServerApplicationContext.291 : | Root WebApplicationContext: initialization completed in 4099 ms 2024-02-18 10:35:44.702 WARN 3484 --- [main] ConfigServletWebServerApplicationContext.616 : | Exception encountered during context initialization - cancelling refresh attempt: org.springframework.context.ApplicationContextException: Failed to start bean 'webServerStartStop' 2024-02-18 10:35:44.709 INFO 3484 --- [main] o.apache.catalina.core.StandardService .173 : | Stopping service [Tomcat] 2024-02-18 10:35:44.881 INFO 3484 --- [main] .s.b.a.l.ConditionEvaluationReportLogger.82 : |
Error starting ApplicationContext. To display the condition evaluation report re-run your application with 'debug' enabled. 2024-02-18 10:35:44.948 ERROR 3484 --- [main] o.s.b.d.LoggingFailureAnalysisReporter .40 : |
APPLICATION FAILED TO START
Description:
Web server failed to start. Port 10868 was already in use.
Action:
Identify and stop the process that's listening on port 10868 or configure this application to listen on another port.
-------End
Did you set this port 10868 yourself? We are not using this port
Did you set this port 10868 yourself? We are not using this port
Yes, no, I found out through the log that there is a chat2db-server-start.jar package. I think it should be port 10824. I modified this port, but it still prompts port 10868. I don’t know the reason. Is it related to a certain software? conflict
same question :*************************** APPLICATION FAILED TO START
Description:
Web server failed to start. Port 10824 was already in use.
Action:
Identify and stop the process that's listening on port 10824 or configure this application to listen on another port.
2024-02-20 15:43:40.753 INFO 47492 --- [main] ai.chat2db.server.start.Application .51 : | Starting Application v2.0.0-SNAPSHOT using Java 17.0.9 with PID 47492 (C:\Users\admin\AppData\Local\Programs\Chat2DB\resources\app\versions\3.1.17\static\chat2db-server-start.jar started by admin in C:\Users\admin\AppData\Local\Programs\Chat2DB) 2024-02-20 15:43:40.756 INFO 47492 --- [main] ai.chat2db.server.start.Application .639 : | The following 1 profile is active: "release" 2024-02-20 15:43:42.755 INFO 47492 --- [main] o.s.b.w.embedded.tomcat.TomcatWebServer .108 : | Tomcat initialized with port(s): 10824 (http) 2024-02-20 15:43:42.767 INFO 47492 --- [main] o.apache.catalina.core.StandardService .173 : | Starting service [Tomcat] 2024-02-20 15:43:42.768 INFO 47492 --- [main] o.apache.catalina.core.StandardEngine .173 : | Starting Servlet engine: [Apache Tomcat/10.1.8] 2024-02-20 15:43:42.848 INFO 47492 --- [main] o.a.c.c.C.[Tomcat].[localhost].[/] .173 : | Initializing Spring embedded WebApplicationContext 2024-02-20 15:43:42.848 INFO 47492 --- [main] w.s.c.ServletWebServerApplicationContext.291 : | Root WebApplicationContext: initialization completed in 2041 ms 2024-02-20 15:43:43.045 WARN 47492 --- [main] ConfigServletWebServerApplicationContext.616 : | Exception encountered during context initialization - cancelling refresh attempt: org.springframework.context.ApplicationContextException: Failed to start bean 'webServerStartStop' 2024-02-20 15:43:43.049 INFO 47492 --- [main] o.apache.catalina.core.StandardService .173 : | Stopping service [Tomcat] 2024-02-20 15:43:43.141 INFO 47492 --- [main] .s.b.a.l.ConditionEvaluationReportLogger.82 : |
Error starting ApplicationContext. To display the condition evaluation report re-run your application with 'debug' enabled. 2024-02-20 15:43:43.168 ERROR 47492 --- [main] o.s.b.d.LoggingFailureAnalysisReporter .40 : |
APPLICATION FAILED TO START
Description:
Web server failed to start. Port 10824 was already in use.
Action:
Identify and stop the process that's listening on port 10824 or configure this application to listen on another port.