2012-05-09 2 views
1

Oracle Web Logic Server 10.3.4에서 Coherence 3.7을 구성하려고하는데 Eclipse를 사용하여 서버에서 응용 프로그램을 실행하려고하면 다음 오류가 발생합니다.Oracle Weblogic 서버 10.3.4에서 Coherence Cache 구성 중 오류 발생

< 2012 년 5 월 4 일 4:28:23 PM IST> ID가 '1336561103127'인 작업 '14'입니다. 오류 : 'weblogic.application.ModuleException : 서비스 DistributedSessions에 대한 저장 장치가 가능한 노드 없음' weblogic.application.ModuleException : weblogic.servlet.internal.WebAppModule.activateContexts (webAppModule)의 서비스 DistributedSessions 에 대한 저장 장치가 설정된 노드가 없습니다. .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) 잘 렸습니다. 전체 stacktrace에 대한 로그 파일 참조 작성자 : com.tangosol.net.RequestPolicyException : com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache에서 서비스 DistributedSessions 의 저장소 사용 노드가 없습니다. $ BinaryMap.o> nMissingStorage (PartitionedCache.CDB : 32) com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache $ BinaryMap.s> endStorageRequest (PartitionedCache.CDB : 11) 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> 색인 (PartitionedCache.CDB : 1) at com.t 주소가 잘리지 않았습니다. 완전한 스택 트레이스에 대한

< 5월 9일 2012 오후 4시 28분 23초의 IST> < 5월 9일 2012 오후 4시 28분 23초의 IST> 응용 프로그램 '_auto_generated_ear _을'로그 파일을 참조하십시오.> 2012 년 4 < 5월 9일을 : 28 : 23 PM IST> nMissingStorage (PartitionedCache.CDB : 32) 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 $ V iewMap.add> 색인 (PartitionedCache.CDB : 1) at com.tangosol.coherence.component.util.SafeNamedCache.addIndex (SafeNamedCache.CDB : 1) 잘 렸습니다. 전체 스택 추적을 위해 로그 파일을 참조하십시오

내가 캐시 시작 스크립트를 확인하고 로컬 저장이 참 활성화,하지만 여전히 작동하지 않습니다했습니다. 누군가가 Weblogic Server (웹 콘솔 및 applcation에서)에 일관성 캐시를 구성하는 올바른 단계를 제공하거나이 오류가 발생하는 이유를 제안 할 수 있습니까?

답변

2

이는 몇 가지 다른 경우에 발생할 수 있습니다. 스토리지 사용 가능 노드가 스토리지 비활성화 노드 (귀하의 경우 WebLogic)에 연결되어 있지 않거나 스토리지 사용 가능 노드에 SESSION 로컬 스토리지가 사용 가능하지 않습니다.클러스터가 런타임에 저장 가능한 노드가 포함되어 있는지 확인하고 캐시 서버는 다음 옵션으로 시작되어 있는지 확인 :

-Dtangosol.coherence.session.localstorage=true

+0

@ Jeff는 답장을 보내 주셔서 감사합니다. 이미 캐시 서버 실행 스크립트에이 매개 변수를 추가했지만 성공하지는 못했습니다. 프로젝트와 마찬가지로 서버 콘솔에서 변경해야하는 사항을 포함하여 WebLogic Server에서 Coherence 캐시를 구성하는 빠른 단계를 제공 할 수 있다면 좋을 것입니다. – vibhav

+0

이 매개 변수를 WebLogic 시작 스크립트에 추가하면 작동 할 것입니다 문제없이. 이것은 WebLogic과 동일한 힙에 Coherence 데이터를 저장합니다. –

+0

@ Jeff tangosol.coherence.distributed.localstorage 속성을 의미 했습니까? –

0

당신은 당신의 웹 로직 서버 설치에 일부 JVM 매개 변수를 지정해야합니다. 환경 -> 서버로 이동하여 서버를 선택하십시오. 탭 구성에서 나는 정확히 같은 오류가 발생한 서버를 시작 탭을 선택하고 필드 인수는 다음과 같은 JVM이

-Dtangosol.coherence.cacheconfig=session-cache-config.xml -Dtangosol.coherence.distributed.localstorage=true -Dtangosol.coherence.session.localstorage=true 
-Dtangosol.coherence.cluster=CoherenceCluster 
-Dtangosol.coherence.clusteraddress=231.1.3.4 
-Dtangosol.coherence.clusterport=7744 

이 나를 위해 일한 매개 변수 오순절 입력합니다.

0

이 문제가 발생했습니다. 두 localstorage 시스템 매개 변수는 모두 true로 설정됩니다. 문제는 내 캐시 구성이로드되지 않아서 요청 된 캐시 서비스가 단순히 "서버"노드에 알려지지 않았기 때문입니다.

이 문제가 발생하면 캐시 구성이로드되고 있는지 확인하십시오 ("캐시 구성로드 ...").

관련 문제