Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- vscode
- port
- IntelliJ
- Quartz
- xargs
- 단축키
- import
- Windows 10
- tomcat
- plugin
- resource
- 줄바꿈 문자
- JavaScript
- ssh
- bash
- find
- netsh
- web.xml
- Mac
- lsof
- grep
- 네트워크
- context
- VirtualBox
- Windows
- profile
- Source
- Eclipse
- GIT
- maVen
Archives
- Today
- Total
develog
[tomcat] catalina.out 파일 인코딩 변경하기, setenv.sh 본문
## setenv.sh 파일을 만든다
$ vi $TOMCAT_HOME/bin/setenv.sh
JAVA_OPTS="$JAVA_OPTS -Dfile.encoding=utf-8"
## setenv.sh 파일 권한을 변경한다
$ chmod 755 $TOMCAT_HOME/bin/setenv.sh
## catalina.out 파일을 삭제한다
$ rm $TOMCAT_HOME/logs/catalina.out
## 톰캣을 재시작한다
$ $TOMCAT_HOME/bin/shutdown.sh
$ $TOMCAT_HOME/bin/startup.sh
## 로그 파일을 확인한다
$ tail -f $TOMCAT_HOME/logs/catalina.out
Comments