Tomcat 실전 의 기초 편

1269 단어 tomcat

환경: Tomcat 7.0.6
 
> > Tomcat 포트 수정:
tomcat \ conf \ server. xml 에서 8080 을 7080 으로 수정 합 니 다.
<!-- A "Connector" represents an endpoint by which requests are received
         and responses are returned. Documentation at :
         Java HTTP Connector: /docs/config/http.html (blocking & non-blocking)
         Java AJP  Connector: /docs/config/ajp.html
         APR (HTTP/AJP) Connector: /docs/apr.html
         Define a non-SSL HTTP/1.1 Connector on port 8080
    -->
    <Connector connectionTimeout="20000" port="7080" protocol="HTTP/1.1" redirectPort="8443"/>
    <!-- A "Connector" using the shared thread pool-->
    <!--
    <Connector executor="tomcatThreadPool"
               port="8080" protocol="HTTP/1.1" 
               connectionTimeout="20000" 
               redirectPort="8443" />
    -->

> > Tomcat 에 추가 공유 항목 lib 패키지 추가
tomcat \ conf \ catalina. properties 수정:
shared.loader=${catalina.home}/lib_ext/company/*.jar,${catalina.home}/lib_ext/my/*.jar

좋은 웹페이지 즐겨찾기