일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- ssh
- JavaScript
- bash
- tomcat
- import
- context
- VirtualBox
- IntelliJ
- Quartz
- find
- 단축키
- plugin
- GIT
- Eclipse
- resource
- 줄바꿈 문자
- grep
- xargs
- Mac
- lsof
- 네트워크
- maVen
- netsh
- web.xml
- vscode
- port
- profile
- Source
- Windows
- Windows 10
- Today
- Total
목록Web & WAS/Tomcat (23)
develog
context.xml
sendReasonPhrase=true HTTP/1.1 200 OK HTTP/1.1 304 Not Modified HTTP/1.1 200 200 HTTP/1.1 304 304
https://tomcat.apache.org/tomcat-8.5-doc/introduction.html#CATALINA_HOME_and_CATALINA_BASE CATALINA_HOME and CATALINA_BASEThroughout the documentation, there are references to the two following properties:CATALINA_HOME: Represents the root of your Tomcat installation, for example /home/tomcat/apache-tomcat-9.0.10 or C:\Program Files\apache-tomcat-9.0.10.CATALINA_BASE: Represents the root of a ru..
증상 tomcat 8 에서 쿠키에 도메인 셋팅시 '.mydomain.com' 처럼 '.' 을 사용하면 에러가 발생 에러 java.lang.IllegalArgumentException: An invalid domain [.mydomain.com] was specified for this cookie 조치 context.xml 파일에 아래 내용
Defining a context https://tomcat.apache.org/tomcat-7.0-doc/config/context.html https://tomcat.apache.org/tomcat-7.0-doc/config/context.html#Naming It is NOT recommended to place elements directly in the server.xml file. $CATALINA_BASE/conf/server.xml META-INF/context.xml