High CPU in org.apache.axis.utils.JavaUtils.isEnumClass

Solution Unverified - Updated

Environment

  • JBoss Enterprise Application Platform (EAP)
  • Apache Axis

Issue

  • We experience high CPU in calls like the following:
"Thread-5612" daemon prio=10 tid=0x0000000066209000 nid=0x42d runnable [0x00002b379b56a000]
   java.lang.Thread.State: RUNNABLE
	at java.util.HashMap.get(HashMap.java:303)
	at org.apache.axis.utils.JavaUtils.isEnumClass(JavaUtils.java:1040)
	at org.apache.axis.encoding.ser.BeanSerializerFactory.init(BeanSerializerFactory.java:49)
	at org.apache.axis.encoding.ser.BeanSerializerFactory.<init>(BeanSerializerFactory.java:42)
	at org.apache.axis.encoding.ser.BaseSerializerFactory.createFactory(BaseSerializerFactory.java:235)
	at org.apache.axis.client.Call.registerTypeMapping(Call.java:2296)

Resolution

  • Upgrade to latest Apache Axis 1.4 releases or later

Root Cause

Components
Category

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.