Receive the WARN message "A JavaScript calculator in the MOM cannot output metric data to an agent that exists in a Collector" when using Powerpack for Weblogic.

Document ID : KB000030084
Last Modified Date : 14/02/2018
Show Technical Document Details

DESCRIPTION

The following WARN messages are seen in the MOM log when using the Weblogic Powerpack in a cluster environment:

[WARN] [Harvest Engine Pooled Worker] [Manager.MetricCalculatorBean] Calculator Registered Metric <ID=25, com.wily.powerpack.weblogicserver.em.ext.src.WeblogicServerCalculator@14387bc2>.  A JavaScript calculator in the MOM cannot output metric data to an agent
that exists in a Collector: SuperDomain|152101a077|WebLogic|dxxxx0_1_1|WebLogic|JMX Aggregate|EJB Pool:Waiting Thread Count

[WARN] [Harvest Engine Pooled Worker] [Manager.MetricCalculatorBean] To prevent a JavaScript calculator from running in the MOM, the JavaScript should implement a runOnMOM function that returns false

 

SOLUTION:

The above warning messages appear when the Powerpack for Weblogic is configured incorrectly in the cluster environment. However, it is more likely the powerpack jar files are not deployed correctly on the EMs.

To resolve this problem, deploy the "PPWebLogicExtensionPlugins.jar" on the collectors only.

In addition, deploy the extension components "PPWebLogicManagementModule.jar" and "PPWebLogicTypeview.xml" on the MOM only.

NOTE: This is documented in version 9.6 onwards.