You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
GlassFish Version (and build number): GlassFish 7.0.19
JDK version: OpenJDK 21.0.4
OS: Red Hat Enterprise Linux 8.6
Database: none
Problem Description
At the GlassFish startup, HK2 services (classes annotated with org.jvnet.hk2.annotations.Service) are not initialized in a concurrent way.
The expected behavior is that services are initialized by four RunLevelControllerThreads, as in GlassFish 7.0.0-M7 or earlier.
Steps to reproduce
Start the DAS by asadmin start-domain and see the server log.
Then log records with _ThreadName=main can be found as below, which indicates the service initialization is executed on the main thread instead of RunLevelControllerThread.
Environment Details
Problem Description
At the GlassFish startup, HK2 services (classes annotated with
org.jvnet.hk2.annotations.Service
) are not initialized in a concurrent way.The expected behavior is that services are initialized by four
RunLevelControllerThread
s, as in GlassFish 7.0.0-M7 or earlier.Steps to reproduce
Start the DAS by
asadmin start-domain
and see the server log.Then log records with
_ThreadName=main
can be found as below, which indicates the service initialization is executed on themain
thread instead ofRunLevelControllerThread
.In GlassFish 7.0.0-M7 or earlier, this was done in
RunLevelControllerThread
:Impact of Issue
Startup may take more time than GlassFish 7.0.0-M7 or earlier.
The text was updated successfully, but these errors were encountered: