Debian 5 Tomcat Throws 'Error Reading Tld Listeners'

Still need help?

The Atlassian Community is here for you.

Ask the community

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; };
    
Last modified on Mar 30, 2016

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.