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 | 29 | 30 | 31 |
Tags
- copy-dependencies
- lsof
- context
- Eclipse
- maVen
- 네트워크
- bash
- grep
- 단축키
- Mac
- profile
- import
- Windows
- tomcat
- IntelliJ
- Quartz
- 공통표준용어
- ssh
- netsh
- web.xml
- JavaScript
- port
- GIT
- find
- DB 도메인
- resource
- xargs
- Source
- Windows 10
- VirtualBox
Archives
- Today
- Total
목록Connection pool (1)
develog
eclipse tomcat dbcp 셋팅 (connection pool)
Tomcat ROOT/lib/tomcat-dbcp.jar /WebContent/META-INF/context.xml 수정 server project - context.xml 수정 JNDI 리소스 가져오기 Context initCtx = new InitialContext(); Context envCtx = (Context)initCtx.lookup("java:/comp/env"); DataSource ds = (DataSource)envCtx.lookup("jdbc/testdb"); Connection conn = ds.getConnection(); System.out.println("conn : " + conn);
Web & WAS/Tomcat
2012. 10. 30. 10:48