1. oc4j instance 생성
$oracle_home/bin/createinstance -instanceName oc4japp01
2. war file 복사
아래 경로로 war file 복사
$oracle_home/j2ee/oc4japp01/application/
3. Application.xml 파일수정
$oracle_home/j2ee/oc4japp01/config/application.xml
...
<web-module id ="testWeb" path="../../oc4japp01/applications/test.war"/>
...
4. default-web-site.xml 파일수정
$oracle_home/j2ee/oc4japp01/config/default-web-site.xml
...
<default-web-app application="default" name="defaultWebApp" root="/j2ee"/>
<web-app application="default" name="testWeb" load-on-startup="true" root="/test"/>
...
5. opmn stop & opmn start
명령어
$oracle_home/opmn/bin opmnctl stopall
$oracle_home/opmn/bin opmnctl startall
--------------------------------------------------------------
포트 번호는 $oracle_home/Apache/Apache/conf/httpd.conf 안에 listen 과 port를 참고
windows 기준으로 작성됨