Rule management dashboard is loading forever then finally error message appeared "An error has occurred. Please check your logs".
The following message is displayed in the FMS log:
YYYY-MM-DD HH:MM:SS.SSS ERROR [cwxhxbykzz:1008913240147019082284816] com.quest.wcf.core.module.function.FunctionManager - Error executing script id=system:administration_rulesnotifications_rulemanagement.getRules name="'Get Rules' from the System module Administration/Rules & Notifications/Rule Management" message: com.quest.nitro.service.sl.interfaces.scripting.ScriptingException: com.quest.nitro.service.sl.interfaces.scripting.ScriptAbortException: com.quest.wcf.data.DataSourceException: org.hibernate.exception.GenericJDBCException: Cannot open connection
The error was caused by by corrupted getRules groovy script
Steps to resolve.
1. Go to the "Configuration | Definition" dashboard
2. Select "All Definitions" and search "getRules"
3. Select the first matched item and click "Edit" button. Make a backup of the old Script Text
Note: User need to be in "Cartridge Developers" group in order to Edit.
4. Replace the script text with the content of attached groovy file (getRules.groovy), then "Save".
5. Go to Foglight Management Server (FMS) host and open the "[FMS_HOME]\server\default\conf\jboss-service.xml" file
6. In line 336, change the number "300" to "1200". Like this.
7. Save jboss-service.xml file and restart FMS
© 2022 Quest Software Inc. ALL RIGHTS RESERVED. Feedback Terms of Use Privacy