This is an automated email from the ASF dual-hosted git repository. ilgrosso pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/syncope.git
commit 205eef70eb8734a3a6d415dfcbc719f47f6c275d Author: Francesco Chicchiriccò <[email protected]> AuthorDate: Tue Jan 20 12:02:43 2026 +0100 Improving Wildfly docs --- .../webapp/WEB-INF/jboss-deployment-structure.xml | 8 +- .../webapp/WEB-INF/jboss-deployment-structure.xml | 1 + .../webapp/WEB-INF/jboss-deployment-structure.xml | 8 +- .../reference-guide/configuration/deployment.adoc | 93 +++++++++++++++++++--- 4 files changed, 94 insertions(+), 16 deletions(-) diff --git a/fit/console-reference/src/main/webapp/WEB-INF/jboss-deployment-structure.xml b/fit/console-reference/src/main/webapp/WEB-INF/jboss-deployment-structure.xml index f38ebfc9fe..181433a962 100644 --- a/fit/console-reference/src/main/webapp/WEB-INF/jboss-deployment-structure.xml +++ b/fit/console-reference/src/main/webapp/WEB-INF/jboss-deployment-structure.xml @@ -22,16 +22,18 @@ under the License. <exclude-subsystems> <subsystem name="webservices"/> <subsystem name="jaxrs"/> + <subsystem name="logging"/> </exclude-subsystems> - <dependencies> - <module name="org.apache.xalan"/> - </dependencies> <exclusions> <module name="javax.ws.rs.api"/> <module name="org.apache.cxf"/> <module name="org.apache.cxf.impl"/> <module name="org.slf4j"/> <module name="org.slf4j.impl"/> + <module name="org.apache.log4j"/> + <module name="org.apache.logging.log4j.api"/> + <module name="org.jboss.log4j.logmanager"/> + <module name="org.jboss.logmanager.log4j2"/> </exclusions> </deployment> </jboss-deployment-structure> diff --git a/fit/core-reference/src/main/webapp/WEB-INF/jboss-deployment-structure.xml b/fit/core-reference/src/main/webapp/WEB-INF/jboss-deployment-structure.xml index dda1109b4a..0191a231ac 100644 --- a/fit/core-reference/src/main/webapp/WEB-INF/jboss-deployment-structure.xml +++ b/fit/core-reference/src/main/webapp/WEB-INF/jboss-deployment-structure.xml @@ -23,6 +23,7 @@ under the License. <subsystem name="webservices"/> <subsystem name="jaxrs"/> <subsystem name="bean-validation"/> + <subsystem name="logging"/> </exclude-subsystems> <dependencies> <module name="org.jboss.vfs"/> diff --git a/fit/enduser-reference/src/main/webapp/WEB-INF/jboss-deployment-structure.xml b/fit/enduser-reference/src/main/webapp/WEB-INF/jboss-deployment-structure.xml index f38ebfc9fe..181433a962 100644 --- a/fit/enduser-reference/src/main/webapp/WEB-INF/jboss-deployment-structure.xml +++ b/fit/enduser-reference/src/main/webapp/WEB-INF/jboss-deployment-structure.xml @@ -22,16 +22,18 @@ under the License. <exclude-subsystems> <subsystem name="webservices"/> <subsystem name="jaxrs"/> + <subsystem name="logging"/> </exclude-subsystems> - <dependencies> - <module name="org.apache.xalan"/> - </dependencies> <exclusions> <module name="javax.ws.rs.api"/> <module name="org.apache.cxf"/> <module name="org.apache.cxf.impl"/> <module name="org.slf4j"/> <module name="org.slf4j.impl"/> + <module name="org.apache.log4j"/> + <module name="org.apache.logging.log4j.api"/> + <module name="org.jboss.log4j.logmanager"/> + <module name="org.jboss.logmanager.log4j2"/> </exclusions> </deployment> </jboss-deployment-structure> diff --git a/src/main/asciidoc/reference-guide/configuration/deployment.adoc b/src/main/asciidoc/reference-guide/configuration/deployment.adoc index 4588c0833d..e0fbec3248 100644 --- a/src/main/asciidoc/reference-guide/configuration/deployment.adoc +++ b/src/main/asciidoc/reference-guide/configuration/deployment.adoc @@ -232,11 +232,6 @@ Add <artifactId>cxf-core</artifactId> <version>${cxf.version}</version> </dependency> - <dependency> - <groupId>org.apache.cxf</groupId> - <artifactId>cxf-rt-transports-http</artifactId> - <version>${cxf.version}</version> - </dependency> <dependency> <groupId>org.apache.cxf</groupId> <artifactId>cxf-rt-ws-policy</artifactId> @@ -249,7 +244,7 @@ Add </dependency> .... -as additional dependencies in `core/pom.xml`, `console/pom.xml`, `enduser/pom.xml` and `wa/pom.xml`, +as additional dependencies in `core/pom.xml` and `wa/pom.xml`, then replace @@ -281,9 +276,7 @@ with </dependency> .... -in `core/pom.xml`. - -Finally, create +in `core/pom.xml` and create [source] .... @@ -299,6 +292,86 @@ javadocPaths=/WEB-INF/lib/syncope-common-idrepo-rest-api-${syncope.version}-java as `core/src/main/resources/core-wildfly.properties`. +In addition, replace + +[source,xml] +.... + <dependency> + <groupId>org.apache.syncope.client.idm</groupId> + <artifactId>syncope-client-idm-console</artifactId> + </dependency> + <dependency> + <groupId>org.apache.syncope.client.am</groupId> + <artifactId>syncope-client-am-console</artifactId> + </dependency> +.... + +with + +[source,xml] +.... + <dependency> + <groupId>org.apache.syncope.client.idm</groupId> + <artifactId>syncope-client-idm-console</artifactId> + <exclusions> + <exclusion> + <groupId>org.apache.tomcat.embed</groupId> + <artifactId>tomcat-embed-el</artifactId> + </exclusion> + <exclusion> + <groupId>org.springframework.boot</groupId> + <artifactId>spring-boot-starter-tomcat</artifactId> + </exclusion> + </exclusions> + </dependency> + <dependency> + <groupId>org.apache.syncope.client.am</groupId> + <artifactId>syncope-client-am-console</artifactId> + <exclusions> + <exclusion> + <groupId>org.apache.tomcat.embed</groupId> + <artifactId>tomcat-embed-el</artifactId> + </exclusion> + <exclusion> + <groupId>org.springframework.boot</groupId> + <artifactId>spring-boot-starter-tomcat</artifactId> + </exclusion> + </exclusions> + </dependency> +.... + +in `console/pom.xml` and + +[source,xml] +.... + <dependency> + <groupId>org.apache.syncope.client.am</groupId> + <artifactId>syncope-client-am-enduser</artifactId> + </dependency> +.... + +with + +[source,xml] +.... + <dependency> + <groupId>org.apache.syncope.client.am</groupId> + <artifactId>syncope-client-am-enduser</artifactId> + <exclusions> + <exclusion> + <groupId>org.apache.tomcat.embed</groupId> + <artifactId>tomcat-embed-el</artifactId> + </exclusion> + <exclusion> + <groupId>org.springframework.boot</groupId> + <artifactId>spring-boot-starter-tomcat</artifactId> + </exclusion> + </exclusions> + </dependency> +.... + +in `enduser/pom.xml`. + Do not forget to include `widlfly` as https://docs.spring.io/spring-boot/3.5/reference/features/profiles.html[Spring Boot profile^] for the Core application. @@ -308,7 +381,7 @@ for the Core application. Do not forget to include the following system properties: * `-Dsyncope.conf.dir=/opt/syncope/conf` + -(required by Core and WA) +(required by all components) * `-Dsyncope.connid.location=file:/opt/syncope/bundles` + (required by Core) * `-Dsyncope.log.dir=/opt/syncope/log` +
