:OEM is running on MS windows 2008.While OEM 12c emcli login giving below error
Not sure for which file it's looking for and giving Access denied error.
D:\OEM12C\Middleware12C5\oms\BIN>emcli login -username=sysman -password=PASSWORD
Exception in thread "main" java.lang.ExceptionInInitializerError
at oracle.sysman.emSDK.emCLI.CLIController.init(CLIController.java:115)
at oracle.sysman.emSDK.emCLI.CLIController.<init>(CLIController.java:110)
at oracle.sysman.emSDK.emCLI.CLIController.<clinit>(CLIController.java:75)
Caused by: java.lang.IllegalStateException: java.io.FileNotFoundException: D:\OEM12C\Middleware12C5\oms\BIN\..\sysman\em
cli\.home\.emcli.installations (Access is denied)
at oracle.sysman.emCLI.EMCLIStateManager.init(EMCLIStateManager.java:352)
at oracle.sysman.emCLI.EMCLIStateManager.<clinit>(EMCLIStateManager.java:76)
... 3 more
Caused by: java.io.FileNotFoundException: D:\OEM12C\Middleware12C5\oms\BIN\..\sysman\emcli\.home\.emcli.installations (A
ccess is denied)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:120)
at oracle.sysman.emCLI.CLIClientConfigurationManager.getCLIInstallObject(CLIClientConfigurationManager.java:327)
at oracle.sysman.emCLI.CLIClientConfigurationManager.getLocalDir(CLIClientConfigurationManager.java:924)
at oracle.sysman.emCLI.CLIClientConfigurationManager.getUserConfigurationManager(CLIClientConfigurationManager.j
ava:812)
at oracle.sysman.emCLI.EMCLIStateManager.init(EMCLIStateManager.java:348)
... 4 more
Could not find the main class: oracle.sysman.emSDK.emCLI.CLIController. Program will exit.
Thanks,
Shital Modi