Oracle Fusion Middleware/Coherence
Coherence Sample APP 생성 및 WebLogic 배포
우엉잇
2022. 2. 3. 11:10
# WebLogic - Coherence 설정 부분 생략
# Coherence 설정 파일 경우 WEB-INF/classes xml 파일 참조
테스트 APP 내용을 작성 할 때 혼동한 부분으로는 Coherence 12.2.1 에서 아래와 같이 작성하라고 나와 있었다.
. . CacheFactory.ensureCluster(); NamedCache cache = CacheFactory.getCache("example-hello"); . . CacheFactory.shutdown(); |
500 Error 발생하여 잘못 된 부분을 확인해봤는데 Coherence 12.2.1.3 부턴 아래처럼 작성을 해야되는 것이였다.
. Session coh_session = new CoherenceSession(); NamedCache cache = coh_session.getCache("example-hello"); . coh_session.close(); |
아래 주소의 "2.4.1 Create the Sample Web Application" 참조
https://docs.oracle.com/middleware/12213/coherence/develop-applications/building-your-first-coherence-application.htm#COHDG5358 |
---------------------------------------------------------------------------------------------------------------------------
테스트 화면
# 샘플 APP 첨부