Tomcat configuration in IntelliJ IDEA

I am using IntelliJ IDEA 11.0.2 and I have already configured the tomcat instance (context.xml, server.xml, keystores, other property files). I want to configure the idea of ​​using this tomcat server with all these settings (data sources, ssl connector), but I can’t find how to do this in "Startup / Debug Configuration" β†’ "Tomcat Server". Does anyone know how to make this the β€œright” way without editing idea files?

UPDATED:

Here is an example tomcat configuration in idea 11. Where can I point out the use of my custom server.xml, context.xml and other conf files? It does not use files that are in% tomcat_home% / conf. Run / Debug Configurations

+6
source share
1 answer

Hi, you should take the following steps:

Add tomcat server "Settings" β†’ "Application Servers" β†’ "Add" β†’ "Tomcat Server", then you install your tomcat installation path. If you have settings (data sources, ssl connector) in a different tomcat database, you can install it there too. Here is an example configuration. Tomcat configuration

Configure the Run / Debug Configurations runner β†’ Add New Configuration β†’ Tomcat Server β†’ Local and select Tomcat in the Application Mapping field.

Is that good for you?

+8
source

Source: https://habr.com/ru/post/911481/


All Articles