Forum Stats

  • 3,769,313 Users
  • 2,252,947 Discussions
  • 7,874,985 Comments

Discussions

Change OMS HostName After Installation

User_UZ57H
User_UZ57H Member Posts: 2 Red Ribbon
edited Apr 6, 2020 3:42PM in Enterprise Manager

I tried to change OMS HostName after installing it from doc id 2602135.1, and in step 6, I encountered the error below:

6) Execute below command to recover OMS

    $<ORACLE_HOME>/bin/omsca recover -BACKUP_FILE <exportconfig file> -AS -MS -NOSTART -EM_INSTANCE_HOST <NEW_HOST_NAME> -AS_USERNAME "weblogic" -AS_HOST <NEW_HOST_NAME> -NM_USER "nodemanager"

error:

NMProcess: <Apr 7, 2020 3:00:18 AM > <INFO> <Loaded NodeManager configuration properties from '/oracle/gc_inst/user_projects/domains/GCDomain/nodemanager/nodemanager.properties'>

NMProcess: Node manager v12.1.3

NMProcess:

NMProcess: Configuration settings:

NMProcess:

NMProcess: DomainsFile=/oracle/gc_inst/user_projects/domains/GCDomain/nodemanager/nodemanager.domains

NMProcess: LogLimit=0

NMProcess: DomainsDirRemoteSharingEnabled=false

NMProcess: AuthenticationEnabled=true

NMProcess: LogLevel=INFO

NMProcess: DomainsFileEnabled=true

NMProcess: ListenAddress=emcontrol.localdomain

NMProcess: NativeVersionEnabled=true

NMProcess: ProcessDestroyTimeout=20000

NMProcess: ListenPort=7403

NMProcess: LogToStderr=true

NMProcess: weblogic.StartScriptName=startEMServer.sh

NMProcess: SecureListener=true

NMProcess: LogCount=1

NMProcess: QuitEnabled=true

NMProcess: LogAppend=true

NMProcess: weblogic.StopScriptEnabled=false

NMProcess: StateCheckInterval=500

NMProcess: CrashRecoveryEnabled=false

NMProcess: weblogic.StartScriptEnabled=true

NMProcess: LogFile=/oracle/gc_inst/user_projects/domains/GCDomain/nodemanager/nodemanager.log

NMProcess: LogFormatter=weblogic.nodemanager.server.LogFormatter

NMProcess: coherence.StartScriptEnabled=false

NMProcess: ListenBacklog=50

NMProcess: NodeManagerHome=/oracle/gc_inst/user_projects/domains/GCDomain/nodemanager

NMProcess: weblogic.startup.JavaHome=/oracle/middleware/oracle_common/jdk

NMProcess: weblogic.startup.MW_Home=

NMProcess: coherence.startup.JavaHome=/oracle/middleware/oracle_common/jdk

NMProcess: coherence.startup.MW_Home=

NMProcess:

NMProcess: Domain name mappings:

NMProcess:

NMProcess: GCDomain -> /oracle/gc_inst/user_projects/domains/GCDomain

NMProcess:

NMProcess: <Apr 7, 2020 3:00:18 AM > <INFO> <WebLogic Server 12.1.3.0.0  Wed May 21 18:53:34 PDT 2014 1604337 >

NMProcess: <Apr 7, 2020 3:00:19 AM > <INFO> <GCDomain> <EMGC_ADMINSERVER> <Adjusted state of server 'EMGC_ADMINSERVER ' from RUNNING to FAILED_NOT_RESTARTABLE>

NMProcess: <Apr 7, 2020 3:00:19 AM > <INFO> <GCDomain> <EMGC_OMS1> <Startup configuration properties loaded from "/oracle/gc_inst/user_projects/domains/GCDomain/servers/EMGC_OMS1/data/nodemanager/startup.properties">

NMProcess: <Apr 7, 2020 3:00:19 AM > <INFO> <GCDomain> <EMGC_OMS1> <Adjusted state of server 'EMGC_OMS1 ' from RUNNING to FAILED_NOT_RESTARTABLE>

