Super Contributor.. JamesLindsay Super Contributor..
Super Contributor..
197 views

Post Upgrade Operation Error

Post Upgrade 10.6 to 10.7 Base content pack 1.9.0 to 1.10.0 I'm getting this random/intermittent error for an operation called "Flow Header".

I don't think this operation is part of any particular content pack from HPE-OO. It was built in 9.x based on the "Do Nothing" operation and carried over to 10.6.
/Base [1.10.0]/Library/Utility Operations/Flow Variable Manipulation/Do Nothing

It has worked fine, until now. It's typically used at the front of a flow and is meant to capture JVM environment data from OO. Several flows use it, but with one flow in particular it randomly/intermittently errors and halts the flow.
OPER_ERROR - "Failed to execute content action: com.hp.oo:oo-base-plugin:1.10.0 -> noOpReason: Unable to execute mojo: java.lang.reflect.InvocationTargetException"

It has a JavaScriptlet Rhino filter on the Field_1 Output Field  in the Outputs

// This code is warranted by nobody
var mem = java.lang.management.ManagementFactory.getMemoryMXBean();
var management = java.lang.management;
var Committed = 0;
var usage = mem.getHeapMemoryUsage();
memPools = management.ManagementFactory.getMemoryPoolMXBeans();
var ooNodeName = java.net.InetAddress.getLocalHost();
var rt = java.lang.management.ManagementFactory.getRuntimeMXBean();
var threads = java.lang.management.ManagementFactory.getThreadMXBean();
scriptletResult = (rt.getUptime() / 60000.0).toFixed(2);

// The outer table
var report = '<table border="0"><tr><td>';

// The Left side
report = report + ooNodeName + '<br>';
report = report + 'Uptime: ' + (rt.getUptime() / 60000.0).toFixed(2)+ 'm &nbsp;&nbsp;&nbsp;&nbsp; ';
report = report + 'Threads: ' + threads.getPeakThreadCount() + '<br>';

// The gutter
//report = report + '</td><td>&nbsp;</td><td>';

// The Right side
report = report + '<table cellpadding=0 cellspacing=0>';
report = report + '<tr><td>Resource</td><td>Current</td><td>Peak</td><td>max</td></tr>';

report = report + '<tr><td>Heap</td>';
//report = report + '<td>comm:' + (usage.getCommitted() / 1000 / 1000).toFixed(0) + '</td>';
report = report + '<td align="right">' + (usage.getUsed() / 1000 / 1000).toFixed(0) + '</td>';
report = report + '<td>&nbsp;</td>';
report = report + '<td align="right">' + (usage.getMax() / 1000 / 1000).toFixed(0) + '</td></tr>';

for (i=0; i<memPools.size(); i++){
    report = report + '<tr><td>' + memPools.get(i).getName() + '</td>';
   
    var usage = memPools.get(i).getUsage();   
    var peakUsage = memPools.get(i).getPeakUsage();
    report = report + '<td align="right">' + (usage.getUsed() / 1000 / 1000).toFixed(0) + '</td>';   
    report = report + '<td align="right">' + (peakUsage.getUsed() / 1000 / 1000).toFixed(0) + '</td>';     
    report = report + '<td align="right">' + (usage.getMax() / 1000 / 1000).toFixed(0) + '</td>';
    report = report + '<tr>';
}
report = report + '</table>';

// Close the outer table
report = report + '</td></tr></table>';
scriptletResult = report;

0 Likes
2 Replies
Luis_V_OO Super Contributor.
Super Contributor.

Re: Post Upgrade Operation Error

Hello James,

                Based on the information, I assume that the flow is running from Central when it gives you trouble. You can try the steps below to attempt fixing the issue:

1- Stop the Central service.
2- Go to the path HPE Operations Orchestration\central\tomcat\temp
3-Empty the temp folder (do Not delete the temp folder).
4-Restart the Central service.
5-Verify if the flow works properly.

I hope this information helps.

 

Cordially,

Luis Quiros

Luis Quiros
Customer Support Engineer

If you find that this or any other post resolves your issue, please be sure to mark it as an accepted solution.
If you are satisfied with anyone’s response please remember to give them a KUDOS by clicking on the STAR at the bottom left of the post and show your appreciation.
0 Likes
Super Contributor.. JamesLindsay Super Contributor..
Super Contributor..

Re: Post Upgrade Operation Error

Sorry for the incomplete post. The flow is runnign from a RAS, which is also the Central server.

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.