728x90
간혹가다가, 고객사의 요청중에 하나가 'Hot Deploy 설정은 어떻게 하나요?' 이다.
Hot Deploy를 쉽게 말하면, 소스로 배포한 JSP에 수정이 발생했을 경우에
수정사항을 업데이트 없이 반영해주는 것을 말한다.
JBoss 7.4 에서도 configuration 파일 상에 반영해주면 된다.
${JBOSS_HOME}/standalone/configuration/standalone.xml or standalone-ha.xml
... 생략
<subsystem xmlns="urn:jboss:domain:undertow:3.1">
<buffer-cache name="default"/>
<server name="default-server">
<http-listener name="default" socket-binding="http" redirect-socket="https"/>
<host name="default-host" alias="localhost">
<filter-ref name="server-header"/>
<filter-ref name="x-powered-by-header"/>
</host>
</server>
<servlet-container name="default">
<!-- 아래부분 수정 -->
<jsp-config development="true" check-interval="1" modification-test-interval="1" recompile-on-fail="true"/>
<!-- 여기까지 -->
<websockets/>
</servlet-container>
<handlers>
<file name="welcome-content" path="${jboss.home.dir}/welcome-content"/>
</handlers>
<filters>
<response-header name="server-header" header-name="Server" header-value="JBoss-EAP/7"/>
<response-header name="x-powered-by-header" header-name="X-Powered-By" header-value="Undertow/1"/>
</filters>
</subsystem>
... 생략'WAS > JBoss&WildFly' 카테고리의 다른 글
| [JBoss 7.4] thread 수 설정 (0) | 2024.02.08 |
|---|---|
| [JBoss 7.4] serverlog와 log4j 로그 별도 기록 (0) | 2024.01.02 |
| ${JBOSS_CONF_DIR}/standalone_xml_history 경로 권한 변경 시 기동 오류 발생 (1) | 2023.12.26 |
| [JBoss/Wildfly] standalone mode Clustering - TCP (0) | 2023.11.29 |
| [JBoss EAP 7 / Standalone] 설치 및 구성 (0) | 2023.10.18 |