eajniii / chijin_final

1 stars 1 forks source link

[Trouble-Shooting]프로젝트 실행 시 Server Timeout 발생 #20

Closed jisoo449 closed 6 months ago

jisoo449 commented 6 months ago

설명

서버 실행 시 server timeout 문제 발생 image

Server Tomcat v9.0 Server at localhost was unable to start within 45 seconds. If the server requires more time, try increasing the timeout in the server editor.



해결 방법

실행과 중단을 반복하다 보면 중간에 데이터 및 설정이 꼬이는 경우가 발생한다.
이를 해결하기 위해서는 프로젝트 clean, refresh 이후 에디터를 재시작 해야 한다.



동일한 원인으로 발생 가능한 문제

jisoo449 commented 6 months ago

디버깅 했는데 다음 메시지가 나오고 멈춤. 아마 데이터베이스 불러오는 과정에서 문제가 생긴 듯?

2024-02-20 11:50:10,092 DEBUG [stu.common.logger.LoggerInterceptor] ======================================          START         ======================================
2024-02-20 11:50:10,093 DEBUG [stu.common.logger.LoggerInterceptor]  Request URI    :  /mainList.do;jsessionid=922F3F8A219473660D969EA700C2D59B
2024-02-20 11:50:10,096 DEBUG [stu.common.dao.AbstractDao]   QueryId    : goods.newGoodsList
eajniii commented 6 months ago

로컬 디비 비밀번호로 바꾸고 연결해봐요

jisoo449 commented 6 months ago

비밀번호 DNFLRKskadlrk#1로 수정했는데도 데이터 못불러와요ㅠㅜㅠ

jisoo449 commented 6 months ago

저는 서버 타임아웃 문제는 해결됐어요. 이유는 모르겠삼...

jisoo449 commented 6 months ago

서버 설정 중 server modules without publishing 체크하니까 뭔가 바뀜
image
image