# 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 첨부
'Oracle Fusion Middleware > Coherence' 카테고리의 다른 글
[Coh] WebLogic 14c Coherecne inner (0) | 2023.01.03 |
---|---|
Coherence death detection (0) | 2022.05.10 |
coherence 12c(client) to coherence 3.7(server) (0) | 2022.02.23 |
Coherence Data Grid - First Coherence Application 구축 (0) | 2022.01.26 |