A @Factory method keeps other methods waiting in EAP 5.1.2
Issue
A @Factory method keeps other @Factory methods waiting.
In thread dumps, the method was locking in getInstanceFromFactory method.
at org.jboss.seam.Component.getInstanceFromFactory(Component.java:2093)
- locked <0x00000006f32a7e48> (a java.lang.Class for org.jboss.seam.Component)
So other threads waitng for release the lock.
java.lang.Thread.State: BLOCKED (on object monitor)
at org.jboss.seam.Component.getInstanceFromFactory(Component.java:2056)
- waiting to lock <0x00000006f32a7e48> (a java.lang.Class for org.jboss.seam.Component)
Environment
- Red Hat JBoss Enterprise Application Platform (EAP) 5.1.2
- Seam 2.2.5.EAP5
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.