My Oracle Support Banner

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

Last updated on FEBRUARY 13, 2024

Applies to:

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

Goal


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 10.1.3.3 OC4J ?

Solution

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
Goal
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.