I'm using IntelliJ 9.0.4 and I have a problem with the configuration of Tomcat 6.0.
I've defined a "Tomcat configuration" (to help me to debug my webapp) which uses my own Tomcat binaries. This Tomcat's installation is configured with some "extra" context files to allow the client of the webapp to access files outside of the webapp (by defining new url path). The solution implemented is to push context xml files in the tomcat/conf/Catalina/localhost directory.
When Tomcat is launched manually, or throw Ant target defined in IntelliJ, it's running perfectly, but when Tomcat is launched throw the "run configuration" defined in IntelliJ, it's seems that the extra context files are not read;
I've also tried to define directly the new context in the server.xml of Tomcat file but it's not working anymore.
So I've 2 questions:
- it's possible to configure IntelliJ 9 to read properly the configuration of Tomcat and not to bypass these settings?
- I've checked another thread http://devnet.jetbrains.net/message/5262838#5262838 which allows the user to ask IntelliJ 10 to keep the contexts of Tomcat defined in server.xml. Does this mechanism works also for contexts defined in conf/Catalina/localhost? Please notice that the deployment of the new contexts throw the server.xml is not recommended since Tomcat 4.x.
Thanks for your replies, I'm really annoyed by this restriction of IntelliJ.