OES SM Cannot Connect To OES PDP (Doc ID 2113620.1)

Last updated on MARCH 13, 2016

Applies to:

Oracle Entitlements Server - Version 11.1.2.3.0 and later
Information in this document applies to any platform.

Goal

Attempting run a Java code, which use a Java Security Module, getting IllegalArgumentException error:

$java -classpath ../../modules/oracle.oes.sm_11.1.1/oes-client.jar:. -Doracle.security.jps.config=~/oes_client/oes_sm_instances/java_sm/config/jps-config.xml HelloOESWorld
Mar 3, 2016 3:55:57 PM oracle.security.jps.internal.audit.dynamic.AuditStoreFactory getInstance
WARNING: file /iam/oracle/Oracle/Middleware/oes_client/oes_sm_instances/Sample-SM-new/config/audit-store.xml was not found
Mar 3, 2016 3:55:57 PM oracle.security.audit.Auditor init
WARNING: IAU:IAU-6012: Unable to determine the audit log directory. No log directory specified.
Mar 3, 2016 3:55:57 PM oracle.security.jps.util.JpsUtil disableAudit
INFO: JpsUtil: isAuditDisabled set to true
Mar 3, 2016 3:55:57 PM oracle.security.jps.internal.audit.AuditServiceImpl validateLogPossible
WARNING: No audit log directory is set. Cannot perform audit operations for component JPS.
Mar 3, 2016 3:55:58 PM oracle.security.jps.internal.common.util.JpsCommonUtil validateLdapName
SEVERE: The DN Domain Name was invalid LdapName format, see javax.naming.ldap.LdapName
java.lang.IllegalArgumentException: The DN Domain Name was invalid LdapName format, see javax.naming.ldap.LdapName
at oracle.security.jps.internal.common.util.JpsCommonUtil.validateLdapName(JpsCommonUtil.java:1425)
at oracle.security.jps.internal.common.util.JpsCommonUtil.getJpsFarmDN(JpsCommonUtil.java:1490)
at oracle.security.jps.internal.common.util.JpsCommonUtil.getJpsFarmDN(JpsCommonUtil.java:1469)
at oracle.security.jps.internal.core.util.JpsConfigUtil.getJpsFarmDN(JpsConfigUtil.java:1251)
at oracle.security.jps.internal.policystore.PolicyStoreHelper.getPolicyStoreInstance(PolicyStoreHelper.java:98)
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.security.jps.az.internal.management.pd.PD.createControlledPolicyStore(PD.java:403)
at oracle.security.jps.az.internal.management.pd.PD.initializeInternal(PD.java:232)
at oracle.security.jps.az.internal.management.pd.PD.createPolicyDistributionService(PD.java:265)
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.security.jps.az.common.pd.service.PDServiceFinder.getPolicyDistributionService(PDServiceFinder.java:63)
at oracle.security.jps.az.internal.runtime.service.PDPServiceImpl.initializeControlledPD(PDPServiceImpl.java:604)
at oracle.security.jps.az.internal.runtime.service.PDPServiceImpl.initial(PDPServiceImpl.java:682)
at oracle.security.jps.az.internal.runtime.service.PDPServiceImpl.init(PDPServiceImpl.java:480)
at oracle.security.jps.az.internal.runtime.service.PDPServiceImpl.(PDPServiceImpl.java:455)
at oracle.security.jps.az.internal.runtime.provider.PDPServiceProvider.getInstance(PDPServiceProvider.java:100)
at oracle.security.jps.internal.core.runtime.ContextFactoryImpl.findServiceInstance(ContextFactoryImpl.java:139)
at oracle.security.jps.internal.core.runtime.ContextFactoryImpl.getContext(ContextFactoryImpl.java:170)
at oracle.security.jps.internal.core.runtime.ContextFactoryImpl.getContext(ContextFactoryImpl.java:191)
at oracle.security.jps.internal.core.runtime.JpsContextFactoryImpl.getContext(JpsContextFactoryImpl.java:132)
at oracle.security.jps.internal.core.runtime.JpsContextFactoryImpl.getContext(JpsContextFactoryImpl.java:159)
at oracle.security.jps.internal.core.runtime.JpsContextFactoryImpl.getContext(JpsContextFactoryImpl.java:165)

 

Solution

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