Skip to Content
Technical Articles
Author's profile photo Yang Yang

Deploying 2 FIM sites in Tomcat 9

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:

<context-param>

<param-name>webAppRootKey</param-name>

<param-value>webapp.root2</param-value>

</context-param>

Then restart Tomcat, your FIM2 should be up now.

 

 

Assigned Tags

      Be the first to leave a comment
      You must be Logged on to comment or reply to a post.