Saturday, May 2, 2015

javax.naming.NameNotFoundException: Unable to resolve 'jdbc.oamds'. Resolved 'jdbc'; remaining name 'oamds'

Issue :

While starting the OIM and SOA servers got below error in logs.

javax.naming.NameNotFoundException: Unable to resolve 'jdbc.oamds'. Resolved 'jdbc'; remaining name 'oamds'
at weblogic.jndi.internal.BasicNamingNode.newNameNotFoundException(BasicNamingNode.java)

Solution : 

For clearing oamds error  messages from the logs , please follow the below steps :

1) Got to /app/oracle/middleware/user_projects/domains/base_domain/config/fmwconfig/mbeans

2) mkdir backup  ( create a backup folder)

3) cp idaas_mbeans.xml rp_mbeans.xml oauth_mbeans.xml backup/    (Copy files into backup folder)

4) Modify above files one by one

5) vi idaas_mbeans.xml

6) Changes the below property to false from ture.

Before

 After


<property key="oracle.security.idaas.common.config.mbeans.persistence.database.enabled" value="false"/>

7) Follow the same steps other other 2 files (  rp_mbeans.xml and oauth_mbeans.xml )

8) Restart the servers after modifying the files.

9) Check the OIM and SOA log files.

Thank you,
Arihant