diff --git a/pom.xml b/pom.xml
index 76a6a6e7..b2f496a2 100644
--- a/pom.xml
+++ b/pom.xml
@@ -3,7 +3,7 @@
4.0.0
org.summerboot
jexpress
- 2.3.12-SNAPSHOT
+ 2.3.12
jar
Summer Boot jExpress
Summer Boot jExpress focuses on solving non-functional and operational maintainability requirements, some of which Spring Boot has (may) not yet provided
@@ -174,7 +174,7 @@
3.14.0
1.6.0
- 2.15.0
+ 2.15.1
@@ -191,7 +191,7 @@
4.1.101.Final
2.0.62.Final
- 1.59.0
+ 1.59.1
32.1.3-jre
3.25.1
diff --git a/src/main/java/org/summerboot/jexpress/nio/server/BootHttpExceptionHandler.java b/src/main/java/org/summerboot/jexpress/nio/server/BootHttpExceptionHandler.java
index 29197338..e2840f69 100644
--- a/src/main/java/org/summerboot/jexpress/nio/server/BootHttpExceptionHandler.java
+++ b/src/main/java/org/summerboot/jexpress/nio/server/BootHttpExceptionHandler.java
@@ -22,6 +22,7 @@
import io.netty.handler.codec.http.HttpMethod;
import io.netty.handler.codec.http.HttpResponseStatus;
import jakarta.persistence.PersistenceException;
+import java.io.IOException;
import java.net.http.HttpConnectTimeoutException;
import java.net.http.HttpTimeoutException;
import java.util.Collection;
@@ -69,7 +70,7 @@ public void onNamingException(NamingException ex, HttpMethod httptMethod, String
if (cause == null) {
cause = ex;
}
- if (cause instanceof java.net.UnknownHostException) {
+ if (cause instanceof IOException) {// java.net.UnknownHostException
HealthMonitor.setHealthStatus(false, ex.toString(), healthInspector);
nakFatal(context, HttpResponseStatus.SERVICE_UNAVAILABLE, BootErrorCode.ACCESS_ERROR_LDAP, "LDAP " + cause.getClass().getSimpleName(), ex, cmtpCfg.getEmailToAppSupport(), httptMethod + " " + httpRequestPath);
} else {
@@ -85,7 +86,7 @@ public void onPersistenceException(PersistenceException ex, HttpMethod httptMeth
if (cause == null) {
cause = ex;
}
- if (cause instanceof java.net.ConnectException) {
+ if (cause instanceof IOException) {// java.net.ConnectException
HealthMonitor.setHealthStatus(false, ex.toString(), healthInspector);
nakFatal(context, HttpResponseStatus.SERVICE_UNAVAILABLE, BootErrorCode.ACCESS_ERROR_DATABASE, "DB " + cause.getClass().getSimpleName(), ex, cmtpCfg.getEmailToAppSupport(), httptMethod + " " + httpRequestPath);
} else {