Skip to main content

Multiple instance Tomcat configuration

Author: ilarraza1193@gmail.com (johangel)

Hi, i wanna know if exist any way to configurate multiple instances of tomcat server for install diferents urouters in each one, for example, in a same proyect we have different applications, these are integrated, now, the problem appears when restart the tomcat service, all application go down, i wanna know how to configurate different tomcats to install urouters in any of these and avoid this problem. This, of course, without install uniface twice, or more.   Thanks.

Multiple instance Tomcat configuration

Author: ilarraza1193@gmail.com (johangel)

Hi, i wanna know if exist any way to configurate multiple instances of tomcat server for install diferents urouters in each one, for example, in a same proyect we have different applications, these are integrated, now, the problem appears when restart the tomcat service, all application go down, i wanna know how to configurate different tomcats to install urouters in any of these and avoid this problem. This, of course, without install uniface twice, or more.   Thanks.

Hi, There is no need for multiple instance of Tomcat. What you need is the Tomcat Manager Application. In the <tomcat-installdir>\\conf\\tomcat-users.xml file you only need to add the role "manager-gui" and point the role to a tomcat user. something like this: <role rolename="manager-gui"/> <user username="tomcat" password="tomcat" roles="tomcat,manager-gui"/> Start your browser and enter this uri ie."http://localhost:8080/manager/html". Enter your credentials (username tomcat) and tomcat will list the applications it's running. You can start/stop each application separately without restarting the tomcat service. Hope this helps. Regards, Arno


Author: Arno Bonke (arno.bonke@uniface.com)

Multiple instance Tomcat configuration

Author: ilarraza1193@gmail.com (johangel)

Hi, i wanna know if exist any way to configurate multiple instances of tomcat server for install diferents urouters in each one, for example, in a same proyect we have different applications, these are integrated, now, the problem appears when restart the tomcat service, all application go down, i wanna know how to configurate different tomcats to install urouters in any of these and avoid this problem. This, of course, without install uniface twice, or more.   Thanks.

Oh, thanks for you reply Arno, i try to solve the problem with this


Author: johangel (ilarraza1193@gmail.com)