• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: SSDD and taglib definition
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: SSDD and taglib definition


  • Subject: Re: SSDD and taglib definition
  • From: John Huss <email@hidden>
  • Date: Mon, 25 Aug 2014 21:56:13 -0500

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@hidden> 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@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >SSDD and taglib definition (From: Tarun Reddy <email@hidden>)

  • Prev by Date: SSDD and taglib definition
  • Next by Date: ERRest: Is there a way to create multiple entries in one time
  • Previous by thread: SSDD and taglib definition
  • Next by thread: Re: SSDD and taglib definition
  • Index(es):
    • Date
    • Thread