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

Last updated on MARCH 08, 2017

Applies to:

Oracle Containers for J2EE - Version: 10.1.3.5.0 and later   [Release: AS10gR3 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)


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