티스토리 뷰
server.xml
<context path=....>
<!-- Logger ENV -->
<Logger className="org.apache.catalina.logger.FileLogger"
directory="logs/paint" prefix="log." suffix=".txt"
timestamp="true"/>
<!-- Access Log ENV -->
<Valve className="org.apache.catalina.valves.AccessLogValve"
directory="logs/paint"
prefix="access."
suffix=".log"
pattern="common"
fileDateFormat="yyyy-MM-dd"
resolveHosts="false"/>
<!-- MySQL -->
<Resource name="jdbc/my" auth="Container"
type="javax.sql.DataSource" driverClassName="com.mysql.jdbc.Driver"
url="jdbc:mysql://[IP]:[PORT]/[database명]?zeroDateTimeBehavior=convertToNull"
username="[username]" password="[password]"
loginTimeout="10" maxActive="50"
maxIdle="10" maxWait="-1" />
<!-- Oracle -->
<Resource name="jdbc/ora" auth="Container"
type="javax.sql.DataSource" driverClassName="oracle.jdbc.OracleDriver"
url="jdbc:oracle:thin:@[IP]:[PORT]:[SID]"
username="[username]" password="[password]" maxActive="10" maxIdle="10"
maxWait="-1"/>
<!-- Oracle RAC -->
<Resource name="jdbc/orarac" auth="Container"
type="javax.sql.DataSource" driverClassName="oracle.jdbc.OracleDriver"
url="jdbc:oracle:thin:@(DESCRIPTION=(FAILOVER=ON)(LOAD_BALANCE=OFF)(ADDRESS=(PROTOCOL=TCP)(HOST=[IP_1])(PORT=[PORT]))(ADDRESS= (PROTOCOL=TCP)(HOST=[IP_2])(PORT=[PORT]))(CONNECT_DATA=(SERVICE_NAME=[SID])))"
username="[password]" password="[password]" maxActive="10" maxIdle="10"
maxWait="-1"/>
</context>
'WEB,WAS > WAS' 카테고리의 다른 글
Thread Dump (쓰레드 덤프) 생성 방법 (kill -3, jstack) (0) | 2018.08.27 |
---|---|
Thread dump (쓰레드 덤프) - 쓰레드 상태 (0) | 2018.08.27 |
톰캣(Tomcat) catalina.out 로그 차단하는 방법 (0) | 2014.08.27 |
[Tomcat] Context 설정 분리 (0) | 2012.07.17 |
[Tomcat/JSP] GET방식 한글 깨질 경우 (0) | 2011.01.10 |
[Tomcat] server.xml (0) | 2010.07.26 |
[Tomcat] Access Log 설정 (0) | 2010.07.05 |
[Tomcat] Access Log Pattern (0) | 2010.07.05 |
- Total
- Today
- Yesterday
- rundeck
- vagrant
- Nexus
- PostgreSQL
- Linux
- DevOps
- nginx
- Ansible
- Password manager
- groovy
- Playbook
- rsync
- 쓰레드덤프
- 엔시블
- 리눅스
- Docker
- JVM
- Thread Dump
- 데브옵스
- Shell Script
- 젠킨스
- iTerm2
- URL Encoding
- Jenkins
- 파이프라인
- 플레이북
- Config History
- ssl
- 엔서블
- openssl
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |