Same Tomcat but more Projects

Hi CUBA team,

If I have a project deployed on a Tomcat server. And I want to extends the project into 2 child projects then hosted with the same Tomcat server. Are there any link for this?

eg.

Project : WMS
Tomcat : 192.168.1.101

Project : WMS - Client A
Tomcat : 192.168.1.101

Project : WMS - Client B
Tomcat : 192.168.1.101

The tomcat ports should be different right?
Anything need to be modified?

In addition, if I have 4 tomcat servers similar to https://doc.cuba-platform.com/manual-6.2/scaling.html and each tomcat servers is hosting 3 projects mentioned above. Is it possible? The reason to do this is I want let our clients use it before switching to their servers (simple, save our server cost).

Thanks for helping up :slight_smile:

Hi Adam,
You can deploy multiple applications on the same Tomcat server if you give them different names. The default name of a CUBA webapp is “app”, and you can change it at design time in Studio using Project properties > Advanced > Modules prefix field.

1 Like