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
asked a month ago1268 views
1 Answer
4
Accepted Answer

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
answered a month ago
profile picture
EXPERT
reviewed 5 days ago
profile picture
EXPERT
reviewed a month ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions