- Your application gets started, undeployed and then started again, increasing the start up time of Tomcat and reinitialising any
load-on-startupservlets for a second time.
- Your carefully crafted
<context>stanzas don't work as IDEA hasn't picked then up from either server.xml or META-INF/context.xml.
To get around this big mess and just use your Tomcat as if you ran it outside of IDEA you simply add a CATALINA_BASE environment variable to the configuration of Tomcat (within IDEA) pointing to your Tomcat directory:
Now when you start Tomcat within IDEA you should notice that your contexts are working correctly!
Technorati Tags: IntelliJ, IDEA, Tomcat, Context, Andrew Beacock