Discussions
Categories
- 196.8K All Categories
- 2.2K Data
- 239 Big Data Appliance
- 1.9K Data Science
- 450.3K Databases
- 221.7K General Database Discussions
- 3.8K Java and JavaScript in the Database
- 31 Multilingual Engine
- 550 MySQL Community Space
- 478 NoSQL Database
- 7.9K Oracle Database Express Edition (XE)
- 3K ORDS, SODA & JSON in the Database
- 544 SQLcl
- 4K SQL Developer Data Modeler
- 187K SQL & PL/SQL
- 21.3K SQL Developer
- 295.9K Development
- 17 Developer Projects
- 138 Programming Languages
- 292.5K Development Tools
- 107 DevOps
- 3.1K QA/Testing
- 646K Java
- 28 Java Learning Subscription
- 37K Database Connectivity
- 155 Java Community Process
- 105 Java 25
- 22.1K Java APIs
- 138.1K Java Development Tools
- 165.3K Java EE (Java Enterprise Edition)
- 18 Java Essentials
- 160 Java 8 Questions
- 86K Java Programming
- 80 Java Puzzle Ball
- 65.1K New To Java
- 1.7K Training / Learning / Certification
- 13.8K Java HotSpot Virtual Machine
- 94.3K Java SE
- 13.8K Java Security
- 204 Java User Groups
- 24 JavaScript - Nashorn
- Programs
- 439 LiveLabs
- 38 Workshops
- 10.2K Software
- 6.7K Berkeley DB Family
- 3.5K JHeadstart
- 5.7K Other Languages
- 2.3K Chinese
- 171 Deutsche Oracle Community
- 1.1K Español
- 1.9K Japanese
- 232 Portuguese
Stuck thread issue encountered due to ADF's ADS polling call

we are encountering a stuck thread issue in production due to ADF Active Data Service polling calls.
We make use of ADS for collaboration in our project. Below is the ADS config that we use:-
<ads:adf-activedata-config xmlns="http://xmlns.oracle.com/adf/activedata/config"> <transport>long-polling</transport> <keep-alive-interval>20000</keep-alive-interval> </ads:adf-activedata-config>
In production, occasionally, where we are seeing below kind of exceptions at multiple places:
####<Jul 20, 2021 6:06:59,110 AM UTC> <Error> <WebLogicServer> <912d0de7-0008-4a97-896d-96d559b49e5e-ms2.dpapp.oic.oraclevcn.com> <oic_server2> <[ACTIVE] ExecuteThread: '129' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <d87f52bf-4b70-4a3d-9fb6-46d6e7245563-0049c06c> <1626761219110> <[severity-value: 8] [rid: 0] [partition-id: 0] [partition-name: DOMAIN] > <BEA-000337> <[STUCK] ExecuteThread: '137' for queue: 'weblogic.kernel.Default (self-tuning)' has been busy for "702" seconds working on the request "Http Request Information: [email protected][GET /ic/process/composer/adwwls/wls.ads] ", which is more than the configured time (StuckThreadMaxTime) of "600" seconds in "server-failure-trigger". Stack trace: oracle.adfinternal.view.faces.activedata.AdsProcessor.doProcess(AdsProcessor.java:208) oracle.adfinternal.view.faces.activedata.AdsServlet.doGet(AdsServlet.java:116) javax.servlet.http.HttpServlet.service(HttpServlet.java:687) javax.servlet.http.HttpServlet.service(HttpServlet.java:790) weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelp
I matched the timestamp in access logs, I can see some calls going to wls.ads reconnect action like these:
2021-07-20 06:02:02 859.951 0 GET /ic/process/composer/adwwls/wls.ads?action=reconnect&windowId=w1bnu1p6dtt&replaceMasterWindowId=w1bnu1p6dtt&pageId=2&replaceMasterPageId=2&messageCount=1&Adf-Window-Id=w1bnu1p6dtt 200 "d87f52bf-4b70-4a3d-9fb6-46d6e7245563-0049b0ed" - - - -
As we can see, the above call took 859 seconds to complete, which I believe, led to the stuck thread. I tried to simulate the behavior on my chrome browser by throttling to absurdly high latency, still could not get such high response time. Most I could simulate was 60 seconds.
Any ideas, what could cause such large response times and stuck threads? Any kind of help would be much appreciated.
Answers
-
Seems like a bug. Please submit bug report.
-
Thanks, we will submit a bug report. However, is there any ads config settings that we can add or change meanwhile to mitigate the issue or reduce its probability of occurrence in production?
-
Please refer
Stuck Threads Caused by Serialization Errors (Doc ID 2719019.1)
for Oracle JDeveloper - Version 12.2.1.4.0 and later