mardi 6 novembre 2012

No storage-enabled nodes exist for service DistributedSessions in PIA_weblogic.log



When you try to setup Coherence*Web with PeopleSoft, if you see this message “No storage-enabled nodes exist for service DistributedSessions” in PIA_weblogic.log, you have probably misconfigured your Cache Server.
The Cache Server is starting with it’s own configuration defined in coherence-cache-config.xml.
In that file you need to declare the Cache Service named “DistributedSessions” like this:
    <distributed-scheme>
      <scheme-name>session-base</scheme-name>
      <service-name>DistributedSessions</service-name>
      <serializer>
        <instance>
        </instance>
      </serializer>
      <thread-count>0</thread-count>
      <lease-granularity>member</lease-granularity>
      <local-storage system-property="tangosol.coherence.session.localstorage">true</local-storage>
      <partition-count>257</partition-count>
      <backup-count>1</backup-count>
      <backup-storage>
        <type>on-heap</type>
      </backup-storage>
      <backing-map-scheme>
        <local-scheme>
          <scheme-ref>unlimited-local</scheme-ref>
        </local-scheme>
      </backing-map-scheme>
      <autostart>true</autostart>
    </distributed-scheme>