-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: High CPU Utilization threds stuk at HashMap.getEntry(HashMap
PostPosted: Tue Jun 20, 2017 12:51 am 
Newbie

Joined: Tue Jun 20, 2017 12:42 am
Posts: 1
Hi All,

My j2EE application using hibernate 4.1.4 core jar and hibernate 2.0 jpa and 4.0 common annotations.
and java version is 1.6 and application server is jboss-as-7.1.1.

from the past 15 days am getting high cpu utilization , when i check the thread dump it is showing 4 threads are in infinite loop at hashmap.getentry() method.

below is the detailed thread dump stack trace.

Can somebody please help on this.


ajp--0.0.0.0-8009-37 - priority:10 - threadId:0x00007fb2740b0000 - nativeId:0x3a58 - state:RUNNABLE
stackTrace:
java.lang.Thread.State: RUNNABLE
at java.util.HashMap.getEntry(HashMap.java:446)
at java.util.HashMap.get(HashMap.java:405)
at com.sun.faces.facelets.component.UIRepeat.restoreChildState(UIRepeat.java:397)
at com.sun.faces.facelets.component.UIRepeat.restoreChildState(UIRepeat.java:408)
at com.sun.faces.facelets.component.UIRepeat.restoreChildState(UIRepeat.java:383)
at com.sun.faces.facelets.component.UIRepeat.setIndex(UIRepeat.java:452)
at com.sun.faces.facelets.component.UIRepeat.process(UIRepeat.java:542)
at com.sun.faces.facelets.component.UIRepeat.processDecodes(UIRepeat.java:751)
at com.sun.faces.facelets.component.UIRepeat.process(UIRepeat.java:529)
at com.sun.faces.facelets.component.UIRepeat.processDecodes(UIRepeat.java:751)
at com.sun.faces.facelets.component.UIRepeat.process(UIRepeat.java:529)
at com.sun.faces.facelets.component.UIRepeat.processDecodes(UIRepeat.java:751)
at javax.faces.component.UIForm.processDecodes(UIForm.java:225)
at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:1176)
at org.icefaces.ace.component.dialog.Dialog.processDecodes(Dialog.java:77)
at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:1176)
at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:1176)
at javax.faces.component.UIForm.processDecodes(UIForm.java:225)
at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:1176)
at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:1176)
at javax.faces.component.UIViewRoot.processDecodes(UIViewRoot.java:933)
at com.sun.faces.lifecycle.ApplyRequestValuesPhase.execute(ApplyRequestValuesPhase.java:78)
at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:593)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
at my.com.celcom.zoomsfo.framework.util.PortalFilter.doFilter(PortalFilter.java:347)
at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)
at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
at my.com.celcom.zoomsfo.framework.util.SessionFilter.doFilter(SessionFilter.java:133)
at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)
at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:397)
at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368)
at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:505)
at org.apache.coyote.ajp.AjpProtocol$AjpConnectionHandler.process(AjpProtocol.java:445)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930)
at java.lang.Thread.run(Thread.java:724)


Top
 Profile  
 
 Post subject: Re: High CPU Utilization threds stuk at HashMap.getEntry(HashMap
PostPosted: Tue Jun 20, 2017 1:12 am 
Hibernate Team
Hibernate Team

Joined: Thu Sep 11, 2014 2:50 am
Posts: 1628
Location: Romania
If you check the stacktrace, you won't find any Hibernate package in it. The stacktrace indicates that your JSF components are causing the issue.

What you are using is called Java EE, not J2EE since you are using JBoss 7. However, why do you use Spring Framework with a Java EE Application Server?


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.