Java high CPU due to concurrent HashMap access in Apache Axis TypeMappingImpl.internalRegister

Solution Verified - Updated -

Issue

  • We are seeing high CPU due to multiple threads accessing the same HashMap at once in Apache Axis TypeMappingImpl, for example:
Thread: http-0.0.0.0-8080-5 state=runnable
    java.util.HashMap.put
    org.apache.axis.encoding.TypeMappingImpl.internalRegister
    org.apache.axis.encoding.TypeMappingImpl.register
    org.apache.axis.encoding.TypeMappingDelegate.register
    org.apache.axis.client.Call.registerTypeMapping
    org.apache.axis.client.Call.registerTypeMapping

Environment

  • JBoss Enterprise Application Platform (EAP)
  • Apache Axis

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.