I've been trying to get WebApp debugging working with 638. Seems the
configuration is very sensitive.
1. Looks like IDEA only reads server.xml, web.xml, etc, from
%IDEA_HOME%\config\tomcat. I have a custom server.xml for different version
of our applications which reside in different directories. (i.e.
\app\Ver1\conf\server.xml and \app\Ver2\conf\server.xml) I set my working
directory to the Ver1 or Ver2 directory, and when I start up Tomcat, it
automatically finds the appropriate server.xml. Each server.xml is
customized to point the context path="" to the correct docBase. With the
WebApp support in IDEA, I can only have one server.xml. Is it possible to
define a server.xml path and a working directory path for a webapp config?
2. It looks like the WEB-INF\web.xml files is being read in ok, but I'm not
3. Why won't it use the classpath as I have defined in my project with
required libraries and source/output paths? It seems like the only way I
would be able to get everything working is if I changed my output path to
WEB-INF\classes, moved all my jars into WEB-INF\lib, etc. I strongly prefer
not to do this, because it means a lot of re-configuration. I think that the
web-app config should just inherit the classpath from the project. It works
with Tomcat when I start it up as a normal Debug Application.
4. How can I set jvm properties? I have a few -Dparameters that I need
defined for my webapp to work, but there is no VM parameters box for