개발자의 끄적끄적

[JEUS] 제우스(JEUS)로 WAR 배포(DEPLOY) 방법 [펌] 본문

개발/java & jsp

[JEUS] 제우스(JEUS)로 WAR 배포(DEPLOY) 방법 [펌]

효벨 2019. 12. 13. 09:38
728x90
반응형

[JEUS] 제우스(JEUS)로 WAR 배포(DEPLOY) 방법 [펌]

 

해당 컨테이너 폴더로 이동하면 JEUSMain.xml 파일이 있다.

이 파일을 열어서 다음과 같은 내용을 추가 해 주면 된다.

 

1

2

3

4

5

6

7

8

9

10

11

12

13

<application>

    <name>yangyag</name>

    <path>/home/jeus/jeus6/webhome/app_home/test.war</path>

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

    <web-component>

        <context-root>/</context-root>

    </web-component>

    <deployment-target>

        <target>

            <engine-container-name>ca-dev_container1</engine-container-name>

        </target>

    </deployment-target>

</application>

 

첫째. name은 어플리케이션 이름이 된다. 여기에 설정 된 이름으로 컨테이너 폴더 밑에 deploy 된다.

예 )  /home/jeus/jeus6/webhome/test_container1/yangyag/cjhv_war___

 

둘째. context-root 는 접속할 웹 주소가 된다. 

예를들어 name 에다가 yangyag 라고 설정 해 놓으면 접속 시 http://localhost;8088/yangyag 라고 입력해야 접근 할 수 있다.

http://localhost:8080 형식의 루트로 접근을 원할경우 / 라고만 표시하면 된다.

 

셋째. path 부분은 소스가 위치한 실제 경로를 표시하면 된다. 

단 war 로 배포할 경우 .war 확장자명까지 꼭 적어 주어야 한다.

 

넷째. engine-container-name 에는 컨테이너 이름을 적으면 된다.



출처: https://yangyag.tistory.com/192 [Hello Brother!]

반응형
Comments