NetManager (NetMgr) Attempting to Access Existing OID Entry Yields Error TNS-4412
(Doc ID 359545.1)
Last updated on JANUARY 20, 2025
Applies to:
Net Manager - NetMgr - Version 10.2.0.1 and laterGen 1 Exadata Cloud at Customer (Oracle Exadata Database Cloud Machine) - Version N/A and later
Gen 2 Exadata Cloud at Customer - Version N/A and later
Oracle Cloud Infrastructure - Exadata Cloud Service - Version N/A and later
Oracle Database - Enterprise Edition - Version 10.2.0.5 and later
Information in this document applies to any platform.
This problem can occur on any platform.
Symptoms
Issue 1:
After loading entries into Oracle Internet Directory (OID) with the ldapadd utility, a subsequent attempt to access the entry from Net Manager fails with:
Invalid Entry
"Error retrieving DBService: TEST"
and clicking on the "Details" button shows an error stack similar to:
The exception (oracle.net.common.dataStore.DataStoreException) occurred. message: original exception message: TNS-04412: A problem reading or writing an address caused by: oracle.net.config.SOExceptionConfig: TNS-04409: Directory service error caused by: oracle.net.config.DirectoryServiceException: TNS-04431: DirectoryService: no entries found caused by: oracle.net.ldap.NNFLException ...
However, the entry appears to be working, eg. if trying to connect using the newly added entry, name resolution will work and the connection established.
Issue 2:
Attempting to access an existing service name entry in OID using NetMgr yields the following stack:
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException: data for selected tree item not found: test
at oracle.net.mgr.servicename.ServiceNameComponent$ServiceProxy.treeSelectionChanged(Unknown Source)
at oracle.sysman.emSDK.client.dataComponent.dataDrivenTree.TreeEventManager.doDTreeSelectionChanged(TreeEventManager.java:434)
at oracle.sysman.emSDK.client.dataComponent.dataDrivenTree.TreeEventManager.dTreeSelectionChanged(TreeEventManager.java:366)
at oracle.ewt.dTree.DTree.processSelectionEvent(Unknown Source)
at oracle.ewt.dTree.DTree.processEventImpl(Unknown Source)
at oracle.ewt.lwAWT.LWComponent.redispatchEvent(Unknown Source)
at oracle.ewt.lwAWT.LWComponent.processEvent(Unknown Source)
at oracle.ewt.dTree.DTree.selectionChanged(Unknown Source)
at oracle.ewt.dTree.DTreeSingleSelection._setSelection(Unknown Source)
at oracle.ewt.dTree.DTreeSingleSelection.selectItem(Unknown Source)
at oracle.ewt.dTree.DTree._updateSelection(Unknown Source)
at oracle.ewt.dTree.DTree._handleMouseSelection(Unknown Source)
at oracle.ewt.dTree.DTree.processMouseEvent(Unknown Source)
at oracle.sysman.emSDK.client.dataComponent.dataDrivenTree.DataDrivenTree.processMouseEvent(DataDrivenTree.java:1226)
at java.awt.Component.processEvent(Component.java:6281)
at java.awt.Container.processEvent(Container.java:2229)
at oracle.ewt.lwAWT.LWComponent.processEventImpl(Unknown Source)
at oracle.ewt.dTree.DTree.processEventImpl(Unknown Source)
at oracle.ewt.lwAWT.LWComponent.redispatchEvent(Unknown Source)
at oracle.ewt.event.tracking.GlassMouseGrabProvider$Disp._redispatchEvent(Unknown Source)
at oracle.ewt.event.tracking.GlassMouseGrabProvider$Disp.mousePressed(Unknown Source)
at java.awt.Component.processMouseEvent(Component.java:6513)
at oracle.ewt.lwAWT.LWComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Component.java:6281)
at java.awt.Container.processEvent(Container.java:2229)
at oracle.ewt.lwAWT.LWComponent.processEventImpl(Unknown Source)
at oracle.ewt.event.tracking.GlassMouseGrabProvider$Proxy.processEventImpl(Unknown Source)
at oracle.ewt.lwAWT.LWComponent.redispatchEvent(Unknown Source)
at oracle.ewt.lwAWT.LWComponent.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Component.java:4872)
at java.awt.Container.dispatchEventImpl(Container.java:2287)
at java.awt.Component.dispatchEvent(Component.java:4698)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4489)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422)
at java.awt.Container.dispatchEventImpl(Container.java:2273)
at java.awt.Component.dispatchEvent(Component.java:4698)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:747)
at java.awt.EventQueue.access$300(EventQueue.java:103)
at java.awt.EventQueue$3.run(EventQueue.java:706)
at java.awt.EventQueue$3.run(EventQueue.java:704)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
at java.awt.EventQueue$4.run(EventQueue.java:720)
at java.awt.EventQueue$4.run(EventQueue.java:718)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:717)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
After an attempt to correct the LDIF Still throws:
caused by: oracle.net.config.SOExceptionConfig: TNS-04409: Directory service error
caused by: oracle.net.config.DirectoryServiceException: TNS-04431: DirectoryService: no entries found
caused by: oracle.net.ldap.NNFLException oracle.net.config.SOExceptionConfig: TNS-04409: Directory service error
caused by: oracle.net.config.DirectoryServiceException: TNS-04431: DirectoryService: no entries found
caused by: oracle.net.ldap.NNFLException oracle.net.config.DirectoryServiceException: TNS-04431: DirectoryService: no entries found
caused by: oracle.net.ldap.NNFLException oracle.net.ldap.NNFLException
at oracle.net.config.DirectoryService.throwException(Unknown Source)
at oracle.net.config.DirectoryService.read(Unknown Source)
at oracle.net.config.DirectoryService.read(Unknown Source)
at oracle.net.config.SchemaObjectConfigFactory.create(Unknown Source)
at oracle.net.config.SchemaObjectConfigFactory.create(Unknown Source)
at oracle.net.config.DescriptionConfig.initFromLDAP(Unknown Source)
at oracle.net.config.DescriptionConfig.<init>(Unknown Source)
at oracle.net.config.SchemaObjectConfigFactory.create(Unknown Source)
Changes
Issue 1:
The OID entry loaded looks like:
where LDIFfilename is the file containing the entry
Issue 2:
There are visible syntax issues in the output for:
$ORACLE_HOME/bin/ldapsearch -h <host> -p <port> -D cn=orcladmin -w <password> -s sub -b "cn=OracleContext,dc=<domain comp>,dc=<domain comp>" objectclass=* > allcontext.txt
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 |
Changes |
Cause |
Solution |