Upgrade Error 16.10 to 17.02 with tomcat9/10

I tried to upgrade my XWIKI system 16 (Debian 11 (Bullseye) and tomcat 9) to 17 (Debian 12 and tomcat10) using the instructions https://www.xwiki.org/xwiki/bin/view/Documentation/AdminGuide/Upgrade/

Java is on version 17.

When installing I was asked whether to keep xwiki.cfg / properties.cfg. I did two ways, keep the existing files or install the package maintainers new files

after the reboot I get with the url the following message and no xwiki

It works !

If you’re seeing this page via a web browser, it means you’ve setup Tomcat successfully. Congratulations!

This is the default Tomcat home page. It can be found on the local filesystem at: /var/lib/tomcat10/webapps/ROOT/index.html

Tomcat veterans might be pleased to learn that this system instance of Tomcat is installed with CATALINA_HOME in /usr/share/tomcat10 and CATALINA_BASE in /var/lib/tomcat10, following the rules from /usr/share/doc/tomcat10-common/RUNNING.txt.gz.

You might consider installing the following packages, if you haven’t already done so:

tomcat10-docs: This package installs a web application that allows to browse the Tomcat 10 documentation locally. Once installed, you can access it by clicking here.

tomcat10-examples: This package installs a web application that allows to access the Tomcat 10 Servlet and JSP examples. Once installed, you can access it by clicking here.

tomcat10-admin: This package installs two web applications that can help managing this Tomcat instance. Once installed, you can access the manager webapp and the host-manager webapp.

NOTE: For security reasons, using the manager webapp is restricted to users with role “manager-gui”. The host-manager webapp is restricted to users with role “admin-gui”. Users are defined in /etc/tomcat10/tomcat-users.xml.

Any ideas?
Did I missed a step or a config change?
Is there an instruction how to migrate from tomcat to XJetty?

This looks like the root webapp of Tomcat, not the /xwiki one.

And how to fix it?

By going to the right webapp ? What I meant is that it seems you went to http://mydomain/ instead of http://mydomain/xwiki/, which is where Tomcat expect to find the application.