Skip to content

A Java Thread deadlock has occured [SPR-9837] #14470

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
spring-projects-issues opened this issue Sep 27, 2012 · 4 comments
Closed

A Java Thread deadlock has occured [SPR-9837] #14470

spring-projects-issues opened this issue Sep 27, 2012 · 4 comments
Assignees
Labels
in: core Issues in core modules (aop, beans, core, context, expression) status: duplicate A duplicate of another issue

Comments

@spring-projects-issues
Copy link
Collaborator

spring-projects-issues commented Sep 27, 2012

Jeff Sanders opened SPR-9837 and commented

"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.


Affects: 3.2 M1, 3.2 M2

Attachments:

Issue Links:

0 votes, 5 watchers

@spring-projects-issues
Copy link
Collaborator Author

Juergen Hoeller commented

Does that happen for threads obtaining non-singleton beans? Or for lazy-init singleton beans?

Juergen

@spring-projects-issues
Copy link
Collaborator Author

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:

  1. at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:184) - waiting to lock <455368173> (a java.util.concurrent.ConcurrentHashMap@1b245ded )

  2. 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
Copy link
Collaborator Author

spring-projects-issues commented Nov 8, 2012

Dennis Kieselhorst commented

Seems to be related to #13117

@spring-projects-issues
Copy link
Collaborator Author

spring-projects-issues commented Jan 16, 2013

Juergen Hoeller commented

I'm pretty sure this effectively refers to the same issue as addressed in #13117...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: core Issues in core modules (aop, beans, core, context, expression) status: duplicate A duplicate of another issue
Projects
None yet
Development

No branches or pull requests

2 participants