Cloud Control 12c emcli sync fails with SEVERE: oracle.sysman.emCLI.omsbrowser.OMSBrowserException (Doc ID 1383185.1)

Last updated on DECEMBER 02, 2015

Applies to:

Enterprise Manager Base Platform - Version 12.1.0.1.0 and later
Information in this document applies to any platform.
***Checked for relevance on 05-June-2013***

Symptoms

OMS Version: 12.1.0.1

The command emcli login completes successfully.
The command emcli sync fails with:

Error: Session expired. Run emcli login to establish a session.

The file MIDDLEWARE_HOME/gc_inst/em/EMGC_OMS1/sysman/emcli/setup/.emcli/.emcli.log shows:

Nov 4, 2011 12:44:21 PM oracle.sysman.emCLI.verb.SetupVerb execute
INFO: SETUP: localdir=/u01/app/oracle/product/Middleware/gc_inst/em/EMGC_OMS1/sysman/emcli/log, omsurl=https://<hostname>:7801/em, username=SYSMAN, trustall=true, validate=true, autologin=false, certvalidate=false
[...]

Nov 14, 2011 2:13:22 PM oracle.sysman.emCLI.verb.SynchronizeVerb execute
SEVERE:
oracle.sysman.emCLI.omsbrowser.OMSBrowserException
at oracle.sysman.emCLI.omsbrowser.LoginSystem.establishSession(LoginSystem.java:218)
at oracle.sysman.emCLI.omsbrowser.OMSBrowser.getPageInternal(OMSBrowser.java:653)
at oracle.sysman.emCLI.omsbrowser.OMSBrowser.getPage(OMSBrowser.java:595)
at oracle.sysman.emCLI.verb.SynchronizeVerb.synchronize(SynchronizeVerb.java:280)
at oracle.sysman.emCLI.verb.SynchronizeVerb.execute(SynchronizeVerb.java:162)
at oracle.sysman.emSDK.emCLI.CLIController.execute(CLIController.java:540)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at oracle.sysman.emSDK.emCLI.CLIController.go(CLIController.java:343)
at oracle.sysman.emSDK.emCLI.CLIController.main(CLIController.java:157)

Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms