You are on page 1of 12

26/11/2020 Stuck thread issue BEA-000337 — oracle-mosc

Home Discussions Categories Groups Events Resources Recognition Help

HOME / MIDDLEWARE (MOSC) / ORACLE WEBLOGIC SERVER (MOSC)

My Oracle Support Community -


Forums

Discussions

Ask a Question 

Quick Links
Categories

Recent Discussions

Activity

Unanswered 22117

Best Of...

Groups

Help

Categories

General
Getting Started in MOSC 130

Rewards and Recognition (MOSC) 51

Oracle Support Accreditation (MOSC) 75

My Oracle Support (MOS) Registration FAQs 4


https://community.oracle.com/mosc/discussion/3945826/stuck-thread-issue-bea-000337 1/12
26/11/2020 Stuck thread issue BEA-000337 — oracle-mosc
My Oracle Support (MOS) Registration FAQs 4

My Oracle Support Community


Agile and AutoVue (MOSC) 2.1K

CPQ Cloud (BigMachines) (MOSC) 1.6K

Communications Industry (MOSC) 3.6K

CRM On Demand (MOSC) 4.9K

Engineered Systems (MOSC) 3.1K

Enterprise Manager (MOSC) 6.1K

JDEdwards EnterpriseOne (MOSC) 39K

JDEdwards World (MOSC) 2.5K

Linux OS (MOSC) 1.4K

Middleware (MOSC) 21.4K

My Oracle Support Tools & Training (MOSC) 4.7K

Oracle Analytics (MOSC) 6.6K

Oracle Commerce (MOSC) 5.3K

Oracle Construction and Engineering (MOSC) 4.9K

Oracle Database (MOSC) 45.9K

Oracle E-Business Suite (MOSC) 172.5K

Oracle Financial Services Industry (MOSC) 469

Oracle Hospitality OPERA Cloud (MOSC) 33

Oracle Hyperion EPM (MOSC) 10.3K

Oracle Sun Technologies (MOSC) 16.2K

Oracle VM/PCA (MOSC) 1.3K

PeopleSoft (MOSC) 36.3K

Retail (MOSC) 7.6K

Siebel (MOSC) 11.1K

Utilities Industry (MOSC) 1.5K

Ideas Lab
E-Business Suite (EBS) - Ideas Lab 8.2K

PeopleSoft - Ideas Lab 4.6K

Construction and Engineering - Ideas Lab 3.1K

Siebel CRM - Ideas Lab 39

My Oracle Support Community (MOSC) - Ideas Lab 4


https://community.oracle.com/mosc/discussion/3945826/stuck-thread-issue-bea-000337 2/12
26/11/2020 Stuck thread issue BEA-000337 — oracle-mosc

Using the My Oracle Support Portal - Ideas Lab 64

Oracle Support Accreditation - Ideas Lab 22

Stuck thread issue BEA-000337


3177757 Posts:11
June 2016 edited July 2016 8 comments Answered

Once the stuck thread issue starts coming in our log after some time EM and Weblogic console are
hanged. Then we need to restart the services. Below is the log which we are getting. But it is not
saying what is the reason behind stuck thread. We are clueless. Any help/solution will be highly
appreciated.

<Jun 30, 2016 2:03:45 AM EDT> <Error> <WebLogicServer> <BEA-000337> <[STUCK]


ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)' has been busy for "622" seconds
working on the request "Workmanager: default, Version: 0, Scheduled=true, Started=true, Started
time: 622228 ms

", which is more than the configured time (StuckThreadMaxTime) of "600" seconds in "server-
failure-trigger". Stack trace:

sun.misc.Unsafe.park(Native Method)

java.util.concurrent.locks.LockSupport.park(LockSupport.java:186)

java.util.concurrent.locks.AbstractQueuedSynchronizer.parkAndCheckInterrupt(AbstractQueuedSyn
chronizer.java:834)

java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireQueued(AbstractQueuedSynchronizer
.java:867)

java.util.concurrent.locks.AbstractQueuedSynchronizer.acquire(AbstractQueuedSynchronizer.java:11
97)

java.util.concurrent.locks.ReentrantLock$NonfairSync.lock(ReentrantLock.java:214)

java.util.concurrent.locks.ReentrantLock.lock(ReentrantLock.java:290)

java.util.concurrent.ConcurrentHashMap$Segment.scanAndLockForPut(ConcurrentHashMap.java:5
70)
https://community.oracle.com/mosc/discussion/3945826/stuck-thread-issue-bea-000337 3/12
26/11/2020 Stuck thread issue BEA-000337 — oracle-mosc

