Absent Member.. JasonCantrell Absent Member..
Absent Member..
107 views

[OO Tip] Remote Action Service (RAS) fails to start if Central is not accessible

Problem:

In Operations Orchestration 10.0 and 10.01 the Remote Action Service (RAS) service in Windows or RAS process in Linux will fail to start if the Central is not accessible.

 

6/25 14:37:09 | WrapperSimpleApp Error: Encountered an error running main:
INFO   | jvm 1    | 2013/06/25 14:37:09 | WrapperSimpleApp Error: java.lang.RuntimeException: Failed to perform 'up' for worker: be37494e-8558-46a1-840e-9238bdf8cad6
INFO   | jvm 1    | 2013/06/25 14:37:09 | WrapperSimpleApp Error:          at com.hp.oo.worker.standalone.support.WorkerNodeServiceRestImpl.up(WorkerNodeServiceRestImpl.java:124)
INFO   | jvm 1    | 2013/06/25 14:37:09 | WrapperSimpleApp Error:          at com.hp.oo.execution.services.WorkerManager.internalOnApplicationEvent(WorkerManager.java:158)
INFO   | jvm 1    | 2013/06/25 14:37:09 | WrapperSimpleApp Error:          at com.hp.oo.execution.services.WorkerManager.access$300(WorkerManager.java:41)
INFO   | jvm 1    | 2013/06/25 14:37:09 | WrapperSimpleApp Error:          at com.hp.oo.execution.services.WorkerManager$2.doSecured(WorkerManager.java:149)
INFO   | jvm 1    | 2013/06/25 14:37:09 | WrapperSimpleApp Error:          at com.hp.oo.execution.services.WorkerManager$2.doSecured(WorkerManager.java:146)
INFO   | jvm 1    | 2013/06/25 14:37:09 | WrapperSimpleApp Error:          at com.hp.oo.authzn.InternalProcessSecurityTemplateImpl.invokeSecured(InternalProcessSecurityTemplateImpl.java:21)
INFO   | jvm 1    | 2013/06/25 14:37:09 | WrapperSimpleApp Error:          at com.hp.oo.execution.services.WorkerManager.onApplicationEvent(WorkerManager.java:146)
INFO   | jvm 1    | 2013/06/25 14:37:09 | WrapperSimpleApp Error:          at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:97)
INFO   | jvm 1    | 2013/06/25 14:37:09 | WrapperSimpleApp Error:          at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:327)
INFO   | jvm 1    | 2013/06/25 14:37:09 | WrapperSimpleApp Error:          at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:941)
INFO   | jvm 1    | 2013/06/25 14:37:09 | WrapperSimpleApp Error:          at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:475)
INFO   | jvm 1    | 2013/06/25 14:37:09 | WrapperSimpleApp Error:          at org.springframework.context.support.GenericXmlApplicationContext.<init>(GenericXmlApplicationContext.java:71)
INFO   | jvm 1    | 2013/06/25 14:37:09 | WrapperSimpleApp Error:          at com.hp.oo.execution.AgentMain.main(AgentMain.java:40)
INFO   | jvm 1    | 2013/06/25 14:37:09 | WrapperSimpleApp Error:          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO   | jvm 1    | 2013/06/25 14:37:09 | WrapperSimpleApp Error:          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
INFO   | jvm 1    | 2013/06/25 14:37:09 | WrapperSimpleApp Error:          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
INFO   | jvm 1    | 2013/06/25 14:37:09 | WrapperSimpleApp Error:          at java.lang.reflect.Method.invoke(Method.java:601)
INFO   | jvm 1    | 2013/06/25 14:37:09 | WrapperSimpleApp Error:          at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:290)
INFO   | jvm 1    | 2013/06/25 14:37:09 | WrapperSimpleApp Error:          at java.lang.Thread.run(Thread.java:722)
INFO   | jvm 1    | 2013/06/25 14:37:09 | WrapperSimpleApp Error: Caused by: org.springframework.web.client.HttpServerErrorException: 502 Proxy Error
INFO   | jvm 1    | 2013/06/25 14:37:09 | WrapperSimpleApp Error:          at org.springframework.web.client.DefaultResponseErrorHandler.handleError(DefaultResponseErrorHandler.java:92)
INFO   | jvm 1    | 2013/06/25 14:37:09 | WrapperSimpleApp Error:          at org.springframework.web.client.RestTemplate.handleResponseError(RestTemplate.java:494)
INFO   | jvm 1    | 2013/06/25 14:37:09 | WrapperSimpleApp Error:          at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:451)
INFO   | jvm 1    | 2013/06/25 14:37:09 | WrapperSimpleApp Error:          at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:409)
INFO   | jvm 1    | 2013/06/25 14:37:09 | WrapperSimpleApp Error:          at org.springframework.web.client.RestTemplate.exchange(RestTemplate.java:385)
INFO   | jvm 1    | 2013/06/25 14:37:09 | WrapperSimpleApp Error:          at com.hp.oo.worker.standalone.support.WorkerNodeServiceRestImpl.up(WorkerNodeServiceRestImpl.java:116)
INFO   | jvm 1    | 2013/06/25 14:37:09 | WrapperSimpleApp Error:          ... 18 more
STATUS | wrapper  | 2013/06/25 14:37:11 | <-- Wrapper Stopped

 

Solution:

In the next release of OO, the RAS service/process will perform a sleep for 30 seconds before retrying. If the re-try is not successful, it will duplicate the sleep time before the next retry, untill it reaches the maximum amount of 10 minutes.

 

Direct link to the document is here:

http://support.openview.hp.com/selfsolve/document/KM00707813

HP Support
If you find that this or any post resolves your issue, please be sure to mark it as an accepted solution.
Labels (2)
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.