My Oracle Support Banner

EM 13c : Agent Installation Is Failing With Error :"java.lang.RuntimeException: default directory must be absolute" (Doc ID 2659770.1)

Last updated on MAY 19, 2020

Applies to:

Enterprise Manager Base Platform - Version 13.4.0.0.0 and later
Information in this document applies to any platform.

Symptoms

Issue :

When attempting to install agent is failing with the below error while starting the agent

<AGENT_HOME>/cfgtoollogs/agentDeploy_<time_stamp>.log

INFO: command running is ..:[sh, -c, EMAGENT_TIME_FOR_START_STOP=600;export EMAGENT_TIME_FOR_START_STOP;/agent_home/agent_inst/bin/emctl start agent]
INFO: Oracle Enterprise Manager Cloud Control 13c Release 4
INFO: Copyright (c) 1996, 2020 Oracle Corporation. All rights reserved.
INFO: Exception in thread "Attach API initializer" java.lang.ExceptionInInitializerError
INFO: at java.lang.J9VMInternals.ensureError(J9VMInternals.java:148)
INFO: at java.lang.J9VMInternals.recordInitializationFailure(J9VMInternals.java:137)
INFO: at java.nio.file.FileSystems.getDefault(FileSystems.java:187)
INFO: at java.nio.file.Paths.get(Paths.java:95)
INFO: at com.ibm.tools.attach.target.IPC.checkOwnerAccessOnly(IPC.java:171)
INFO: at com.ibm.tools.attach.target.TargetDirectory.createMyDirectory(TargetDirectory.java:90)
INFO: at com.ibm.tools.attach.target.AttachHandler.createFiles(AttachHandler.java:199)
INFO: at com.ibm.tools.attach.target.AttachHandler.initialize(AttachHandler.java:298)
INFO: at com.ibm.tools.attach.target.AttachHandler.run(AttachHandler.java:231)
INFO: Caused by: java.lang.RuntimeException: default directory must be absolute

  

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.