kui-vault/06.Archive/aimSystems/NXMCS/환경설정/MCS Server 셋업.md

86 lines
3.4 KiB
Markdown
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#### 1. 전달 받은 소스 및 설치 파일
1. JDK1.7 이상 ( 32bit 필요)
- jdk-8u381-windows-i586.exe
2. Tibco 8.3 이상 ( 32bit 필요)
- TIB_rv_8.4.3_win_x86_vc10.zip
3. MCS_TM18_개발환경구성
1). DATABASE
- database script file
2). SERVER
- eclipse.zip → IDE
- TM18_server.zip → config setup 되어 있는 workspace
3). UI
- layout → 기존 사용하는 모델링 layout
- TM18_client.zip → client setup 및 실행 파일
#### 2. 설치
- JDK 설치
- TibRV 설치
- Eclipse 압축풀기
#### 3. DB Set
- Oracle 11g 설치
- Script를 통해 테이블 생성 및 더미 데이터 추가
( CreateTableScript_TM18.sql 실행, TM18 Insert Script.sql 실행 )
주의사항: TM18 Insert Script.sql은 파일크기가 너무 커서 sql devleopment에서 못염
( IOExcepion 발생 ) 텍스트 에디터에서 연 다음 분할해서 실행시켜야함 (예를들어 10만줄씩?)
#### 4. 환경설정
![[2023-11-08 MCS 교육 필기]]
eclipse 실행
- workspace 위치  TM18_server.zip 압축푼 디렉토리
- greenmcs-entry > config > TRANS4 > startup > interface.properties 수정 하고 저장
```xml
//interface.properties
..
## Basic
product=GREENMCS
site=TIANMA
fab=TM18
environment=COMMON --> environment=자신의 고유한 명칭으로 변경 ex) environment=JIKIM
..
..
#LOCAL
server.domain.host=TIANMA.TM18.MES.COMMON.FAB.TEMsvr -> TIANMA.TM18.MES.JIKIM.FAB.TEMsvr
server.domain.mcs.host=TIANMA.TM18.MCS.COMMON.FAB.HIFsvr -> TIANMA.TM18.MCS.JIKIM.FAB.HIFsvr
```
UI setup
UI > TM18_client > plugins > kr.co.aim.greenmcs.client.custom_1.0.1.20151013 > config_TM18 > ui-interface.xml 수정
```xml
//ui-interface.xml
..
<!-- destination -->
<bean id="serverSenderDestination" class="kr.co.aim.greenmcs.communication.msb.tibrv.QueueDestination">
<property name="name"><value>GREENMCS.TIANMA.TM18.COMMON.UI.LISTENER</value></property> -> GREENMCS.TIANMA.TM18.JIKIM.UI.LISTENER
</bean>
<bean id="serverListenerDestination" class="kr.co.aim.greenmcs.communication.msb.tibrv.HostNameQueueDestination" init-method="init">
<property name="name"><value>GREENMCS.TIANMA.TM18.COMMON.UI.SENDER.ALL.#{host}</value></property> -> GREENMCS.TIANMA.TM18.JIKIM.UI.SENDER.ALL.#{host}
</bean>
<bean id="allServerListenerDestination" class="kr.co.aim.greenmcs.communication.msb.tibrv.HostNameQueueDestination" init-method="init">
<property name="name"><value>GREENMCS.TIANMA.TM18.COMMON.UI.SENDER.ALL</value></property> -> GREENMCS.TIANMA.TM18.JIKIM.UI.SENDER.ALL
</bean>
..
```
1. 수정후 [kr.co](http://kr.co/).aim.greenmcs.client.custom_1.0.1.20151013 폴더를 압축
2. 기존 [kr.co](http://kr.co/).aim.greenmcs.client.custom_1.0.1.20151013.jar 삭제
3. [kr.co](http://kr.co/).aim.greenmcs.client.custom_1.0.1.20151013.zip → 확장자 jar로 변경
4. exe 실행
1. plugin 어쩌구 저쩌구 에러가 발생하는 경우, [장원석](http://211.60.157.241:8090/display/~jhzhang) 책임에게 문의
5. Default 계정
1. common/common
6. . Java Project 설정
- workspace는 그냥 편한대다 만듬
- 그 워크스페이스에 프로젝트들 등록하고 진행하면 됨.
( run configuration은 전달받은 이클립스에 다 등록되어 있음 )