Haha... I actually 100% agree that JSPs and WO shouldn't mix. I actually did this:
cat status/WEB-INF/web.xml | sed '/<taglib>/,/\<\/taglib>/d' > status/WEB-INF/web.xml.new mv status/WEB-INF/web.xml.new status/WEB-INF/web.xml But is there somewhere where I can put a pull request to actually fix the problem? Tarun On Mon, Aug 25, 2014 at 8:57 PM, John Huss <[email protected]> wrote: > Actually it should be replaceregexp: > http://ant.apache.org/manual/Tasks/replaceregexp.html > > > On Mon, Aug 25, 2014 at 9:56 PM, John Huss <[email protected]> wrote: > >> Unless you're actually using JSPs (if so, God help you) you can just add >> a replace call in the build.xml file at the bottom of the ssdd target to >> remove that whole section from the web.xml file. I don't have an example >> on this machine, but here is the doc: >> >> https://ant.apache.org/manual/Tasks/replace.html >> >> >> On Mon, Aug 25, 2014 at 9:27 PM, Tarun Reddy <[email protected]> wrote: >> >>> I've recently updated my deployment environment to centos 7 and the >>> built in tomcat 7.0.42. Previously I had been running on 7.0.33 and in >>> between this section of the web.xml went from a ignored error to a fatal >>> error: >>> >>> <!-- This tag library allows the use of WOComponents within JSPs. --> >>> <taglib> >>> <taglib-uri>/WOtaglib</taglib-uri> >>> >>> <taglib-location>/WEB-INF/tlds//WEB-INF/tlds/WOtaglib_1_0.tld</taglib-location> >>> </taglib> >>> >>> With this being thrown: >>> >>> java.lang.IllegalArgumentException: taglib definition not consistent >>> with specification version >>> at >>> org.apache.catalina.startup.TaglibLocationRule.begin(WebRuleSet.java:1274) >>> at >>> org.apache.tomcat.util.digester.Digester.startElement(Digester.java:1276) >>> at..... >>> >>> I *believe* that this only requires changing this to >>> >>> <!-- This tag library allows the use of WOComponents within JSPs. --> >>> <jsp-config> >>> <taglib> >>> <taglib-uri>/WOtaglib</taglib-uri> >>> >>> <taglib-location>/WEB-INF/tlds//WEB-INF/tlds/WOtaglib_1_0.tld</taglib-location> >>> </taglib> >>> </jsp-config> >>> >>> but I can't find out where (the proper way) to do it.. any ideas? So >>> far, I'm hacking with sed before deploying. :-) >>> >>> Tarun >>> _______________________________________________ >>> Do not post admin requests to the list. They will be ignored. >>> Webobjects-dev mailing list ([email protected]) >>> Help/Unsubscribe/Update your Subscription: >>> >>> https://lists.apple.com/mailman/options/webobjects-dev/johnthuss%40gmail.com >>> >>> This email sent to [email protected] >> >> >> >
_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [email protected]
