Multiple Singleton Instances In Ear Deployment With Weblogic Server 10.3 (Doc ID 1127439.1)

Last updated on FEBRUARY 22, 2017

Applies to:

Oracle Weblogic Server - Version 10.3 and later
Information in this document applies to any platform.
***Checked for relevance on 09-Oct-2013***

Goal

When you don't specify any custom classloader hierarchy in your 'weblogic-application.xml' descriptor and instead rely on the standard classloader hierarchy you might notice the below issue.
The singleton class is being instantiated multiple times from separate EJB modules despite appropriate synchronization.

Solution

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