I need help figuring out why I am unable to debug JSPs using Tomcat 6.0.16 and IDEA 7.0.3 on Vista. I am able to put in breakpoints in the JSPs (red circle without an “x”) but the breakpoints are ignored. Breakpoints work fine in the regular Java classes. My webapp is not a standard configuration, and that may be related. The Context docBase is not a subdirectory of the Host appBase. In fact, the Host appBase points to an empty directory.
Is there a description somewhere of how IDEA takes the server.xml and context.xml files in $ and $ and reprocesses them?
It seems that IDEA creates a private base directory and creates a modified server.xml and a Catalina/localhost/ROOT.xml in it. The name of the private base directory is something like C:\Users\MyName\.IntelliJIdea70\system\tomcat_test_G4-Project2eec5e16.
IDEA then sets the CATALINA_BASE environment variable to the name of the private base directory and executes the startup command specified in its Tomcat 6 Application Server configuration.