Error creating bean with name 'couchbaseTransactionManager' defined in class path resource [com/ibm/watson/scbn/onboarding/CouchbaseConfiguration.class]

We have recently migrated our Springboot application from an older version to new and updated the dependent libraries.

Spring framework: 3.2.5
Couchbase client: 3.4.4

Once the application is deployed and started, we encounter the below exception"

Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘transactionInterceptorCustomizer’ defined in class path resource [com/ibm/watson/scbn/onboarding/CouchbaseConfiguration.class]: Error creating bean with name ‘org.springframework.transaction.config.internalTransactionAdvisor’ defined in class path resource [org/springframework/transaction/annotation/ProxyTransactionManagementConfiguration.class]: Unsatisfied dependency expressed through method ‘transactionAdvisor’ parameter 1: Error creating bean with name ‘transactionInterceptor’ defined in class path resource [org/springframework/transaction/annotation/ProxyTransactionManagementConfiguration.class]: Error creating bean with name ‘couchbaseTransactionManager’ defined in class path resource [com/ibm/watson/scbn/onboarding/CouchbaseConfiguration.class]: Unsatisfied dependency expressed through method ‘couchbaseTransactionManager’ parameter 0: Error creating bean with name ‘couchbaseClientFactory’ defined in class path resource [com/ibm/watson/scbn/onboarding/CouchbaseConfiguration.class]: Unsatisfied dependency expressed through method ‘couchbaseClientFactory’ parameter 0: Error creating bean with name ‘couchbaseCluster’ defined in class path resource [com/ibm/watson/scbn/onboarding/CouchbaseConfiguration.class]: Unsatisfied dependency expressed through method ‘couchbaseCluster’ parameter 0: Error creating bean with name ‘couchbaseClusterEnvironment’ defined in class path resource [com/ibm/watson/scbn/onboarding/CouchbaseConfiguration.class]: Failed to instantiate [com.couchbase.client.java.env.ClusterEnvironment]: Factory method ‘couchbaseClusterEnvironment’ threw exception with message: File parameter 'file is not writable: ‘/app/certs/couchbase.pem’

Appreciate any help

The stack trace indicates the issue is that in com/ibm/watson/scbn/onboarding/CouchbaseConfiguration, the file /app/certs/couchbase.pem is not writeble. If that is your class, you can modify it. If it is not your class refer to the documentation or the provider of that class. It also seems that you could change the permissions on that file or the directory such that the application could write it.

Thank you Mreiche for your response.

Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘transactionInterceptorCustomizer’ defined in class path resource [com/ibm/watson/scbn/onboarding/CouchbaseConfiguration.class]: Error creating bean with name ‘org.springframework.transaction.config.internalTransactionAdvisor’ defined in class path resource

But we do see some Bean Initialization exception as well.

Right. The bean initialization fails because the exception in com/ibm/watson/scbn/onboarding/CouchbaseConfiguration