My Oracle Support Banner

Oracle Security Development Tools (OSDT) Secure E-Mail Fails In OC4J with Errors (Doc ID 1317112.1)

Last updated on FEBRUARY 13, 2024

Applies to:

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

Symptoms


Application using Oracle Security Development Tools (OSDT) libraries to send
secure e-mail fails due to class loading error in application.log file.

oracle.classloader.util.AnnotatedNoClassDefFoundError:

Missing class: oracle.security.crypto.smime.SmimeSigned

The OSDT libraries are in ORACLE_HOME/jlib and all start with osdt*.

Trying to copy these files to the ORACLE_HOME/j2ee/<instance>/applib directory and restart then redeploy the application. A different error occurs,

javax.mail.MessagingException: IOException while sending message;
 nested exception is:
 javax.activation.UnsupportedDataTypeException: no object DCH for MIME type
 application/pkcs7-mime; smime-type=signed-data
 at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:421)


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.