/
Excessive Velocity Logging - "Cannot retrieve method"
Excessive Velocity Logging - "Cannot retrieve method"
Problem
When Power Database Fields PRO is installed, excessive logging with the following errors are posted in the <JIRA HOME>/log/atlassian-jira.log file.
[velocity] Cannot retrieve method getsimpleName from object of class java.lang.Class due to security restrictions.
[velocity] Cannot retrieve method getSimpleName from object of class java.lang.Class due to security restrictions.
[velocity] Cannot retrieve method get from object of class java.lang.Class due to security restrictions.
[velocity] Cannot retrieve method issimpleName from object of class java.lang.Class due to security restrictions.
[velocity] Cannot retrieve method isSimpleName from object of class java.lang.Class due to security restrictions.
Solution
Please note that this workaround is to be implemented at the user’s discretion as it may present a security risk. For more information, see this Atlassian ticket.
Open the velocity.properties file found at: <JIRA_INSTALLATION>atlassian-jira\WEB-INF\classes\velocity.properties
Change the following line:
introspector.restrict.packages = java.lang.reflect
…to this:
introspector.restrict.packages =
You may also need to do the same to this line:
introspector.restrict.classes = java.lang.Class,java.lang.ClassLoader
…to this:
introspector.restrict.classes =
Save changes to velocity.properties.
Related articles
Filter by label
There are no items with the selected labels at this time.
, multiple selections available,
Related content
Jira Logging Configuration
Jira Logging Configuration
More like this
Upgrading to Power Apps 6.0.820.x Fails
Upgrading to Power Apps 6.0.820.x Fails
More like this
Breaking Changes for Power Database Fields
Breaking Changes for Power Database Fields
Read with this
Other Configurations (DBCF)
Other Configurations (DBCF)
Read with this
Custom Field Usage (Power Database Fields)
Custom Field Usage (Power Database Fields)
Read with this
Check locations of Jira configuration elements
Check locations of Jira configuration elements
More like this