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
gefragt vor 2 Monaten1626 Aufrufe
1 Antwort
4
Akzeptierte Antwort

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
beantwortet vor 2 Monaten
profile picture
EXPERTE
überprüft vor 19 Tagen
profile picture
EXPERTE
überprüft vor 2 Monaten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen