This is an automated email from the ASF dual-hosted git repository.

ilgrosso pushed a commit to branch 4_0_X
in repository https://gitbox.apache.org/repos/asf/syncope.git


The following commit(s) were added to refs/heads/4_0_X by this push:
     new 0b7e2fc93e [SYNCOPE-1923] Virtual Threads disabled by default, enabled 
for Docker with JDK 25
0b7e2fc93e is described below

commit 0b7e2fc93efa2dc4ac2ebcf8bf6eb93c0673ab74
Author: Francesco Chicchiriccò <[email protected]>
AuthorDate: Mon Oct 27 10:41:37 2025 +0100

    [SYNCOPE-1923] Virtual Threads disabled by default, enabled for Docker with 
JDK 25
---
 client/idrepo/console/src/main/resources/console.properties     | 2 --
 client/idrepo/enduser/src/main/resources/enduser.properties     | 2 --
 core/starter/src/main/resources/core.properties                 | 2 --
 docker/console/src/main/resources/Dockerfile                    | 2 +-
 docker/console/src/main/resources/console-docker.properties     | 2 ++
 docker/core/src/main/resources/Dockerfile                       | 2 +-
 docker/core/src/main/resources/core-docker.properties           | 2 ++
 docker/enduser/src/main/resources/Dockerfile                    | 2 +-
 docker/enduser/src/main/resources/enduser-docker.properties     | 2 ++
 docker/sra/src/main/resources/Dockerfile                        | 2 +-
 docker/sra/src/main/resources/sra-docker.properties             | 2 ++
 docker/wa/src/main/resources/Dockerfile                         | 2 +-
 docker/wa/src/main/resources/wa-docker.properties               | 2 ++
 sra/src/main/resources/sra.properties                           | 2 --
 src/main/asciidoc/reference-guide/configuration/deployment.adoc | 3 +++
 wa/starter/src/main/resources/wa.properties                     | 2 --
 16 files changed, 18 insertions(+), 15 deletions(-)

diff --git a/client/idrepo/console/src/main/resources/console.properties 
b/client/idrepo/console/src/main/resources/console.properties
index c467152063..abe4de50f8 100644
--- a/client/idrepo/console/src/main/resources/console.properties
+++ b/client/idrepo/console/src/main/resources/console.properties
@@ -33,8 +33,6 @@ management.endpoint.env.show-values=WHEN_AUTHORIZED
 
 service.discovery.address=http://localhost:8080/syncope-console/
 
-spring.threads.virtual.enabled=true
-
 server.shutdown=graceful
 spring.lifecycle.timeout-per-shutdown-phase=30s
 
diff --git a/client/idrepo/enduser/src/main/resources/enduser.properties 
b/client/idrepo/enduser/src/main/resources/enduser.properties
index eb30724e80..91c92e1bf8 100644
--- a/client/idrepo/enduser/src/main/resources/enduser.properties
+++ b/client/idrepo/enduser/src/main/resources/enduser.properties
@@ -33,8 +33,6 @@ management.endpoint.env.show-values=WHEN_AUTHORIZED
 
 service.discovery.address=http://localhost:8080/syncope-enduser/
 
-spring.threads.virtual.enabled=true
-
 server.shutdown=graceful
 spring.lifecycle.timeout-per-shutdown-phase=30s
 
diff --git a/core/starter/src/main/resources/core.properties 
b/core/starter/src/main/resources/core.properties
index 8b233065d1..54595f25fe 100644
--- a/core/starter/src/main/resources/core.properties
+++ b/core/starter/src/main/resources/core.properties
@@ -33,8 +33,6 @@ management.endpoint.env.show-values=WHEN_AUTHORIZED
 
 spring.main.allow-bean-definition-overriding=true
 
-spring.threads.virtual.enabled=true
-
 server.shutdown=graceful
 spring.lifecycle.timeout-per-shutdown-phase=30s
 
diff --git a/docker/console/src/main/resources/Dockerfile 
b/docker/console/src/main/resources/Dockerfile
index 72b5e0069b..c9d899035f 100644
--- a/docker/console/src/main/resources/Dockerfile
+++ b/docker/console/src/main/resources/Dockerfile
@@ -15,7 +15,7 @@
 # specific language governing permissions and limitations
 # under the License.
 
