JNDI1 JNDI 설정 및 사용하기 (TOMCAT5.5) 1. server.xml 파일에 아래 사항을 추가한다. (적용하려는 또는 안에 : 두가지 중 아무거나) ex 1) ex 2) driverClassName com.mysql.jdbc.Driver username username password password url jdbc:mysql://localhost:3306/spring factory org.apache.commons.dbcp.BasicDataSourceFactory maxActive 10 maxIdle 5 maxWait 10000 removeAbandoned true removeAbandonedTimeout 60 logAbandoned true ※ 안에 추가했을 경우 context.xml에 다음을 추가할 것. 2. web.xml 파일에 아래 사항을.. 2008. 7. 14. 이전 1 다음