본문 바로가기
MiddleWare(미들웨어)/JEUS

[JEUS6] Application Deploy 하기

by wonkidoki 2023. 8. 30.
반응형
 
- JEUS6에서 Application을 Deploy 하는 방법이다.

- JEUS6은 Webadmin 에서 하는 것보다 xml 파일을 수정하여 재기동 하는 것이 더 편할 수 있다.(웹 페이지가 더 복잡하다.)

- JEUS6의 apphome은 jeus6/webhome/app_home 으로 잡혀있으니 참고한다.

- 파일 수정 후, 수정한 Container만 재 기동 하면 된다.

1. JEUSMain.xml 파일 수정

<application>

<name>exploded</name>

<path>exploded</path>

<deployment-type>COMPONENT</deployment-type>

<web-component/>

<deployment-target>

<target>

<engine-container-name>WK_container1</engine-container-name>

</target>

</deployment-target>

</application>

<name>APP_name</name> : APP 이름 설정 ja 입력 후 표시 됨

<path>exploded</path> : 실제 APP 경로, 절대경로로 넣어도 되고 이름만 넣을 경우 jeus6/webhome/app_home 경로를 바라보니 해당 경로에 APP 파일이 있는지 확인한다.(디렉토리, war파일 가능)

<deployment-type>COMPONENT</deployment-type> : 배포할 파일에 대한 타입(EAR, COMPONENT 가 있다. EAR 파일이 아니라면 COMPONENT 로 설정)

<web-component/> : web-component에 대한 특별한 설정을 하고 싶을때 사용한다. (대표적으로 Context Root 가 있다.)

<deployment-target> : 배포할 Container를 타겟 잡는다.

<engine-container-name> : Host name + Container name 조합이 들어간다.

JEUS6은 기본 app_home이 있다.

application 테그 위치 확인

ja로 확인할 경우 app_name을 확인할 수 있다.

2. 해당 Container 재 기동