Updating Tomcat to 7.0.91 breaks pages

Issue #2852 resolved
Maximilian Völker created an issue

With the latest update to tomcat, a stricter parsing of function signatures was introduced: Correct parsing of XML whitespace in TLD function signatures that incorrectly only looked for the space character. (See Changelog)

By this, some pages respond with error 500 and in the bibsonomy error log you can find exceptions like org.apache.jasper.JasperException: Method "containsResourceClass " for function "containsResourceClass" not found in class "tags.Functions"

Removing any whitespace in function signatures in BibSonomy / bibsonomy-webapp / src / main / webapp / WEB-INF / taglibs / mytaglib.tld solves this issue.

Example:

<function-signature>String getPath (java.lang.String)</function-signature>

to

<function-signature>String getPath(java.lang.String)</function-signature>

See also this forum post.

(We're using PUMA, but I suppose the code comes from the BibSonomy-Project.)

Comments (3)

  1. Log in to comment