-FROM eclipse-temurin:21-jdk-alpine
+FROM eclipse-temurin:25-jdk-alpine
 LABEL org.opencontainers.image.authors="[email protected]"
 
 RUN apk update && apk add bash
diff --git a/docker/console/src/main/resources/console-docker.properties 
b/docker/console/src/main/resources/console-docker.properties
index 6891bea30b..0ae56628b6 100644
--- a/docker/console/src/main/resources/console-docker.properties
+++ b/docker/console/src/main/resources/console-docker.properties
@@ -23,4 +23,6 @@ service.discovery.address=${SERVICE_DISCOVERY_ADDRESS}
 console.anonymousUser=${ANONYMOUS_USER:anonymous}
 console.anonymousKey=${ANONYMOUS_KEY:anonymousKey}
 
+spring.threads.virtual.enabled=true
+
 logging.config=file:///opt/syncope/conf/log4j2.xml
diff --git a/docker/core/src/main/resources/Dockerfile 
b/docker/core/src/main/resources/Dockerfile
index d55c99ef49..62c065d62f 100644
--- a/docker/core/src/main/resources/Dockerfile
+++ b/docker/core/src/main/resources/Dockerfile
@@ -15,7 +15,7 @@
 # specific language governing permissions and limitations
 # under the License.
 
-FROM eclipse-temurin:21-jdk-alpine
+FROM eclipse-temurin:25-jdk-alpine
 LABEL org.opencontainers.image.authors="[email protected]"
 
 RUN apk update && apk add bash
diff --git a/docker/core/src/main/resources/core-docker.properties 
b/docker/core/src/main/resources/core-docker.properties
index cc26066714..f32d4e6059 100644
--- a/docker/core/src/main/resources/core-docker.properties
+++ b/docker/core/src/main/resources/core-docker.properties
@@ -25,4 +25,6 @@ security.anonymousKey=${ANONYMOUS_KEY:anonymousKey}
 
 persistence.remoteCommitProvider=${OPENJPA_REMOTE_COMMIT}
 
+spring.threads.virtual.enabled=true
+
 logging.config=file:///opt/syncope/conf/log4j2.xml
diff --git a/docker/enduser/src/main/resources/Dockerfile 
b/docker/enduser/src/main/resources/Dockerfile
index a87be1ce06..c57f57037f 100644
--- a/docker/enduser/src/main/resources/Dockerfile
+++ b/docker/enduser/src/main/resources/Dockerfile
@@ -15,7 +15,7 @@
 # specific language governing permissions and limitations
 # under the License.
 
-FROM eclipse-temurin:21-jdk-alpine
+FROM eclipse-temurin:25-jdk-alpine
 LABEL org.opencontainers.image.authors="[email protected]"
 
 RUN apk update && apk add bash
diff --git a/docker/enduser/src/main/resources/enduser-docker.properties 
b/docker/enduser/src/main/resources/enduser-docker.properties
index ef5b6d2d08..99db7974e2 100644
--- a/docker/enduser/src/main/resources/enduser-docker.properties
+++ b/docker/enduser/src/main/resources/enduser-docker.properties
@@ -23,4 +23,6 @@ service.discovery.address=${SERVICE_DISCOVERY_ADDRESS}
 enduser.anonymousUser=${ANONYMOUS_USER:anonymous}
 enduser.anonymousKey=${ANONYMOUS_KEY:anonymousKey}
 
+spring.threads.virtual.enabled=true
+
 logging.config=file:///opt/syncope/conf/log4j2.xml
diff --git a/docker/sra/src/main/resources/Dockerfile 
b/docker/sra/src/main/resources/Dockerfile
index ba30a7e4fd..c9a2db18e1 100644
--- a/docker/sra/src/main/resources/Dockerfile
+++ b/docker/sra/src/main/resources/Dockerfile
@@ -15,7 +15,7 @@
 # specific language governing permissions and limitations
 # under the License.
 
-FROM eclipse-temurin:21-jdk-alpine
+FROM eclipse-temurin:25-jdk-alpine
 LABEL org.opencontainers.image.authors="[email protected]"
 
 RUN apk update && apk add bash
