get_status error when viewing Robot Deployment Status

book

Article ID: 35062

calendar_today

Updated On:

Products

DX Infrastructure Management NIMSOFT PROBES

Issue/Introduction

Symptoms


When attempting to deploy a robot to a remote system using the Automated Deployment Engine features in UMP/USM, or attempting to view Robot Deployment Status, the following error may be seen as a pop-up in USM:
?
Details:?
com.firehunter.ump.exceptions.DataFactoryException : Received status (3) on response (for sendRcv) for cmd = 'get_status'?
?
The error will be accompanied by the following Stack Trace:?
?
?
(3) invalid argument, Received status (3) on response (for sendRcv) for cmd = 'get_status'?
at com.nimsoft.nimbus.NimSessionBase.sendRcv(NimSessionBase.java:609)?
at com.nimsoft.nimbus.NimClientSession.send(NimClientSession.java:175)?
at com.nimsoft.nimbus.NimRequest.sendImpersonate(NimRequest.java:254)?
at com.nimsoft.nimbus.pool.NimRequestPool.sendImpersonate(NimRequestPool.java:81)?
at com.nimsoft.nimbus.pool.NimRequestPool.send(NimRequestPool.java:66)?
at com.nimsoft.nimbus.pool.NimRequestPoolInstance.send(NimRequestPoolInstance.java:170)?
at com.firehunter.umpportlet.PDSUtils.send(PDSUtils.java:65)?
at com.firehunter.usm.AdeUtils.getJob(AdeUtils.java:331)?
at com.firehunter.usm.AdeUtils.getJobs(AdeUtils.java:282)?
at com.firehunter.usm.DataFactory.getAdeJobs(DataFactory.java:166)?
at com.firehunter.usm.DataFactory.getAdeJobs(DataFactory.java:160)?
at sun.reflect.GeneratedMethodAccessor504.invoke(Unknown Source)?
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)?
at java.lang.reflect.Method.invoke(Unknown Source)?
at flex.messaging.services.remoting.adapters.JavaAdapter.invoke(JavaAdapter.java:421)?
at flex.messaging.services.RemotingService.serviceMessage(RemotingService.java:183)?
at flex.messaging.MessageBroker.routeMessageToService(MessageBroker.java:1503)?
at flex.messaging.endpoints.AbstractEndpoint.serviceMessage(AbstractEndpoint.java:884)?
at flex.messaging.endpoints.amf.MessageBrokerFilter.invoke(MessageBrokerFilter.java:121)?
at flex.messaging.endpoints.amf.LegacyFilter.invoke(LegacyFilter.java:158)?
at flex.messaging.endpoints.amf.SessionFilter.invoke(SessionFilter.java:44)?
at flex.messaging.endpoints.amf.BatchProcessFilter.invoke(BatchProcessFilter.java:67)?
at flex.messaging.endpoints.amf.SerializationFilter.invoke(SerializationFilter.java:146)?
at flex.messaging.endpoints.BaseHTTPEndpoint.service(BaseHTTPEndpoint.java:278)?
at flex.messaging.MessageBrokerServlet.service(MessageBrokerServlet.java:322)?
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)?
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)?
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)?
at com.firehunter.ump.auth.InvalidHttpSessionFilter.doFilter(InvalidHttpSessionFilter.java:29)?
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)?
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)?
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:73)?
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:117)?
at sun.reflect.GeneratedMethodAccessor296.invoke(Unknown Source)?
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)?
at java.lang.reflect.Method.invoke(Unknown Source)?
at com.liferay.portal.kernel.bean.ClassLoaderBeanHandler.invoke(ClassLoaderBeanHandler.java:67)?
at com.sun.proxy.$Proxy599.doFilter(Unknown Source)?
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:73)?
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:168)?
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:96)?
at com.liferay.portal.kernel.servlet.PortalClassLoaderFilter.doFilter(PortalClassLoaderFilter.java:72)?
?






Solution


This error indicates that the database file which keeps track of previous deployment status has been corrupted. ?The following steps will correct the problem, although this will result in the loss of ability to view the historical robot deployment status; unfortunately no other solution is possible.

1. deactivate the automated_deployment_engine probe on the primary hub.
2. On the primary hub itself, locate the file: \Nimsoft\probes\service\automated_deployment_engine\automated_deployment_engine.h2.db
3. rename the file to something like automated_deployment_engine.h2_old.db ?or delete the file altogether
4. activate the automated_deployment_engine probe to re-create a new .db file automatically.

This will correct the popup error in UMP and allow you to view the deployment status/history of any robots deployed going forward.

Environment

Release:
Component: CAUIM