Tomcat7, Deploy with Maven3

Posted by 장두현 on 2018.10.18 목 00:00
Updated on 2018.10.18 목 00:00
Read time, about 1 minute(s)

WAS

설정파일 위주로 간략하게 설명을 한다.

참고: http://www.mkyong.com/maven/how-to-deploy-maven-based-war-file-to-tomcat/

Mac의 Homebrew 로 Tomcat7 설치

% brew install homebrew/versions/tomcat7

설치된 위치는 "/usr/local/Cellar/tomcat7/7.0.69" 입니다.

CATALINA_BASE=/usr/local/Cellar/tomcat7/7.0.69/libexec
CATALINA_HOME=/usr/local/Cellar/tomcat7/7.0.69

$CATALINA_HOME/conf/tomcat-users.xml

<role rolename="manager"/>
<role rolename="manager-gui"/>
<role rolename="manager-script"/>
<user username="admin" password="12345" roles="manager,manager-gui,manager-script"/>