My Oracle Support Banner

How to Make Libraries such as mail.jar and activation.jar Swappable ? (Doc ID 552432.1)

Last updated on JANUARY 16, 2023

Applies to:

Oracle Containers for J2EE - Version to [Release AS10gR3]
Information in this document applies to any platform.


From the 10.1.3 OC4J, by using Shared Libraries feature, one application can use different
Java library versions than the default ones embedded in OC4J.
As an example, an application deployed into OC4J can import and use another version of the Oracle JDBC driver
which is different from the default one.

However, for some libraries such as JavaMail libraries (mail.jar, activation.jar),
only the default libraries embedded in OC4J can be used by an application.
And, though other versions of those libraries can be imported via the Shared Libraries mechanism, applications
will be able to use the default libraries only.

So, the question is how to configure JavaMail libraries so that other versions of those libraries can be used  by applications deployed into OC4J ?


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

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