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

Last updated on JULY 10, 2009

Applies to:

Oracle Containers for J2EE - Version: 10.1.3
This problem can occur on 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)



Cause

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