0

How to install and use Syncope 3.0.2 web apps (maven installation) in Apache Tomcat 10.1.17 (Ubuntu)?

Hello. There are the steps I did to install Syncope according to documentation (https://syncope.apache.org/docs/getting-started.html#maven-project):

mvn archetype:generate \
    -DarchetypeGroupId=org.apache.syncope \
    -DarchetypeArtifactId=syncope-archetype \
    -DarchetypeRepository=https://repo1.maven.org/maven2 \
    -DarchetypeVersion=3.0.2

mvn clean install

No failures at this point. In the documentation at this point it is not clear enough for me how to deploy the Syncope apps to Apache Tomcat, Then I copied the generated *.war and *.jar files to /opt/tomcat/webapps and started Apache Tomcat server. In Tomcat Web Application Manager applications table, the /syncope, /syncope-wa, syncope-enduser, /syncope-console apps are shown, but when I try to access to any of these, I get 404 error. The only app that shows something is /syncope, there is a Swagger UI page but there is "Failed to load API definition" error, as shown in the image.

syncope app screenshot

Also checked Apache logs looking for errors, but I could not find any. Are these steps incorrect or is an additional step that I am missing?

I am open to any suggestion. Thanks in advance!

Olaf Kock
  • 46,930
  • 8
  • 59
  • 90
LMigMa49
  • 101
  • 1
  • 6

0 Answers0