jboss hot java hot deploy 방법
version : 7.3
설정 방법
파일 : /standalone.xml
옵션 : auto-deploy-zipped="true" auto-deploy-exploded="true"
....
<subsystem xmlns="urn:jboss:domain:deployment-scanner:2.0">
<deployment-scanner path="deployments" relative-to="jboss.server.base.dir" scan-interval="5000" auto-deploy-zipped="true" auto-deploy-exploded="true" runtime-failure-causes-rollback="${jboss.deployment.scanner.rollback.on.failure:false}"/>
</subsystem>
..
..
<deployments>
<deployment name="pubep" runtime-name="pubep.war">
<fs-exploded path="/home/wildfly/pubep"/>
</deployment>
<deployments>
위와 같이 설정을 하면 hot deploy 가 이루어지지 않는다.
deployments 폴더 밑에 심볼릭 링크를 걸어줘야지 hot deploy 가 이루어진다.
ls -s /home/wildfly/pubep "pubep.war"