Application Deployment Into WLS 12.1.2 Takes a Long Time Due to Annotation Scan Calls

(Doc ID 2012238.1)

Last updated on FEBRUARY 28, 2018

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.




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