I’m trying to install Apache Syncope 3.0.10 on WildFly using Maven. The build process completes successfully, and there are no errors in the WildFly logs. However, when I try to access the API endpoint, I encounter the following issue:
URL accessed: http://<server-ip>:8080/syncope/rest/openapi.json
Error message: Failed to load API definition – Fetch error: Not Found
What I’ve checked so far:
Deployment Status
All WAR files (syncope.war, syncope-console.war, syncope-enduser.war, syncope-wa.war) are successfully deployed.
No errors in server.log.
Configuration
The core.properties file contains:
server.servlet.contextPath=/syncope
cxf.path=/rest
WildFly is configured with a JNDI datasource for PostgreSQL, and database connectivity works fine.
Keymaster & Service Discovery
keymaster.address is set to http://:8080/syncope/rest/keymaster
Running curl -v http://:8080/syncope/rest/keymaster returns 404 NOT found.
Swagger & API Availability
Swagger UI loads at http://:8080/syncope/, but the API definition is missing.
There is no /WEB-INF/classes/rest/ directory in the deployed WAR file.
Questions:
Should the /rest endpoint be generated automatically, or do I need to configure something explicitly?
Is there a required dependency or configuration I might be missing for Syncope’s REST API to work on WildFly?
Has anyone successfully deployed Syncope 3.0.x on WildFly and encountered this issue?
Any guidance would be greatly appreciated!
What I Tried: