기타지식 [JEUS 7.0] eclipse plug-in 연동 2015. 06. 09
[JEUS 7] eclipse plug-in 연동 1. 개요 Eclipse 와 JEUS 7 연동시필요한 plug-in 제공및환경설정에관한가이드제공하여 Eclipse 에서 JEUS 7 기동및 종료테스트할수있는방법을기술하였습니다. 2. Plug-in 설치 2.1 [Step. 1] 메뉴선택 - [Help] > [Install New Software] 선택 2
2.2 [Step. 2] Repository 선택 - [Add] > [Archive] 클릭 1 2 2.3 [Step. 3] Repository 선택 - Eclipse Plug-in 파일선택 (Plugin 파일은 technet.tmaxsoft.com 에서다운로드 ) 1 2 3
2.4 [Step. 4] Repository 선택 - Name 항목에 Jeus 7 을기입후 OK 선택 2.5 [Step. 5] JEUS 7 plug-in 설치 - Install New Software 선택 1 2 4
2.6 [Step. 6] JEUS 7 plug-in 설치 - 설치진행현황확인 2.7 [Step. 7] JEUS 7 plug-in 설치 - 설치모듈확인 5
2.8 [Step. 8] JEUS 7 plug-in 설치 - 설치상세확인 2.9 [Step. 9] JEUS 7 plug-in 설치 - 라이선스동의및설치완료 6
2.10 [Step. 10] JEUS 7 plug-in 설치완료 - Window 보안액세스허용및 Eclipse 재기동 7
3. Plug-in 매뉴얼 3.1 메뉴선택 - [Help] > [Help Contents] 선택 3.2 매뉴얼확인 - JEUS WTP Adapter User Guide 확인 8
4. Eclipse 와 JEUS 7 연동 4.1 메뉴선택 - 메뉴에서 [Window] > [Show View] > [Other] 를선택하여 Servers View 화면이동 - 화면에서 [Server] > [Servers] 를선택 1 2 9
4.2 생성된메뉴확인 4.3 DAS 및 MS 서버추가 - 아래와같이 Servers 화면에서 [New] > [Server] 선택 10
4.4 JEUS 서버유형선택 - Domain Admin Server 선택 1 2 4.5 JRE 및 JEUS Server Runtime 디렉터리를설정 - Application Server Directory 및 JEUS Home Directory 설정 1 2 11
4.6 Admin Server 정보확인및수정 - Servers view 에추가된 DAS 항목을더블클릭시서버설정메뉴가오픈됨. - 기본값이서버정보와일치하지않기때문에설치된서버정보에맞게수정이필요 - 특히 Doamin 명, HTTP Port (8088 -> 8808 수정필요 ), UserName, Password, Targets 값확인필요 12
4.7 Admin Server 기동및종료 - Servers view 에추가된 DAS 항목을마우스오른쪽클릭시메뉴확인 - Console view 를통한서버부트확인 - Boot 되면 Started 로표시되며, Down 완료되면 Stopped 상태확인이가능 13
4.8 Application 디플로이 - Servers view 에추가된 DAS 항목을마우스오른쪽클릭시 Add and Remove 메뉴확인 - DAS 에디플로이할 application 을선택후 add 버튼을클릭해 Configured 로옮긴후 Finish 클릭합니다. 1 2 14
- Console 창에디플로이결과가나오고, 정상적으로디플로이가완료되면브라우저를통해호출할수있습니다. - 호출형식은 ip:http-port/ap 명 / 소스명으로호출합니다. ( 예 : http://192.168.70.77:8808/test1/index.jsp) Buildfile: D:\eclipse\workspace\.metadata\.plugins\org.eclipse.jst.server.generic.core\buildfile s\jeus7.xml [echo] jeus.home: D:\JEUS7 [echo] deploy.j2ee.web: [echo] The current OS is Windows 8.1 [echo] Project Working Directory: D:/eclipse/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp1 [echo] Project location: D:/eclipse/workspace/test1 [echo] Module dir: D:/eclipse/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp1/test1 [echo] Context root: test1 [echo] Poject: test1 [echo] Being deployed at adminserver... [jar] Building jar: D:\eclipse\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\test1.war [move] Moving 1 file to D:\JEUS7\server\default\deploy [echo] 1. being installed... [exec] Attempting to connect to 192.168.70.77:9736. [exec] The connection has been established to Domain Administration Server adminserver in the domain jeus_domain. [exec] Successfully installed the application [test1]. [echo] 2. Being deployed at adminserver [exec] Attempting to connect to 192.168.70.77:9736. [exec] The connection has been established to Domain Administration Server adminserver in the domain jeus_domain. [exec] deploy the application for the application [test1] succeeded. [echo] D:\JEUS7/bin/jeusadmin.cmd BUILD SUCCESSFUL Total time: 28 seconds 제약사항호출시사용하는 context-path 는현재플러그인버전에서는변경불가하며기본적으로디플로이되는 application 명을사용한다. 변경이필요하다면디플로이를이클립스에서하지않고, JEUS webadmin (JEUS IP:9736/webadmin) 에서디플로이를수행해야합니다. 15
4.9 Admin Server 삭제 - Servers view 에추가된 DAS 항목을마우스오른쪽클릭시메뉴확인 5. 기타항목 Managed Server 추가및기타설정 - 매뉴얼을통한상세항목참조 16
Copyright 2015 TmaxSoft Co., Ltd. All Rights Reserved. Trademarks Tmax, WebtoB, WebT, JEUS, ProFrame, SysMaster and OpenFrame are registered trademarks of TmaxSoft Co., Ltd. Other products, titles or services may be registered trademarks of their respective companies. Contact Information TmaxSoft can be contacted at the following addresses to arrange for a consulting team to visit your company and discuss your options. Korea TmaxSoft Co., Ltd 5, Hwangsaeul-ro 329beon-gil, Bundang-gu, Seongnam-si, Gyeonggi-do. South Korea Tel: +82-31-8018-1000 Fax: +82-31-8018-1115 Email: info@tmax.co.kr Web (Korean): http://www.tmaxsoft.com Technical Support: http://technet.tmaxsoft.com USA TmaxSoft, Inc. 560 Sylvan Avenue Englewood Cliffs, NJ 07632. U.S.A Tel: +1-201-567-8266 Fax: +1-201-567-7339 Email: info@tmaxsoft.com Web (English): http://www.tmaxsoft.com Russia Tmax Russia L.L.C. Grand Setun Plaza, No A204 Gorbunova st.2, Moscow, 121596 Tel: +7(495)970-01-35 Email: info.rus@tmaxsoft.com Web (Russian): http://ru.tmaxsoft.com Singapore Tmax Singapore Pte. Ltd. 430 Lorong 6, Toa Payoh #10-02, OrangeTee Building. Singapore 319402 Tel: +65-6259-7223 Email: info.sg@tmaxsoft.com United Kingdom TmaxSoft UK Ltd. Surrey House, Suite 221, 34 Eden Street, Kingston-Upon- Thames, KT1 1ER United Kingdom Tel: + 44-(0)20-8481-3776 Email: info.uk@tmaxsoft.com Web (English): http:/www.tmaxsoft.com Japan TmaxSoft Japan Co., Ltd. 5F Sanko Bldg, 3-12-16 Mita, Minato-Ku, Tokyo, 108-0073 Japan Tel: +81-3-5765-2550 Fax: +81-3-5765-2567 Email: info.jp@tmaxsoft.com Web (Japanese): http://www.tmaxsoft.co.jp China TmaxSoft China Co., Ltd. Beijing Silver Tower, RM 1508, 2 North Rd Dong San Huan, Chaoyang District, Beijing, China, 100027. China Tel: +86-10-6410-6145~8 Fax: +86-10-6410-6144 Email: info.cn@tmaxsoft.com Web (Chinese): http://www.tmaxsoft.com.cn Brazil TmaxSoft Brazil Avenida Copacabana, 177-3 andar 18 do Forte Empresarial, Alphaville - Barueri, Sao Paulo, SP-Brasil CEP 06472-001 Email: contato.brasil@tmaxsoft.com TN-JSET-E0609001 17