Catalina_base is overwritten in IntelliJ

Answered

I'm running a project in a local tomcat server.

Environment (Tomcat = 8.5.24, Windows 10, IntelliJ 2018.1, Java 1.8)

Unfortunately somehow IntelliJ overrides the environment value for CATALINA_BASE and sets it to "C:\Users\<USERNAME>\.IntelliJIdea2018.1\system\tomcat\<RUNCONFIGNAME+PROJECTNAME>".

Is this on purpose?
how can this be changed? As the logs are stored there - I don't like this.

0
1 comment

It is by design. When deploying to Tomcat IDEA keeps artifacts in the project output folder (and does not actually deploy it to Tomcat home dir) and creates deployment descriptor file per each artifact being deployed (in the <"runtime" Tomcat base>/conf/Catalina/localhost folder). Location of "runtime" CATALINA_BASE folder is chosen on the first launch is kept on further launches. You can check this thread for more details http://devnet.jetbrains.com/message/5485673#5485673 .

There is related usability issue about configuring the logs https://youtrack.jetbrains.com/issue/IDEA-187936

0

Please sign in to leave a comment.