My Oracle Support Banner

Enabling Ldap Security For External Ldap Deployment Returns InstantiationException (Doc ID 394895.1)

Last updated on FEBRUARY 26, 2019

Applies to:

Oracle Containers for J2EE - Version 10.1.3.0.0 and later
Information in this document applies to any platform.

Symptoms

Deployment of an application requiring access to a 3rd party LDAP directory server failed in AS 10.1.3.0.0.

 To accomplish this goal the steps followed are those documented in this Oracle documentation:

Chapter 9: External LDAP Security Providers
Oracle® Containers for J2EE Security Guide 10g Release 3 (10.1.3) B14429-01

External URL:
http://download-west.oracle.com/docs/cd/B25221_04/web.1013/b14429/ldap3rdparty.htm#sthref572

This failed when trying to deploy the application to access Sun LDAP 5.2.

Nevertheless unpacking the application succeeded the step to start the application failed, and the errors logged in $ORACLE_HOME/opmn/logs/<oc4j log file> were:

Initializing EJB container 
Loading connector(s) 
application : <myApp> is in failed state 
Operation failed with error:    
java.lang.InstantiationException 
oracle.oc4j.admin.internal.DeployerException: java.lang.InstantiationException 
at oracle.oc4j.admin.internal.ApplicationDeployer.addApplication(ApplicationDeployer.java:510) 
at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDeployer.java:191) 
at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:93) 
at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeployerRunnable.doRun(OC4JDeployerRunnable.java:52) 
at oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRunnable.run(DeployerRunnable.java:81) 
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:819) 
at java.lang.Thread.run(Thread.java:595)



Changes

 

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
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.