I'm using IntelliJ IDEA 11.0.2 and I have already configured tomcat instance (context.xml, server.xml, keystores, other properties files). I want to configure idea to use this tomcat server with all that settings (datasources, ssl connector) but I can't find how to do that in "Run/Debug Configurations" -> "Tomcat Server". Does anyone know how to do this "right" way without editing idea's files?
UPDATED:
Here is example of tomcat configuration in idea 11. Where could I point to use my custom server.xml, context.xml and other conf files? It doesn't use that files which are in %tomcat_home%/conf.
By default, these files are located at TOMCAT-HOME/conf/server. xml and TOMCAT-HOME/conf/web.
The main Apache Tomcat configuration file is at /opt/bitnami/tomcat/conf/server. xml. Once Apache Tomcat starts, it will create several log files in the /opt/bitnami/tomcat/logs directory. The main log file is the catalina.
Hi you should do these steps:
Add you tomcat server "Setting" -> "Application Servers" -> "Add" -> "Tomcat Server" Then you setup your tomcat installation path. If you have your setting (datasources, ssl connector) in differend tomcat base you can set it there too. Here is example of configuration.
Setup you runner "Run/Debug Configurations" -> "Add New Configuration" -> "Tomcat Server" -> "Local" and in "Application Server" combobox select your Tomcat.
Is it ok this description for you?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With