Sunday, 3 February 2019

java.rmi.NoSuchObjectException: The object identified by: '296' could not be found. Either it was has not been exported or it has been collected by the distributed garbage collector.

Unable  to start the weblogic server in Oracle application 12.2

Issue
++++
Starting WLS Admin Server...
<Sep 16, 2018 7:48:29 PM AST> <Warning> <JNDI> <BEA-050001> <WLContext.close() was called in a different thread than the one in which it was created.>
Refer /u02/TEST/fs1/inst/apps/TEST_gpdddsrv/logs/appl/admin/log/adadminsrvctl.txt for details

AdminServer logs are located at /u02/TEST/fs1/FMW_Home/user_projects/domains/EBS_domain_TEST/servers/AdminServer/logs

adadminsrvctl.sh: exiting with status 0

adadminsrvctl.sh: check the logfile /u02/TEST/fs1/inst/apps/TEST_gpdddsrv/logs/appl/admin/log/adadminsrvctl.txt for more information ...


.end std out.
java.rmi.NoSuchObjectException: The object identified by: '296' could not be found.  Either it was has not been exported or it has been collected by the distributed garbage collector.
        at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:237)
        at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:223)
        at javax.management.remote.rmi.RMIConnectionImpl_1036_WLStub.getMBeanCount(Unknown Source)
        at weblogic.management.remote.common.RMIConnectionWrapper$11.run(ClientProviderBase.java:785)
        at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
        at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
        at weblogic.security.Security.runAs(Security.java:61)
        at weblogic.management.remote.common.RMIConnectionWrapper.getMBeanCount(ClientProviderBase.java:783)
        at javax.management.remote.rmi.RMIConnector$RemoteMBeanServerConnection.getMBeanCount(RMIConnector.java:883)
        at oracle.apps.ad.util.WLUtil.forceShutDownServer(WLUtil.java:1799)
        at oracle.apps.ad.tools.configuration.EBSProvisioner.ebs_nmrestart_adminsrv(EBSProvisioner.java:4282)
        at oracle.apps.ad.tools.configuration.EBSProvisioner.ebs_nmstart_adminsrv(EBSProvisioner.java:4191)
        at oracle.apps.ad.tools.configuration.EBSProvisioner.ebs_nmstart_adminsrv(EBSProvisioner.java:4385)
        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 oracle.apps.ad.tools.configuration.EBSProvisioner.main(EBSProvisioner.java:9676)

.end err out.



Solution
Weblogic.nodemanager.NMException / java.rmi.NoSuchObjectException While Starting AdminServer (Doc ID 2335354.1)

CAUSE

Under DOMAIN_HOME/servers/AdminServer/nodemanager directory, there is a file called startup-copy.properties file.
This file has ADMIN_URL parameter. Adminserver does not need ADMIN_URL parameter defined in start-up.properties. If it is present, then it results in the error.
 

SOLUTION

  1. Make sure nodemanager.properties has StartScriptEnabled=true and StartScriptName=startWebLogic.sh
  2. Under DOMAIN_HOME/servers/AdminServer/nodemanager directory, make sure none of the files have ADMIN_URL parameter.

No comments:

Post a Comment