java.rmi.RemoteException: Timeout on Method getAgents

Document ID : KB000100731
Last Modified Date : 09/06/2018
Show Technical Document Details
Issue:
Java Web Client fails to load after logging in. After about 5 minutes, the error "AwE-5009 RMI connection failure, check if RmiServer is running" is thrown. Selecting the details button show the following error:
 
Details: null
java.rmi.RemoteException: Timeout  SeqNo 20 Agent 138.86.97.93:1099 Master Client service clientServices sessionID 2 Method getAgents []; nested exception is:
    Agent error : Timeout  SeqNo 20 Agent 138.86.97.93:1099 Master Client service clientServices sessionID 2 Method getAgents [] : null
    at com.appworx.shared.iface.IMasterDB_Stub.getAgents(IMasterDB_Stub.java:4018)
    at com.appworx.client.screen.logon.C.A(Logon.java:743)
    at com.appworx.client.screen.logon.C.e(Logon.java:688)
    at com.appworx.client.screen.logon.C$8.actionPerformed(Logon.java:542)
    at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
    at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
    at java.awt.Component.processMouseEvent(Unknown Source)
    at javax.swing.JComponent.processMouseEvent(Unknown Source)
    at java.awt.Component.processEvent(Unknown Source)
    at java.awt.Container.processEvent(Unknown Source)
    at java.awt.Component.dispatchEventImpl(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)

Other behaviors include:
  • No errors in Rmi logs
  • awexe node command shows Automation Engine and Agents in Running status but Backlog counts remain the same
  • Rmi logs show no process information regarding Job scheduling or processing
Cause:
Potential data corruption
Resolution:
Run awinstall option 1