본문 바로가기
시스템/wildfly

ISPN000299 에러 발생시

by cbwstar 2022. 11. 30.
728x90
반응형

Log 파일 에러 확인

cat server.log | grep -i ISPN000299

 

2022-10-31 08:34:45,063 ERROR [org.infinispan.interceptors.impl.InvocationContextInterceptor] (async-thread--p21-t1) ISPN000136: Error executing command GetKeyValueCommand on Cache 'ifh-1.0.0.war', writing keys []: org.infinispan.util.concurrent.TimeoutException: ISPN000299: Unable to acquire lock after 15 seconds for key SessionCreationMetaDataKey(_1aaGAyLJzArCk2zoiUe-VARdxOmDJt8wyBuC-MA) and requestor GlobalTx:ifhwas1:13. Lock is held by GlobalTx:ifhwas1:12

2022-10-31 08:34:45,069 ERROR [io.undertow.servlet.request] (default task-1) UT015005: Error invoking method requestInitialized on listener class org.jboss.weld.module.web.servlet.WeldInitialListener: org.infinispan.util.concurrent.TimeoutException: ISPN000299: Unable to acquire lock after 15 seconds for key SessionCreationMetaDataKey(_1aaGAyLJzArCk2zoiUe-VARdxOmDJt8wyBuC-MA) and requestor GlobalTx:ifhwas1:13. Lock is held by GlobalTx:ifhwas1:12

Caused by: org.infinispan.util.concurrent.TimeoutException: ISPN000299: Unable to acquire lock after 15 seconds for key SessionCreationMetaDataKey(_1aaGAyLJzArCk2zoiUe-VARdxOmDJt8wyBuC-MA) and requestor GlobalTx:ifhwas1:13. Lock is held by GlobalTx:ifhwas1:12

 

 

 

Timeout 15 에러 발생시 acquire-timeout 시간을 늘려준다.

standalone-ha.xml

 

acquire-timeout="60000" 항목을 추가하여 시간을 60초로 늘려준다.

 

 <cache-container name="web" default-cache="dist" module="org.wildfly.clustering.web.infinispan">

                <transport lock-timeout="60000"/>

                <replicated-cache name="sso">

                    <locking isolation="REPEATABLE_READ" striping="false" acquire-timeout="60000"/>

                    <transaction mode="BATCH"/>

                </replicated-cache>

                <replicated-cache name="routing"/>

                <distributed-cache name="dist">

                    <locking isolation="REPEATABLE_READ" striping="false" acquire-timeout="60000"/>

                    <transaction mode="BATCH"/>

                    <file-store/>

                </distributed-cache>

            </cache-container>

728x90
반응형

'시스템 > wildfly' 카테고리의 다른 글

Jsp 자동 반영안될경우 옵션 추가  (0) 2022.11.30
Db재기동시 reconnection  (0) 2022.11.30
ear 만들기(세션공유)  (0) 2021.09.13
아파치+wildfly 연동  (0) 2021.09.10
아파치 웹서버 forbidden  (0) 2021.09.10

댓글



"이 포스팅은 쿠팡 파트너스 활동의 일환으로, 이에 따른 일정액의 수수료를 제공받습니다."

loading