|
Project
|
IntelliJ IDEA
|
|
Priority
|
Normal |
|
Type
|
Bug |
|
Fix versions
|
No Fix versions |
|
State
|
Won't fix |
|
Assignee
|
Michael Golubev |
|
Subsystem
|
No subsystem |
|
Affected versions
|
11.0.2 (111.277) |
|
Fixed in build
|
No Fixed in build
|
I am not familiar with JNDI configuration, but the path '[tomcat-home]/conf/Catalina/localhost' is the path to the deployment descriptors,
so each file under the path defines an application to be deployed to the server.
IDEA copies Tomcat configuration (and possibly modifies the copy) on each start of the run configuration.
The '[tomcat-home]/conf/Catalina/localhost' folder of the copy is cleared by default.
Since you don't need to clean the folder copy, you should just check the 'Deploy applications configured in Tomcat instance' in the IDEA Tomcat run configuration.
Alternatively – as I can see from docs (http://tomcat.apache.org/tomcat-5.5-doc/jndi-resources-howto.html), but haven't tried it myself – you may configure JNDI with:
Also, there were no relevant changes in IDEA Tomcat support since 11 release, so I suspect you've just lost the value of 'Deploy applications configured in Tomcat instance' checkbox somehow.
Regards,
Michael