OpenSSO Enterprise configuration fails on WebLogic Server because weblogic.jar bundles an older ldapjdk.jar file.
Sun provides a new ldapjdk.jar file that includes security and performance related fixes. You must provide the following workaround for both WebLogic Server 9.2 and WebLogic Server 10.
Workaround. Put the Sun ldapjdk.jar ahead of weblogic.jar in the CLASSPATH, as follows:
Extract ldapjdk.jar from opensso.war in a temporary directory using the following command:
jar xvf opensso.war WEB-INF/lib/ldapjdk.jar
Copy the above extracted ldapjdk.jar to the WebLogic lib directory.
For example, for WebLogic Server 10 on Solaris or Linux systems: BEA_HOME/weblogic_10.0/server/lib
Or, for WebLogic Server 9.2 on Windows:BEA_HOME\weblogic92\server\lib
Prefix the path to this ldapjdk.jar to the existing classpath. by editing the startup script used to start WebLogic Server. In the following examples, BEA_HOME is where WebLogic Server is installed.
For WebLogic 9.2 on Windows, edit:
BEA_HOME\weblogic92\samples\domains\wl_server\bin\startWebLogic.cmd
Change set CLASSPATH=%CLASSPATH%;%MEDREC_WEBLOGIC_CLASSPATH% to:
set CLASSPATH=BEA_HOME\weblogic92\server\lib\ldapjdk.jar;%CLASSPATH%;%MEDREC_WEBLOGIC_CLASSPATH%
For WebLogic 10 on Windows, edit:
BEA_HOME\wlserver_10.0\samples\domains\wl_server\bin\startWebLogic.cmd
Change set CLASSPATH=%CLASSPATH%;%MEDREC_WEBLOGIC_CLASSPATH% to:
set CLASSPATH= BEA_HOME\wlserver_10.0\server\lib\ldapjdk.jar;%CLASSPATH%;%MEDREC_WEBLOGIC_CLASSPATH%
For WebLogic 9.2 MP2 on Solaris or Linux, edit:
/bea/weblogic92/samples/domains/wl_server/bin/ startWebLogic.sh
or
/usr/local/bea/user_projects/domains/base_domain/bin/startWebLogic.sh
Change CLASSPATH="${CLASSPATH}${CLASSPATHSEP}${MEDREC_WEBLOGIC_CLASSPATH}" to:
CLASSPATH= "BEA_HOME/weblogic92/server/lib/ldapjdk.jar${CLASSPATH}${CLASSPATHSEP}${MEDREC_WEBLOGIC_CLASSPATH}" |
For WebLogic 10 on Solaris or Linux, edit:
/bea/wlserver_10.0/samples/domains/wl_server/bin/startWebLogic.sh
or
/bea/user_projects/domains/wl10_domain/bin/startWebLogic.sh
Change CLASSPATH="${CLASSPATH}${CLASSPATHSEP}${MEDREC_WEBLOGIC_CLASSPATH}" to
CLASSPATH= "BEA_HOME/wlserver_10.0/server/lib/ldapjdk.jar${CLASSPATH}${CLASSPATHSEP}${MEDREC_WEBLOGIC_CLASSPATH}"
Restart the server.
Configure OpenSSO Enterprise.