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
{{ message }}
Repository navigation
A Java Thread deadlock has occured [SPR-9837] #14470
"http-0.0.0.0-8080-7":at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:184) - waiting to lock <455368173> (a java.util.concurrent.ConcurrentHashMap@1b245ded ) which is held by http-0.0.0.0-8080-4
The above error happens a few times and stops the Web App from processing. We have to restart JBoss to get the app back up and processing requests.
Hello Juergen and thanks for getting in touch with me on this.
My answer would be no Juergen, I've only seen the following two types of deadlock:
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:184) - waiting to lock <455368173> (a java.util.concurrent.ConcurrentHashMap@1b245ded )
at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanDefinitionNames(DefaultListableBeanFactory.java:297) - waiting to lock <2108923244> (a java.util.concurrent.ConcurrentHashMap@7db39d6c ) which is held by http-0.0.0.0-8080-1 - locked <455368173> (a java.util.concurrent.ConcurrentHashMap@1b245ded) - locked <455368173> (a java.util.concurrent.ConcurrentHashMap@1b245ded)
RemoveMark Read1487222670
Activity
spring-projects-issues commentedon Sep 28, 2012
Juergen Hoeller commented
Does that happen for threads obtaining non-singleton beans? Or for lazy-init singleton beans?
Juergen
spring-projects-issues commentedon Sep 28, 2012
Jeff Sanders commented
Hello Juergen and thanks for getting in touch with me on this.
My answer would be no Juergen, I've only seen the following two types of deadlock:
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:184) - waiting to lock <455368173> (a java.util.concurrent.ConcurrentHashMap@1b245ded )
at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanDefinitionNames(DefaultListableBeanFactory.java:297) - waiting to lock <2108923244> (a java.util.concurrent.ConcurrentHashMap@7db39d6c ) which is held by http-0.0.0.0-8080-1 - locked <455368173> (a java.util.concurrent.ConcurrentHashMap@1b245ded) - locked <455368173> (a java.util.concurrent.ConcurrentHashMap@1b245ded)
RemoveMark Read1487222670
Thanks
Jeff Sanders
443 254 1426
spring-projects-issues commentedon Nov 8, 2012
Dennis Kieselhorst commented
Seems to be related to #13117
spring-projects-issues commentedon Jan 16, 2013
Juergen Hoeller commented
I'm pretty sure this effectively refers to the same issue as addressed in #13117...