Skip to content

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

Closed

Description

@spring-projects-issues

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

Activity

  1. spring-projects-issues commented on Sep 28, 2012

    @spring-projects-issues
    CollaboratorAuthor

    Juergen Hoeller commented

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

    Juergen

  2. spring-projects-issues commented on Sep 28, 2012

    @spring-projects-issues
    CollaboratorAuthor

    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

  3. spring-projects-issues commented on Nov 8, 2012

    @spring-projects-issues
    CollaboratorAuthor

    Dennis Kieselhorst commented

    Seems to be related to #13117

  4. spring-projects-issues commented on Jan 16, 2013

    @spring-projects-issues
    CollaboratorAuthor

    Juergen Hoeller commented

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

  5. added
    type: bug
    in: core
    status: duplicate
    on Jan 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

in: corestatus: duplicate

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions