2010년 8월 27일 금요일

[Oracle] Coherence*web

[Cluster node (weblogic 10.3.3 or later)]

Coherence*web  세션의 범위는 coherence-web-spi.war 와 coherence.jar 의 위치에 의해서 결정된다. (in classloader hierarchy)

  • application server-scoped
    • classpath 에 다음 라이브러리 추가 : coherence.jar, coherence-web-spi.war
    • system classpath에 다음 라이브 러리 추가 : WL_HOME/common/deployablelibraries/active-cache.jar in the system classpath.
      (** active-cache.jar 는 반드시 deployable-libraries folder 에 넣고 사용해야 한다. )
    • weblogic.xml에 다음을 추가 한다.
      <weblogic-web-app>
      ...
          <library-ref>
              <library-name>coherence-web-spi</library-name>
          </library-ref>
      ...
      </weblogic-web-app>
    • (Optional)
  • EAR-scoped
  • WAR-scoped
    • <weblogic-web-app>
      ...
          <library-ref>
              <library-name>coherence</library-name>
          </library-ref>
          <library-ref>
              <library-name>active-cache</library-name>
          </library-ref>
          <library-ref>
              <library-name>coherence-web-spi</library-name>
          </library-ref>
      ...
      </weblogic-web-app>

[Identifying a Coherence Cluster for EAR-Scoped Cluster Nodes]


weblogic.xml
<weblogic-web-app>
...
<coherence-cluster-ref>
    <coherence-cluster-name>
    myCoherenceCluster
    </coherence-cluster-name>
</coherence-cluster-ref>
...
</weblogic-web-app>

[Locking mode]

[Session scope and Session Attribute]

[clean Expired Http Session]

[ActiveCache]

이 기능을 사용 하려면 active-cache.jar 를 /WL_HOME/common/deployable-libraries 폴더에 넣어야 한다.

댓글 없음:

댓글 쓰기