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 個月前檢視次數 1623 次
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 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南