My Oracle Support Banner

Application Deployment In WLS 12.1.2 Takes a Long Time Due to Annotation Scan Calls (Doc ID 2012238.1)

Last updated on MARCH 22, 2024

Applies to:

Oracle WebLogic Server - Version and later
Information in this document applies to any platform.


A J2EE application has a Web Module that contains a large number directories where JSP pages are stored.
Deploying this application  into 12.1.2 WLS Server takes a long time  as most of the time is spent in the
weblogic.application.utils.AnnotationDetector.scan() method.

Taking a thread dump of WebLogic server process, this method is invoked with the following  thread stack :

Note that this problem can occur even the Web Module contains no JSP page in directories.




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.