This has been asked many times, but the only answer proffered has been to deploy the war in an unpacked state. This can be troublesome for many developers, especially those of us using Velocity. Velocity uses getRealPath() to load files directly instead of using getResourceAsStream().
The tomcat41-service.xml file seems to mimic the server.xml file from Tomcat, complete with the:
statement. However, if I add the Tomcat attribute to unpack wars, it appears to be ignored.
Is this something that can be accomplished in some sort of undocumented manner, or is it just the way it is for now?
Is this fixed in JBoss3.0.6-Tomcat 4.1.18? Is there any solution to this problem of getRealPath() being returned as null.