I have a long transaction and when an exception occurs the web application is still working but if I call some actions that involve the db (remote by REST) the action take long time to fail.
INFO [org.springframework.data.neo4j.config.Neo4jConfiguration] Intercepted exception
ERROR [org.springframework.transaction.interceptor.TransactionInterceptor] Application exception overridden by rollback exception
When it try to do the rollback it can't accomplish the action because the server doesn't respond
public class TransactionManager {
....
private HttpResponse executeRequest(HttpRequestBase request) {
...
HttpResponse response = httpClient.execute(request); // not respond
Can you help me? Thank you