NMProcess: <Apr 7, 2020 3:00:19 AM > <INFO> <GCDomain> <BIP> <Startup configuration properties loaded from "/oracle/gc_inst/user_projects/domains/GCDomain/servers/BIP/data/nodemanager/startup.properties">

NMProcess: <Apr 7, 2020 3:00:19 AM > <INFO> <GCDomain> <BIP> <Adjusted state of server 'BIP ' from RUNNING to FAILED_NOT_RESTARTABLE>

NMProcess: <Apr 7, 2020 3:00:19 AM > <INFO> <Secure socket listener started on port 7403, host emcontrol.localdomain/192.168.29.71>

The Node Manager is launched.

The Node Manager process is running independent of the WLST process.

Exiting WLST will not stop the Node Manager process. Please refer to the Node Manager logs for more information.

The Node Manager logs will be under /oracle/gc_inst/user_projects/domains/GCDomain/nodemanager

Launching Node Manager is completed.

Connecting to Node Manager ...

Successfully Connected to Node Manager.

Tue Apr 07 03:00:28  2020

Done: Starting the Node Manager

Tue Apr 07 03:00:28  2020

Fresh Install starting the Admin Server

Tue Apr 07 03:00:29  2020

Setting up Coherence unicast-listen-port as: 9101

Error: updateDomain() failed. Do dumpStack() to see details.

Name of Exception: com.oracle.cie.domain.script.jython.WLSTException

Code of Exception: com.oracle.cie.domain.script.jython.WLSTException: com.oracle.cie.domain.script.ScriptException: Domain Extension Application Failed!

Domain Location: /oracle/gc_inst/user_projects/domains/GCDomain

Reason: java.lang.ExceptionInInitializerError

Exception:

java.lang.ExceptionInInitializerError

Tue Apr 07 03:00:29  2020

SEVERE: Exception: during create_em_infra

Tue Apr 07 03:00:29  2020

Name of Exception: com.oracle.cie.domain.script.jython.WLSTException

Tue Apr 07 03:00:29  2020

Code of Exception: com.oracle.cie.domain.script.jython.WLSTException: com.oracle.cie.domain.script.ScriptException: Domain Extension Application Failed!

Domain Location: /oracle/gc_inst/user_projects/domains/GCDomain

Reason: java.lang.ExceptionInInitializerError

Exception:

java.lang.ExceptionInInitializerError

Tue Apr 07 03:00:29  2020

<traceback object at  2>

Already connected to a Node Manager

Running stopNodeManager.sh from the directory /oracle/gc_inst/user_projects/domains/GCDomain/bin

NMStopProcess: <2020-04-07 03:00:29> <Info> <StopNodeManager> <NODEMGR_HOME is already set to /oracle/gc_inst/user_projects/domains/GCDomain/nodemanager>

NMStopProcess: <2020-04-07 03:00:29> <Info> <StopNodeManager> <Begin>

NMStopProcess: <2020-04-07 03:00:29> <Info> <StopNodeManager> <Adding NodeManagerHome entry to JAVA_OPTIONS: -DNodeManagerHome=/oracle/gc_inst/user_projects/domains/GCDomain/nodemanager>

NMStopProcess: <2020-04-07 03:00:29> <Info> <StopNodeManager> <Root Directory already set /oracle/gc_inst/user_projects/domains/GCDomain>

NMStopProcess: <2020-04-07 03:00:29> <Info> <StopNodeManager> <Found process id from /oracle/gc_inst/user_projects/domains/GCDomain/nodemanager/nodemanager.process.id: 39172>

NMStopProcess: <2020-04-07 03:00:29> <Info> <StopNodeManager> <Sending signal TERM to 39172>

NMProcess: Stopped draining NMProcess

NMProcess: Stopped draining NMProcess

NMStopProcess: <2020-04-07 03:00:30> <Info> <StopNodeManager> <Removed NodeManager process id file: /oracle/gc_inst/user_projects/domains/GCDomain/nodemanager/nodemanager.process.id>

NMStopProcess: <2020-04-07 03:00:30> <Info> <StopNodeManager> <Removed NodeManager process lock file: /oracle/gc_inst/user_projects/domains/GCDomain/nodemanager/nodemanager.process.lck>

