Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

IntelliJ: configure several Tomcat configurations with different server.xml

In IntelliJ, I would like to have different configurations to start several Tomcat instances, but with different server.xml config files. Is there a way to do this?

like image 289
Jazz Avatar asked Sep 11 '09 14:09

Jazz


1 Answers

I found a way: create a directory, and put inside a copy of the conf dir from Tomcat, then use this new directory as the Tomcat base. This way, the tomcat binaries are shared, but the configurations are distinct.

like image 126
Jazz Avatar answered Sep 21 '22 15:09

Jazz