Posts 1. 포트설정, was
Post
Cancel

1. 포트설정, was

tomcat 9 설치

링크 : https://tomcat.apache.org/download-90.cgi

window 64 비트.zip을 설치한다

윈도우를 핸들링

  1. host파일들어간다 도메인주소를 추가해준다.

메모장 conf - server.xml

cmd 에서 netstat -a 사용하고있는 모든 포트가 나온다. 들어가서확인해봐도좋다

local host를 8088으로 설정해준다

1
<Connector port="8088" protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="8443" URIEncoding="UTF-8" />

관리자권한 host 파일 수정

127.0.0.1 localhost 127.0.0.1 test.icia.co.kr

window preference 설정

  1. content - utf-8
  2. java - installed jres
  3. runtime environments 톰켓설정
  4. jdk설정

web - utf8로 다바꾸기

  1. eclipse market place 의 원숭이모양 다운로드(톰켓) preference -> tomcat 9 선택 2.경로설정 3. server.xml설정

================================================================

file 의 new other

new 의 dynamic web project

  1. target runtime : none
  2. version 3.0 configuration 의 custom

next

  1. src\main\webapp\WEB-INF\classes
  2. generate web.xml 반드시체크

톰켓폴더 의 conf 의 catalina 의 localhost안에 root.xml test.icia.co.kr 폴더를 만들고 root.xml

톰켓폴더 의 conf 의 server 의 맨아래 localhost의 appBase =””

appBase를 공백으로 넣으면 catalina의 root.xml docbase로 간다.

그후 HOST부분 복사한다음

  1. NAME = test.icia.co.kr prefix = test.icia.co.kr추가

jsp파일만들기

1.자바 빌드패스 1.8로 바꿔주기

  1. jre system (jdk 1.8 설정)
  2. 톰켓설정하기(9.0)
This post is licensed under CC BY 4.0 by the author.