Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to Identify WorkManager Type for a specific request  RSS feed

shukla raghav
Ranch Hand
Posts: 203
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have defined an Application Scoped Work manager ( This 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 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 and the GET requests are handled by the default WM. this explanation is satisfactory in terms of the request handled by 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

With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!