java.util.concurrent.ConcurrentHashMap$Segment.put(ConcurrentHashMap.java:432)

java.util.concurrent.ConcurrentHashMap.putIfAbsent(ConcurrentHashMap.java:1150)

java.lang.ClassLoader.getClassLoadingLock(ClassLoader.java:464)

java.lang.ClassLoader.loadClass(ClassLoader.java:405)

sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)

java.lang.ClassLoader.loadClass(ClassLoader.java:412)

java.lang.ClassLoader.loadClass(ClassLoader.java:358)

weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:186)

weblogic.utils.classloaders.FilteringClassLoader.findClass(FilteringClassLoader.java:125)

weblogic.utils.classloaders.FilteringClassLoader.loadClass(FilteringClassLoader.java:100)

java.lang.ClassLoader.loadClass(ClassLoader.java:412)

java.lang.ClassLoader.loadClass(ClassLoader.java:358)

weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:186)

weblogic.utils.classloaders.FilteringClassLoader.findClass(FilteringClassLoader.java:125)

weblogic.utils.classloaders.FilteringClassLoader.loadClass(FilteringClassLoader.java:100)

java.lang.ClassLoader.loadClass(ClassLoader.java:412)

java.lang.ClassLoader.loadClass(ClassLoader.java:358)

weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:186)

weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAwareClassLoader.java:50)

java.lang.Class.forName0(Native Method)

java.lang.Class.forName(Class.java:274)

oracle.jbo.common.java2.JDK2ClassLoader.loadClassForName(JDK2ClassLoader.java:35)

oracle.jbo.common.JBOClass.forName(JBOClass.java:174)

oracle.adf.model.BindingContext.getBindingInputHandler(BindingContext.java:1959)

oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.registerCustomInputHandler(PageLifecycleImpl.
java:988)

https://community.oracle.com/mosc/discussion/3945826/stuck-thread-issue-bea-000337 4/12
26/11/2020 Stuck thread issue BEA-000337 — oracle-mosc

oracle.adf.controller.faces.lifecycle.FacesPageLifecycle.registerCustomInputHandler(FacesPageLifec
ycle.java:116)

oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.initContext(PageLifecycleImpl.java:86)

oracle.adf.controller.v2.lifecycle.Lifecycle$1.execute(Lifecycle.java:136)

oracle.adfinternal.controller.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:197)

Oracle Communities
oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.startPageLifecycle(ADFPhaseListener.
java:198)

oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$1.after(ADFPhaseListener.java:370)

oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.afterPhase(ADFPhaseListener.java:89)

oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.afterPhase(ADFLifecyclePha
seListener.java:53)

oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:489)

oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:225)

javax.faces.webapp.FacesServlet.service(FacesServlet.java:593)

weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:280
)

weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:254
)

weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:136)

weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:346)

weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:25)

weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)

oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:192)

weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)

https://community.oracle.com/mosc/discussion/3945826/stuck-thread-issue-bea-000337 5/12
26/11/2020 Stuck thread issue BEA-000337 — oracle-mosc

oracle.adf.view.page.editor.webapp.WebCenterComposerFilter.doFilter(WebCenterComposerFilter.ja
va:117)
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)

oracle.adf.share.http.ServletADFFilter.doFilter(ServletADFFilter.java:77)

weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)

oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:105)

org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilt
erImpl.java:502)

oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)

org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilt
erImpl.java:502)

org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.jav
a:327)

org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:229)

org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)

weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)

oracle.help.web.rich.OHWFilter.doFilter(OHWFilter.java:197)

weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)

oracle.sysman.eml.app.EMRepLoginFilter.doFilter(EMRepLoginFilter.java:697)

weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)

oracle.sysman.emas.fwk.MASConnectionFilter.doFilter(MASConnectionFilter.java:50)

weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)

oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:202)

weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)

oracle.sysman.eml.app.ContextInitFilter.doFilter(ContextInitFilter.java:554)

weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)

https://community.oracle.com/mosc/discussion/3945826/stuck-thread-issue-bea-000337 6/12
26/11/2020 Stuck thread issue BEA-000337 — oracle-mosc

oracle.adfinternal.view.faces.caching.filter.AdfFacesCachingFilterImpl.doFilter(AdfFacesCachingFilt
erImpl.java:136)

oracle.adf.view.rich.webapp.AdfFacesCachingFilter.doFilter(AdfFacesCachingFilter.java:66)

weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)

oracle.sysman.core.app.exception.EMRuntimeExceptionFilter.doFilter(EMRuntimeExceptionFilter.ja
va:81)

weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)

oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:137)

java.security.AccessController.doPrivileged(Native Method)

oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)

oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:460)

oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:120)

oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:217)

oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:81)

weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)

oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:220)

weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)

weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)

weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)

weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServlet
Context.java:3436)

weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletConte
xt.java:3402)

weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)

weblogic security service SecurityManager runAs(SecurityManager java:120)


https://community.oracle.com/mosc/discussion/3945826/stuck-thread-issue-bea-000337 7/12
26/11/2020 Stuck thread issue BEA-000337 — oracle-mosc
weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)

weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:57)

weblogic.servlet.internal.WebAppServletContext.doSecuredExecute(WebAppServletContext.java:22
85)

weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2201)

weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)

weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1572)

weblogic.servlet.provider.ContainerSupportProviderImpl$WlsRequestExecutor.run(ContainerSupport
ProviderImpl.java:255)

weblogic.work.ExecuteThread.execute(ExecuteThread.java:311)

weblogic.work.ExecuteThread.run(ExecuteThread.java:263)

>

 Flag  Quote  Off Topic  1 Like

Answers

iRAV Posts:381 Gold Badge


June 2016 edited June 2016

Hi,

try to use Administration Port and Administrative Channel

https://docs.oracle.com/middleware/1213/wls/CNFGD/network.htm#i1059032

 Flag  Quote  Off Topic  Like

iRAV Posts:381 Gold Badge


June 2016 edited June 2016

https://community.oracle.com/mosc/discussion/3945826/stuck-thread-issue-bea-000337 8/12
26/11/2020 Stuck thread issue BEA-000337 — oracle-mosc

Also you can use Stuck-Thread Work Manager

https://docs.oracle.com/cd/E12840_01/wls/docs103/config_wls/self_tuned.html

 Flag  Quote  Off Topic  Like

3177757 Posts:11
June 2016 edited June 2016

Any idea, what is the root cause behind this stuck thread? I am not able to get the answer for this question.

 Flag  Quote  Off Topic  Like

iRAV Posts:381 Gold Badge


June 2016 edited June 2016

Try to increase heap size - Unable to log into the EM console due to a stuck thread (Doc ID 2031827.1)

Probably you can find root cause of the problem if you will get several thread dumps and analize them.

 Flag  Quote  Off Topic  Like

3177757 Posts:11
June 2016 edited June 2016

We have current setting as follows:

Admin Server Current Heap Size = Current Heap Max Size =1.07216896 GB

Managed Server Current Heap size : 8.5 GB

Total Memory: 14.59 GB

Total Free Memory: 0.6 GB

And in my opinion 8 5 GB is too much one can think of So increasing the heap size doesn't seems to
https://community.oracle.com/mosc/discussion/3945826/stuck-thread-issue-bea-000337 9/12
26/11/2020 Stuck thread issue BEA-000337 — oracle-mosc
And in my opinion 8.5 GB is too much one can think of. So increasing the heap size doesn't seems to
convincing to me.

 Flag  Quote  Off Topic  Like

iRAV Posts:381 Gold Badge


June 2016 edited June 2016

>Total Free Memory: 0.6 GB

>So increasing the heap size doesn't seems to convincing to me.

Why?

Heap Free Percent on MS ?

If you increase heap size and you will see that all heap is used then you should check your app code for
memleak.

 Flag  Quote  Off Topic  Like

3177757 Posts:11
June 2016 edited June 2016

Heap Free Current: 5554351016 The current amount of memory (in bytes) that is available in the JVM
heap.More Info...

 Flag  Quote  Off Topic  Like

Mohab.Elsayed Posts:652
July 2016 edited July 2016

The MOS note that iRAV shared is talking about increasing the heap for the admin server, not the managed
server. If you don't have sufficient physical memory available to do that, then you might want to decrease the
heap for the managed server a bit (since you have more than enough free memory on it) and add that amount to
the admin server heap.

https://community.oracle.com/mosc/discussion/3945826/stuck-thread-issue-bea-000337 10/12
26/11/2020 Stuck thread issue BEA-000337 — oracle-mosc

 Flag  Quote  Off Topic  1 Like

Leave a Comment

Home Oracle Weblogic Server (MOSC) Post Comment

New to My Oracle Support Community? Visit our Welcome


MOSC Help Center
Center

https://community.oracle.com/mosc/discussion/3945826/stuck-thread-issue-bea-000337 11/12
26/11/2020 Stuck thread issue BEA-000337 — oracle-mosc

© 2020 Oracle Site Map Privacy / Do Not Sell My Info Cookie Preferences Ad Choices Careers

https://community.oracle.com/mosc/discussion/3945826/stuck-thread-issue-bea-000337 12/12

You might also like