Several ports (8005, 8080, 8009) required by Tomcat v7.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).

 

 

원인: 오라클 서버 프로그램을 켜두면서 톰캣을 실행한 경우 충돌이 나는 경우가 많다.

 

해결법: 

1. server.xml을 찾아서 포트번호를 바꿔준다

2.cmd에서 netstat -ao를 통해 사용중인 프로세스를 kill한다

3.db를 그때 그때 꺼준다

 

나는 3번을 주로 쓴다. 충돌나는 이유가 대부분 오라클 db때문이기 때문에 아예 stop database 실행파일을 바탕화면에 꺼내두었다. 충돌날때마다 한번씩 눌러주면 짱 편하다. 

 

위치: C:\oraclexe\app\oracle\product\11.2.0\server\bin\ 에 stop DB 실행파일 있다.

 

 

 

+ Recent posts