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ヶ月前1625ビュー
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
エキスパート
レビュー済み 19日前
profile picture
エキスパート
レビュー済み 2ヶ月前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