000022472 - How to resolve 'TLD' exception that occurs when deploying changepw.war file to Apache Tomcat

Document created by RSA Customer Support Employee on Jun 16, 2016Last modified by RSA Customer Support Employee on Apr 21, 2017
Version 2Show Document
  • View in full screen mode

Article Content

Article Number000022472
Applies ToRSA ClearTrust 5.5.3
Apache Tomcat 4.1
Microsoft Windows 2000 SP4
BEA WebLogic 8.1
IssueHow to resolve "TLD" exception that occurs when deploying changepw.war file to Apache Tomcat
When deploying the changepw.war application in Apache Tomcat, the following error appears in the Tomcat logs:

ContextConfig[/changepw] Exception processing TLD at resource path /WEB-INF/tlds/request.tld
javax.servlet.ServletException: Exception processing TLD at resource path /WEB-INF/tlds/request.tld

Changepw.war can be deployed via BEA WebLogic without receiving this error.
CauseThe web.xml file included in the changepw.war contains tag library declarations that are invalid in Apache 4.1.x
ResolutionTo correct this issue, delete the tag library declarations within web.xml as shown below:

<taglib>
<taglib-uri>http://jakarta.apache.org/taglibs/i18n-1.0</taglib-uri>
<taglib-location>/WEB-INF/tlds/i18n.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>http://jakarta.apache.org/taglibs/request-1.0</taglib-uri>
<taglib-location>/WEB-INF/tlds/request.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>http://www.rsasecurity.com/ctssl/1.0</taglib-uri>
<taglib-location>/WEB-INF/tlds/ctssl.tld</taglib-location>

Alternatively, the entire web.xml file can be renamed or deleted.
Legacy Article IDa30000

Attachments

    Outcomes