-
Bug
-
Resolution: Done
-
Major
-
1.1.1.Final
-
None
-
-
Workaround Exists
-
AbstractContext.creationLock same for all applications on same server.
I have portlet and webservice deployed on same glassfish server.
On start of portlet the call to managed bean (@ApplicationScoped) is occured (FolderService.getRootFolder). It causes to lock creationLock in AbstractContext, create instance for bean, then call getRootFolder as default postconstruct method.
After getRootFolder calls webservice deployed on the same server. Webservice method access another @ApplicationScoped bean. It causes to lock creationLock again (in another thread) and produces deadlock.
Thanks.