Tag Archives: server.xml

tomcat – server.xml파일에 DB Connection생성을 위한 설정

  tomcat – server.xml파일에 DB Connection생성을 위한 설정(<Host>태그 내부에 추가함) <Context Path=”/myapp” docBase=”myapp” debug=”5″ reloadable=”true” crossContext=”true”> <Resource name=”jdbc/TestDB” auth=”Container” type=”javax.sql.DataSource” maxActive=”100″ maxIdle=”30″ maxWait=”10000″ username=”sys” password=”password” driverClassName=”com.mysql.jdbc.Driver” url=”jdbc:mysql://localhost:3306/javatest?autoReconnect=true”/> </Context> 내용설명 Context – path : URL 호출시 사용될 이름 – docBase : … Continue reading

Posted in Database, Java/JSP, WEB/WAS | Tagged , , | Leave a comment

Tomcat server.xml 한국어 해설 버전

  server.xml의 영어 설명부분을 한글로 번역해 놓았다. <!– Example Server Configuration File –> <!– Note: 컴포넌트들은 각각의 부모-자식 관계에 따라 중첩(nested) 되었음 –> <!– “Server” 는 전체 JVM 을 나타내는 싱글톤 요소입니다. 이것은 하나 이상의      “Service” 인스턴스를 갖고 … Continue reading

Posted in WEB/WAS | Tagged , | Leave a comment