NMStopProcess: <2020-04-07 03:00:30> <Info> <StopNodeManager> <End>

NMStopProcess: /oracle/gc_inst/user_projects/domains/GCDomain/nodemanager/stopnodemanager.log was copied to /oracle/gc_inst/user_projects/domains/GCDomain/nodemanager/nodemanager.log

NMStopProcess: Stopped draining NMStopProcess

NMStopProcess: Stopped draining NMStopProcess

Stopping Node Manager process completed. For more details, check the Node Manager log under /oracle/gc_inst/user_projects/domains/GCDomain/nodemanager

Not connected to Node Manager

com.oracle.cie.domain.script.jython.WLSTException: com.oracle.cie.domain.script.ScriptException: Domain Extension Application Failed!

Domain Location: /oracle/gc_inst/user_projects/domains/GCDomain

Reason: java.lang.ExceptionInInitializerError

Exception:

java.lang.ExceptionInInitializerError

Apr 07, 2020 3:00:39 AM oracle.sysman.omsca.util.CoreOMSConfigAssistantUtil execCommand

INFO: error messages of the command :

SEVERE: Exception: during create_em_infra

Name of Exception: com.oracle.cie.domain.script.jython.WLSTException

Code of Exception: com.oracle.cie.domain.script.jython.WLSTException: com.oracle.cie.domain.script.ScriptException: Domain Extension Application Failed!

Domain Location: /oracle/gc_inst/user_projects/domains/GCDomain

Reason: java.lang.ExceptionInInitializerError

Exception:

java.lang.ExceptionInInitializerError

<traceback object at  2>

com.oracle.cie.domain.script.jython.WLSTException: com.oracle.cie.domain.script.ScriptException: Domain Extension Application Failed!

Domain Location: /oracle/gc_inst/user_projects/domains/GCDomain

Reason: java.lang.ExceptionInInitializerError

Exception:

java.lang.ExceptionInInitializerError

        at com.oracle.cie.domain.script.jython.CommandExceptionHandler.handleException(CommandExceptionHandler.java:56)

        at com.oracle.cie.domain.script.jython.WLScriptContext.handleException(WLScriptContext.java:2279)

        at com.oracle.cie.domain.script.jython.WLScriptContext.updateDomain(WLScriptContext.java:827)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

        at java.lang.reflect.Method.invoke(Method.java:606)

        at org.python.core.PyReflectedFunction.__call__(Unknown Source)

        at org.python.core.PyMethod.__call__(Unknown Source)

        at org.python.core.PyObject.__call__(Unknown Source)

        at org.python.core.PyInstance.invoke(Unknown Source)

        at org.python.pycode._pyx5.updateDomain$21(/tmp/WLSTOfflineIni6847519663841697872.py:103)

        at org.python.pycode._pyx5.call_function(/tmp/WLSTOfflineIni6847519663841697872.py)

        at org.python.core.PyTableCode.call(Unknown Source)

        at org.python.core.PyTableCode.call(Unknown Source)

        at org.python.core.PyFunction.__call__(Unknown Source)

        at org.python.pycode._pyx86.f$0(/oracle/middleware/sysman/omsca/scripts/wls/create_em_infra.py:159)

        at org.python.pycode._pyx86.call_function(/oracle/middleware/sysman/omsca/scripts/wls/create_em_infra.py)

        at org.python.core.PyTableCode.call(Unknown Source)

        at org.python.core.PyCode.call(Unknown Source)

        at org.python.core.Py.runCode(Unknown Source)

        at org.python.util.PythonInterpreter.execfile(Unknown Source)

        at weblogic.management.scripting.WLST.main(WLST.java:171)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

        at java.lang.reflect.Method.invoke(Method.java:606)

        at weblogic.WLST.main(WLST.java:29)

Caused by: com.oracle.cie.domain.script.ScriptException: Domain Extension Application Failed!

Domain Location: /oracle/gc_inst/user_projects/domains/GCDomain

Reason: java.lang.ExceptionInInitializerError

Exception:

