투덜이 개발자

[IntelliJ] 프로젝트(모듈) Tomcat 서버 context.xml 생성 방법 본문

IDE & Tools/Intellij

[IntelliJ] 프로젝트(모듈) Tomcat 서버 context.xml 생성 방법

엠투 2022. 7. 21. 14:54
반응형

[IntelliJ] 프로젝트(모듈) Tomcat 서버 context.xml 생성 방법

https://atoz-develop.tistory.com/entry/IntelliJ-%ED%94%84%EB%A1%9C%EC%A0%9D%ED%8A%B8%EB%AA%A8%EB%93%88-Tomcat-%EC%84%9C%EB%B2%84-contextxml-%EC%83%9D%EC%84%B1-%EB%B0%A9%EB%B2%95

 

[IntelliJ] 프로젝트(모듈) Tomcat 서버 context.xml 생성 방법

[IntelliJ] 프로젝트(모듈) Tomcat 서버 context.xml 생성 방법 Project Structure 창에서 해당하는 웹 프로젝트(모듈)의 Web framework를 선택하고 [Add Application Server specific descriptor...]를 클..

atoz-develop.tistory.com

 

더보기
<Context>

 

    <!-- Default set of monitored resources. If one of these changes, the    -->
    <!-- web application will be reloaded.                                   -->
    <WatchedResource>WEB-INF/web.xml</WatchedResource>
    <WatchedResource>WEB-INF/tomcat-web.xml</WatchedResource>
    <WatchedResource>${catalina.base}/conf/web.xml</WatchedResource>

 

    <!-- Uncomment this to disable session persistence across Tomcat restarts -->
    <!--
    <Manager pathname="" />
    -->

 

    <Resource
        name="jdbc/oracle"
        auth="Container"
        type="javax.sql.DataSource"
        driverClassName="oracle.jdbc.OracleDriver"
        url="jdbc:oracle:thin:@localhost:1521:XE"
        username="scott"
        password="tiger"
        maxActive="50"
        maxWait="-1"
    >
    </Resource>

 

</Context>

 

-톰캣 커넥션풀 라이브러리 다운로드 사이트
반응형