티스토리 뷰
출처: http://wookoa.tistory.com/102
출처의 블로그에서 도움을 받아 저만의 방법으로 간략하게 내용정리를 하였습니다.
설치목록 |
version |
java |
jdk1.7.0_80 |
tomcat |
apache-tomcat-7.0 |
※tomcat windows service installer 패키지는 서비스까지 설정되기 때문에 설치하면 안된다.
꼭! zip패키지 설치를 권장!
서버1 : D:\apache-tomcat-7.0\test1
서버2 : D:\apache-tomcat-7.0\test2
디렉토리 구조를 직관적으로 하며 몇가지 설정만 바꿔주면 웹서버 증설이 가능하기 때문에 위와 같이 설정
톰캣 설정 변경 파일
-conf/server.xml
-bin/startup.bat 및 -bin/shutdown.bat
-bin/service.bat
a. -conf/server.xml 포트번호 설정
※포트번호 중복되지 않게 설정
▶ <Connector port="8080" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443" />
▶ <Connector port="8009" protocol="AJP/1.3" redirectPort="8443" />
b. -bin/startup.bat 및 -bin/shutdown.bat 경로설정
rem ---------------------------------------------------------------------------
rem Start script for the CATALINA Server
rem ---------------------------------------------------------------------------
▶ set "CATALINA_HOME=D:\apache-tomcat-7.0\test2"
▶ set "CATALINA_BASE=D:\apache-tomcat-7.0\test2"
▶ set "SERVER_NAME=test2"
▶ set "JAVA_HOME=C:\Program Files\Java\jdk1.7.0_80"
setlocal
rem Guess CATALINA_HOME if not defined
set "CURRENT_DIR=%cd%"
if not "%CATALINA_HOME%" == "" goto gotHome
set "CATALINA_HOME=%CURRENT_DIR%"
if exist "%CATALINA_HOME%\bin\catalina.bat" goto okHome
c. -bin/service.bat service.bat 설정
set "EXECUTABLE=%CATALINA_HOME%\bin\tomcat7.exe"
▶ rem Set default Service name
▶ set SERVICE_NAME=test2
▶ set DISPLAYNAME=Apache Tomcat 7.0 %SERVICE_NAME% test2
rem Java 9 no longer supports the java.endorsed.dirs
rem system property. Only try to use it if
rem JAVA_ENDORSED_DIRS was explicitly set
rem or CATALINA_HOME/endorsed exists.
set ENDORSED_PROP=ignore.endorsed.dirs
d. cmd창 [service.bat install] windows 서비스 등록 설정
▶cmd 창 열고 톰캣\bin 경로가서 service.bat install
▶서비스에 install 되어 있는지 확인
- Total
- Today
- Yesterday
- 캔버스 이미지 저장
- 멀티 톰캣
- html2canvas 이미지
- html 이미지 만들기
- windows server 다중 톰캣
- windows server
- windows tomcat
- base64암호화
- Base64복호화
- multitomcat
- 다중 톰캣
- Base64
- html2canvas
- Java Base64
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |