This isn't a bug, per se, but it is a wish. I've successfully deployed a Web app that has a JDNI data source defined in its context.xml using the Ant <deploy> task. The WAR file has context.xml in the meta-inf directory. But when I deploy the app by putting the WAR file in the TOMCAT_HOME/webapps directory, the app fails because the JDNI data source isn't bound. There's a workaround I found at O'Reilly: http://oreillynet.com/cs/user/view/cs_msg/14252 However, it would be nice if the app could get the context.xml info if it finds it in the WAR file's meta-inf directory. No steps required beyond dropping the WAR file into the webapps directory. Thanks - MOD
Not a bug but a wish = enhancement.
(In reply to comment #1) > Not a bug but a wish = enhancement. I thing *IT IS A BUG* simply the catalina-ant's deploy task doesn't respect the config attribute; here's the code from 5.5.15: if ((war == null) && (config != null)) { sb.append("&config="); sb.append(URLEncoder.encode(config, getCharset())); }
*** This bug has been marked as a duplicate of bug 42747 ***