I received requests that in some projects people want to deploy two FIM sites in one Tomcat by using different ports.
It was very simple in Tomcat 8, just copy the whole webapp folder to another name, change the port number in server.xml.
But it no longer works anymore after upgrading to Tomcat 9.
This is because, for each app, there introduced a parameter webAppRootKey.
If you don’t set anything for it the default value would be webapp.root, which causes conflict between the two FIM sites.
The solution is, change value in the web.config file under your FIM2 as the following:
Then restart Tomcat, your FIM2 should be up now.