diff --git a/docker/sra/src/main/resources/sra-docker.properties 
b/docker/sra/src/main/resources/sra-docker.properties
index 8f9e096e0d..3d927d4d0e 100644
--- a/docker/sra/src/main/resources/sra-docker.properties
+++ b/docker/sra/src/main/resources/sra-docker.properties
@@ -23,4 +23,6 @@ service.discovery.address=${SERVICE_DISCOVERY_ADDRESS}
 sra.anonymousUser=${ANONYMOUS_USER:anonymous}
 sra.anonymousKey=${ANONYMOUS_KEY:anonymousKey}
 
+spring.threads.virtual.enabled=true
+
 logging.config=file:///opt/syncope/conf/log4j2.xml
diff --git a/docker/wa/src/main/resources/Dockerfile 
b/docker/wa/src/main/resources/Dockerfile
index dac89ec8b3..e626f5d719 100644
--- a/docker/wa/src/main/resources/Dockerfile
+++ b/docker/wa/src/main/resources/Dockerfile
@@ -15,7 +15,7 @@
 # specific language governing permissions and limitations
 # under the License.
 
-FROM eclipse-temurin:21-jdk-alpine
+FROM eclipse-temurin:25-jdk-alpine
 LABEL org.opencontainers.image.authors="[email protected]"
 
 RUN apk update && apk add bash
diff --git a/docker/wa/src/main/resources/wa-docker.properties 
b/docker/wa/src/main/resources/wa-docker.properties
index b823b1ad76..cf0a82a36f 100644
--- a/docker/wa/src/main/resources/wa-docker.properties
+++ b/docker/wa/src/main/resources/wa-docker.properties
@@ -28,4 +28,6 @@ wa.anonymousKey=${ANONYMOUS_KEY:anonymousKey}
 spring.security.user.name=${ANONYMOUS_USER:anonymous}
 spring.security.user.password=${ANONYMOUS_KEY:anonymousKey}
 
+spring.threads.virtual.enabled=true
+
 logging.config=file:///opt/syncope/conf/log4j2.xml
diff --git a/sra/src/main/resources/sra.properties 
b/sra/src/main/resources/sra.properties
index a4973bb1c3..d391754eae 100644
--- a/sra/src/main/resources/sra.properties
+++ b/sra/src/main/resources/sra.properties
@@ -28,8 +28,6 @@ spring.cloud.discovery.client.health-indicator.enabled=false
 
 service.discovery.address=http://localhost:8080/
 
-spring.threads.virtual.enabled=true
-
 server.shutdown=graceful
 spring.lifecycle.timeout-per-shutdown-phase=30s
 
diff --git a/src/main/asciidoc/reference-guide/configuration/deployment.adoc 
b/src/main/asciidoc/reference-guide/configuration/deployment.adoc
index d428af9a1f..801fa6b600 100644
--- a/src/main/asciidoc/reference-guide/configuration/deployment.adoc
+++ b/src/main/asciidoc/reference-guide/configuration/deployment.adoc
@@ -53,6 +53,9 @@ applications as standalone fat JAR or WAR files.
 Spring Boot applications can also be
 
https://docs.spring.io/spring-boot/3.4/how-to/deployment/installing.html[installed
 as system services^].
 
+[TIP]
+https://docs.spring.io/spring-boot/3.4/reference/features/spring-application.html#features.spring-application.virtual-threads[Virtual
 Threads^] can be enabled but JDK >= 24 is required in order to run properly.
+
 .Run Core application as standalone under GNU / Linux
 ====
 Assuming that the JDBC driver JAR file for the configured <<dbms>> is 
available under `/opt/syncope/lib`,
diff --git a/wa/starter/src/main/resources/wa.properties 
b/wa/starter/src/main/resources/wa.properties
index 8c75802d34..b7164687f3 100644
--- a/wa/starter/src/main/resources/wa.properties
+++ b/wa/starter/src/main/resources/wa.properties
@@ -56,8 +56,6 @@ cas.slo.disabled=false
 spring.main.allow-bean-definition-overriding=true
 spring.main.lazy-initialization=false
 
-spring.threads.virtual.enabled=true
-
 server.shutdown=graceful
 spring.lifecycle.timeout-per-shutdown-phase=30s
 

Reply via email to