My Oracle Support Banner

ODSEE - After Applying a Windows Bundle Patch (BP) Error and Running dsccsetup complete-patch - Exception in thread "main" java.lang.NoClassDefFoundError: javax/net/ssl/X509TrustManager (Doc ID 2570361.1)

Last updated on SEPTEMBER 10, 2019

Applies to:

Oracle Directory Server Enterprise Edition - Version 11.1.1.7.0 and later
Microsoft Windows x64 (64-bit)

Symptoms

On Windows, when attempting to apply a bundle patch to ODSEE 11.1.1.7.x -

+ When running -

 unzip -q sun-dsee7.zip -d INSTALL_PATH
 ...
replace <INSTALL_LOC>/dsee7/lib/private/bin_dsadm.exe? [y]es, [n]o, [A]ll, [N]one,r]ename: A
error:  cannot delete old <INSTALL_LOC>/dsee7/lib/libjutils.dll
        Permission denied
error:  cannot delete old <INSTALL_LOC>/dsee7/lib/jar/dcc.jar
        Permission denied
error:  cannot delete old <INSTALL_LOC>/dsee7/lib/jar/dsccagentdaemon.jar
        Permission denied
...

+ When running -

 dsccsetup complete-patch
***
The following directories will be deleted:
        c:<INSTALL_LOC>\dsee7\Legal
        c:<INSTALL_LOC>\dsee7\etc
        c:<INSTALL_LOC>\dsee7\examples
        c:<INSTALL_LOC>\INSTALL_LOC\dsee7\ext
        c:<INSTALL_LOC>\dsee7\resources\dcc7app
Do you really want to continue ? [y/n] y
***
Exception in thread "main" java.lang.NoClassDefFoundError: javax/net/ssl/X509Tru
stManager
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
 ...


+ When checking ODSEE version, the correct BP version is shown in the output.
For example -

ns-slapd.exe -V -D <INSTANCE_ROOT>
Oracle Corporation.
Sun-Directory-Server/11.1.1.7.190716 B2019.0712.1747 32-bit
ns-slapd            : 11.1.1.7.190716      B2019.0712.1747 DirectoryServices1111
...

+ No new dscc7.war file is created.

+ The dsccagent will not start -

dsccagent.exe start
**** Cannot read config file:Unknown property: timeout-multiplier
The agent C:\<INSTALL_LOC>\dsee7\var\dcc\agent has not been started
Note: Could be due to not stopping the DSCC agent prior to applying the BP.

+ The Directory Server starts successfully.

+ The dsconf commands return -

Exception in thread "main" java.lang.NoClassDefFoundError: javax/net/ssl/SSLHandshakeException
        at com.sun.directory.slapy.cli.SlapyMain.<init>(SlapyMain.java:132)
        at com.sun.directory.slapy.cli.SlapyMain.main(SlapyMain.java:24)
Caused by: java.lang.ClassNotFoundException: javax.net.ssl.SSLHandshakeException
...

+ The ldapsearch, ldapmodify, and ldapdelete commands are successful.

+ If the DSCC ADS instance is in the same installation, when entering the URL to the DSCC in the browser, it hangs. The DSCC login page is not displayed.

Changes

 Applied Bundle Patch on ODSEE 11.1.1.7.x on Windows OS

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

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