- changed status to resolved
Updating Tomcat to 7.0.91 breaks pages
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)
-
-
- changed milestone to 3.8.17
Please note that starting with 3.8.17 you need at least tomcat 8 (we recommend tomcat9) to run the bibsonomy/puma app
-
reporter Thanks for fixing and for the tomcat hint!
- Log in to comment
removed whitespace after function name
fixes
#2852→ <<cset 73d3d43c3708>>