Invocation of the JON Agent method getCurrentDateTime sometimes returns null

Solution Unverified - Updated -

Issue

  • Invoking the method below on JON agent sometimes results in NULL instead of retrieving the current date.
ProxyFactory.getResource(agent.id).getCurrentDateTime(null)

Why is this happening?

  • We are using getCurrentDateTime function to validate proper functioning of the JON Agent. However, sometimes this function will return null. What is the reason?

Environment

  • JBoss Operations Network (JON) 3.1.1
  • JON Command Line Interface (CLI) 3.1.1

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.