Win a copy of Escape Velocity: Better Metrics for Agile Teams this week in the Agile and Other Processes forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Tim Cooke
  • Paul Clapham
  • Jeanne Boyarsky
Sheriffs:
  • Ron McLeod
  • Frank Carver
  • Junilu Lacar
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
Bartenders:
  • Piet Souris
  • Frits Walraven
  • fred rosenberger

How to Identify WorkManager Type for a specific request

 
Ranch Hand
Posts: 205
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have defined an Application Scoped Work manager (my.app.wm). This my.app.wm is assigned to all the ear's in my application. When i run the app and do monitoring through weblogic console, i find not only the requests handled by my.app.wm but also more number of requests handled by default WM. Our team has identified through logs that all the POST requests are handled by the my.app.wm and the GET requests are handled by the default WM. this explanation is satisfactory in terms of the request handled by my.app.wm but we are still not sure about the requests that are handled by the default WM.

How do we identify which request is handled by which WM. Here are the two approaches that come in my mind

1. If there is a possiblity of customizing weblogic access-log then maybe we may do something to also include the thread name, that will help us identify which WM is handling which request

2. Use of WorkManager API. I know that we can access the WorkManager using the WorkManager API (i foudn it in javaranch itself).But the question is "Does the WorkManager object also tell us what request it handles at runtime"

Thanks in advance


 
Note to self: don't get into a fist fight with a cactus. Command this tiny ad to do it:
Garden Master Course kickstarter
https://coderanch.com/t/754577/Garden-Master-kickstarter
reply
    Bookmark Topic Watch Topic
  • New Topic