Error ‘BluesamManager’ when starting modernized application in AWS Mainframe Modernization

3

When starting the CardDemo application in AWS Mainframe Modernization, I get the following stack trace:

Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.netfective.bluage.gapwalk.bluesam.BluesamManager]: Factory method 'bluesamManager' threw exception; 
nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'bluesamLocksManager' defined in class path resource [com/netfective/bluage/bluesam/autoconfigure/BluesamAutoConfiguration$EmbeddedBluesamAutoConfiguration.class]: Bean instantiation via factory method failed; 
nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.netfective.bluage.gapwalk.bluesam.concurrent.locks.BluesamLocksManager]: Factory method 'bluesamLocksManager' threw exception; 
nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'com.netfective.bluage.bluesam.autoconfigure.BluesamAutoConfiguration$RedisBluesamLocksAutoConfiguration': Unsatisfied dependency expressed through field 'redisLocker'; 
nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'redisBluesamLocker': Invocation of init method failed; 
nested exception is org.springframework.data.redis.RedisConnectionFailureException: java.net.SocketTimeoutException: Read timed out; 
nested exception is redis.clients.jedis.exceptions.JedisConnectionException: java.net.SocketTimeoutException: Read timed out

I tried to stop / restart the application and to recreate, but to no avail.

AWS
Alae
질문됨 2달 전1609회 조회
1개 답변
4
수락된 답변

The error seems to be related to the Redis cache.

In AWS ElastiCache, when creating the Redis cache, you should select “Design your own cache” then “Cluster cache” instead of “Serverless”.

AWS
ArnO
답변함 2달 전
profile picture
전문가
검토됨 18일 전
profile picture
전문가
검토됨 2달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