본문 바로가기

SERVER

(6)
[Spring Server] Web server failed to start. Port '' was already in use. 에러 해결 방법. Web server failed to start. Port 6993 was already in use. 서버 구동 중 해당 에러가 발생했다. 포트 번호를 이미 사용중이라고 한다. 1. 명령 프롬포트(CMD) 에서 netstat -ano 실행. 현재 실행 중인 포트 목록이 보이고, 에러가 발생한 포트 번호의 PID를 찾는다. 2. taskkill /pid 2668 /f 실행 포트 종료 후 서버를 재실행 하면 정상 구동 된다.
[Error] Tomcat port 오류 - Several ports (8005, 8080) required by Tomcat v9.0 Server at localhost are already in use. The server may already be running in another process, or a system process may be using the port. To start this server you will need t.. 톰캣을 구동 할 때 생기는 포트 오류. 주로 이클립스가 비정상적으로 종료 된 뒤 재구동 할 때 발생 함. Several ports (8005, 8080) required by Tomcat v9.0 Server at localhost are already in use. The server may already be running in another process, or a system process may be using the port. To start this server you will need to stop the other process or change the port number(s). Tomcat이 사용하고 있는 기본 포트(8080, 8009, 8005)가 이미 사용중이라서 생기는 오류. 사..
[Error] tomcat server , log4j error - java.lang.ClassNotFoundException: org.springframework.web.util.Log4jConfigListener 1. 멀쩡하게 하다가 갑자기 에러 발생. log4j:WARN No appenders could be found for logger (org.springframework.web.context.ContextLoader). log4j:WARN Please initialize the log4j system properly. log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info. 2. ClassNotFoundException. - Log4j 관련 .jar 파일이 없다는 에러인 것 같음. SEVERE: 클래스 [org.springframework.web.util.Log4jConfigListener]의 애플리케이션 리스너를..
[Error] Tomcat Server Error - 404 , etc. 톰캣 서버 에러 요청된 리소스 [/]은(는) 가용하지 않습니다. Origin 서버가 대상 리소스를 위한 현재의 representation을 찾지 못했거나, 그것이 존재하는지를 밝히려 하지 않습니다. 방법 1. Server > Tomcat Modules > path 확인 path 경로가 맞지 않아 발생하는 에러. 2. Component 파일 수정 Eclipse workspace → 해당 프로젝트 → .settings → org.eclipse.wst.common (COMPONENT 파일) 1) 인지 확인 2) value 프로젝트명 , 경로 확인 3. Controller class, root-context.xml , servlet-context.xml , web.xml 경로 확인 경로가 틀려서 발생하는 경우가..
[Error] Oracle 비밀번호 만료 오류 - com.zaxxer.hikari.pool.HikariPool - HikariPool-1 - Exception during pool initialization. java.sql.SQLException: ORA-28001: the password has expired 오라클 DB의 경우 보안을 위해 180일 주기로 패스워드 변경해야함 변경하지 않을 경우 에러 발생 1. Oracle 비밀번호 만료 오류 ERROR: com.zaxxer.hikari.pool.HikariPool - HikariPool-1 - Exception during pool initialization. java.sql.SQLException: ORA-28001: the password has expired 해결방법 1) CMD창 오라클 DB 관리자 접속 sqlplus "/as sysdba" 2) 새로운 패스워드 설정 ALTER USER [user_id] IDENTIFIED BY [password]; 3) 변경 한 패스워드로 오라클 DB 접속 비밀번호가 틀렸을 경우 아래 명령어를 통해 계정 언락 후 패..
[Error] Tomcat 구동 오류 - 심각: Context initialized 이벤트를 [org.springframework.web.context.ContextLoaderListener] 클래스의 인스턴스인 리스너에 전송하는 동안 예외 발생 Tomcat 구동 오류 ( Maven 사용 시) 1. root-context.xml 오류 심각: Context initialized 이벤트를 [org.springframework.web.context.ContextLoaderListener] 클래스의 인스턴스인 리스너에 전송하는 동안 예외 발생 org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 33 in XML document from ServletContext resource [/WEB-INF/spring/root-context.xml] is invalid; nested exception is org.xml.sax.SAXParseException; lineNumber:..