AWI: display informative error message if no JCP is running

Idea created by Michael_Lowry on Feb 11, 2019
    New
    Score8
    • FrankMuffke
    • Michael_Lowry
    • ThierryTarrason
    • GOPINATHM602397
    • TimothyYanosko604352
    • EstherSekar609467
    • jkessans
    • kermitdiekralle

    Starting with v12.2, the Automic Web Interface (AWI) depends on the new Java Communications Process (JCP) for some functions, e.g., object search. If no JCP is running , the error message displayed by the AWI does not directly explain the reason for the problem.

    Figure 1. Search error in AWI if no JCP is running

     

    Figure 2. Advanced Search error in AWI if no JCP is running

     

    If you look at the details, you'll see that both errors mention something related to REST endpoints:

    Error during XRequest com.uc4.communication.requests.GetRestEndpoints

     

    To those familiar with the role of the JCP, this error message might give a clue. However, the error could be made more descriptive. Specifically, the AWI should be able to detect the condition wherein no JCP is running, and should display an

    informative error message to this effect. E.g.,

    No Java Communications Process (JCP) is running. Object search in the AWI depends on the JCP.