Hi,
I have integrated Erktop in our existing Spring application. If I
follow the suggestions from tutorial and sample code my Spring
application will fail to start if the CouchDB server is not listening
for connections. Is there a way to allow the application to continue
and just fail in the case the Repository is invoked?
Here is the typical error:
Caused by: org.springframework.beans.BeanInstantiationException: Could
not instantiate bean class
[com.nestorurquiza.dms.couchdb.erktop.dao.DocumentRepository]:
Constructor threw exception; nested exception is
org.ektorp.DbAccessException:
org.apache.http.conn.HttpHostConnectException: Connection to
http://localhost:5984 refused
Thanks!
-Nestor