java.lang.ExceptionInInitializerError

        at com.oracle.cie.domain.script.ScriptExecutor.runGenerator(ScriptExecutor.java:4028)

        at com.oracle.cie.domain.script.ScriptExecutor.updateDomain(ScriptExecutor.java:1402)

        at com.oracle.cie.domain.script.jython.WLScriptContext.updateDomain(WLScriptContext.java:822)

        ... 25 more

Caused by: java.lang.Exception: java.lang.ExceptionInInitializerError

        at com.oracle.cie.domain.TemplateImporter.run(TemplateImporter.java:1008)

        at java.lang.Thread.run(Thread.java:745)

Caused by: java.lang.ExceptionInInitializerError

        at java.lang.Class.forName0(Native Method)

        at java.lang.Class.forName(Class.java:278)

        at oracle.ucp.jdbc.PoolDataSourceImpl.initConnectionFactory(PoolDataSourceImpl.java:2412)

        at oracle.ucp.jdbc.PoolDataSourceImpl.createUniversalConnectionPool(PoolDataSourceImpl.java:870)

        at oracle.ucp.admin.UniversalConnectionPoolManagerBase.createConnectionPool(UniversalConnectionPoolManagerBase.java:519)

        at oracle.ucp.admin.UniversalConnectionPoolManagerMBeanImpl.createConnectionPool(UniversalConnectionPoolManagerMBeanImpl.java:304)

        at oracle.ucp.jdbc.PoolDataSourceImpl.startPool(PoolDataSourceImpl.java:706)

        at oracle.ucp.jdbc.PoolDataSourceImpl.getConnection(PoolDataSourceImpl.java:1092)

        at oracle.ucp.jdbc.PoolDataSourceImpl.getConnection(PoolDataSourceImpl.java:1030)

        at oracle.ucp.jdbc.PoolDataSourceImpl.getConnection(PoolDataSourceImpl.java:1005)

        at oracle.mds.internal.persistence.db.JDBCConnectionManagerImpl.fetchConnection(JDBCConnectionManagerImpl.java:186)

        at oracle.mds.internal.persistence.db.ConnectionManager.getConnection(ConnectionManager.java:352)

        at oracle.mds.internal.persistence.db.fcf.ConnectionManagerCallback.<init>(ConnectionManagerCallback.java:51)

        at oracle.mds.persistence.stores.db.DBMetadataStore.checkRepositoryCompatibility(DBMetadataStore.java:1021)

        at oracle.mds.persistence.stores.db.DBMetadataStore.checkCompatibility(DBMetadataStore.java:1285)

        at oracle.mds.persistence.stores.db.DBMetadataStore.<init>(DBMetadataStore.java:470)

        at oracle.mds.persistence.stores.db.DBMetadataStore.<init>(DBMetadataStore.java:422)

        at oracle.wsm.repository.mds.MDSInstanceFactory.getMDSInstance(MDSInstanceFactory.java:264)

        at oracle.wsm.seeding.SeedConfigurationProcessor.start(SeedConfigurationProcessor.java:143)

        at com.oracle.cie.domain.TemplateImporter.run(TemplateImporter.java:410)

        ... 1 more

Caused by: java.lang.SecurityException: sealing violation: package oracle.jdbc.driver is sealed

        at java.net.URLClassLoader.getAndVerifyPackage(URLClassLoader.java:388)

        at java.net.URLClassLoader.defineClass(URLClassLoader.java:417)

        at java.net.URLClassLoader.access$100(URLClassLoader.java:71)

        at java.net.URLClassLoader$1.run(URLClassLoader.java:361)

        at java.net.URLClassLoader$1.run(URLClassLoader.java:355)

        at java.security.AccessController.doPrivileged(Native Method)

        at java.net.URLClassLoader.findClass(URLClassLoader.java:354)

        at com.oracle.cie.common.util.IsolatedClassLoader.loadClass(IsolatedClassLoader.java:96)

        at java.lang.ClassLoader.loadClass(ClassLoader.java:358)

        at oracle.jdbc.pool.OracleDataSource.<clinit>(OracleDataSource.java:109)

        ... 21 more

Tagged:

Answers