Debian 5 Tomcat Throws 'Error Reading Tld Listeners'

Unable to render {include} The included page could not be found.

Symptoms

When trying to deploy JIRA on the version of Tomcat distributed by Debian 5 the following error occurs:

SEVERE: Error reading tld listeners javax.servlet.ServletException: Exception processing TLD at resource path /WEB-INF/tld/atlassian-jira-tags.tld in context /jira
javax.servlet.ServletException: Exception processing TLD at resource path /WEB-INF/tld/atlassian-jira-tags.tld in context /jira
at org.apache.catalina.startup.TldConfig.tldScanTld(TldConfig.java:555)
at org.apache.catalina.startup.TldConfig.execute(TldConfig.java:301)

Cause

This is generally caused by having a security policy for Tomcat that doesn't grant JIRA full control of the application.

Resolution

  1. Don't use a security manager
    OR
  2. Add the following lines to the Debian security policy file:

    grant codeBase "file:${catalina.home}/webapps/jira/-" { permission java.security.AllPermission; };
    

Was this helpful?

Thanks for your feedback!

Why was this unhelpful?

Have a question about this article?

See questions about this article

Powered by Confluence and Scroll Viewport