My Oracle Support Banner

Redeployed Application Can Still Access Old Object Instances when Using Application Class Loaders (Doc ID 1389725.1)

Last updated on JANUARY 31, 2023

Applies to:

Oracle GlassFish Server - Version 2.1 to 3.1.1 [Release 2.1 to 3.1]
Information in this document applies to any platform.


On GlassFish Server 2.x and 3.x, when attempting to invoke an EJB business method, the following error might occur:

  • So at this point the EJB is no longer accessible.

  • Redeploy the EJB module.

  • When the appclient is run this time the above exception is reported, indicating that the old EJB reference is still present in the CacheServiceLocator singleton.
  • 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

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