1

I'm trying to configure Coherence 3.7 on Oracle Web Logic Server 10.3.4, but when I try to run application on server using eclipse, I get following error.

<9 May, 2012 4:28:23 PM IST> with ID '1336561103127' for task '14'. Error is: 'weblogic.application.ModuleException: No storage-enabled nodes exist >for service DistributedSessions' weblogic.application.ModuleException: No storage-enabled nodes exist for service DistributedSessions at weblogic.servlet.internal.WebAppModule.activateContexts(WebAppModule.java:1497) at weblogic.servlet.internal.WebAppModule.activate(WebAppModule.java:438) at weblogic.application.internal.flow.ModuleStateDriver$2.next(ModuleStateDriver.java:375) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52) at weblogic.application.internal.flow.ModuleStateDriver.activate(ModuleStateDriver.java:95) Truncated. see log file for complete stacktrace Caused By: com.tangosol.net.RequestPolicyException: No storage-enabled nodes exist for service DistributedSessions at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache$BinaryMap.o>nMissingStorage(PartitionedCache.CDB:32) at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache$BinaryMap.s>endStorageRequest(PartitionedCache.CDB:11) at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache$BinaryMap.a>ddIndex(PartitionedCache.CDB:11) at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache$ViewMap.add>Index(PartitionedCache.CDB:1) at com.tangosol.coherence.component.util.SafeNamedCache.addIndex(SafeNamedCache.CDB:1) Truncated. see log file for complete stacktrace

<9 May, 2012 4:28:23 PM IST> <9 May, 2012 4:28:23 PM IST> application '_auto_generated_ear_'.> <9 May, 2012 4:28:23 PM IST> nMissingStorage(PartitionedCache.CDB:32) at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache$BinaryMap.s>endStorageRequest(PartitionedCache.CDB:11) at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache$BinaryMap.a>ddIndex(PartitionedCache.CDB:11) at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache$ViewMap.add>Index(PartitionedCache.CDB:1) at com.tangosol.coherence.component.util.SafeNamedCache.addIndex(SafeNamedCache.CDB:1) Truncated. see log file for complete stacktrace

I've checked with the cache start script and enabled local-storage true in it, but it still doesn't works. Can someone please provide me right steps to configure coherence cache on the Weblogic Server (in web console and in applcation), or suggest me possible reasons why am I getting this error.

4

3 に答える 3

3

これは、いくつかの異なるケースで発生する可能性があります。ストレージが有効なノードがストレージが無効なノード (この場合は WebLogic) に接続されていないか、ストレージが有効なノードで SESSION ローカル ストレージが有効になっていません。クラスターに実行時にストレージが有効なノードが含まれていることを確認し、次のオプションを使用してキャッシュ サーバーが起動されていることを確認します。

-Dtangosol.coherence.session.localstorage=true

于 2012-05-09T15:20:46.623 に答える
0

私はこの問題を抱えていました。両方の localstorage システム パラメータが true に設定されています。問題は、キャッシュ構成がロードされていなかったため、要求されたキャッシュ サービスが単にその「サーバー」ノードに認識されなかったことです。

したがって、この問題が発生した場合は、キャッシュ構成が読み込まれているかどうかを確認してください ("Loaded cache configuration from ...")。

于 2015-06-12T19:12:04.257 に答える