Symptom
DP Agent fails to start in Linux with the following java stack trace.
15:10:57.908 [main] INFO com.sap.hana.dp.agent.service.AgentServiceDaemon - Starting dpagent ...
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.commons.daemon.support.DaemonLoader.start(DaemonLoader.java:241)
Caused by: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at java.util.ArrayList.rangeCheck(ArrayList.java:657)
at java.util.ArrayList.get(ArrayList.java:433)
at com.sap.hana.dp.agent.service.AgentServiceDaemon.readPidFromFile(AgentServiceDaemon.java:407)
at com.sap.hana.dp.agent.service.AgentServiceDaemon.startAgentLinux(AgentServiceDaemon.java:322)
at com.sap.hana.dp.agent.service.AgentServiceDaemon.start(AgentServiceDaemon.java:283)
... 5 more
Cannot start daemon.
Service exit with a return value of 5
Read more...
Environment
- DP Agent 2.x
- All Supported platforms
Product
SAP HANA smart data integration, provisioning agent 2.0
Keywords
DP Agent, Linux, InvocationTargetException, IndexOutOfBoundsException, 5 return value 5, Cannot start daemon , KBA , HAN-DP-SDI , SAP HANA smart data integration (SDI) , Problem
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.