Skip to main content

configuring Workmanager in glassfish

1 reply [Last post]
mnvasanth
Offline
Joined: 2009-01-23
Points: 0

hi... I am new to the word of J2EE. I am developing a project for RA. javax.resource.spi.work.WorkManager has been used for delivering the inbound messages. Each in bound message from the tcp socket are delivered to the deployed end point using the WorkManager method scheduleWork(Work work) . Could any tell me how to configure the maximum threads that can be created by the WorkManager in Glassfish server....

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
dobes
Offline
Joined: 2007-07-03
Points: 0

Pass the name of the ThreadPool when getting the WorkManager, and create that thread pool in the glassfish admin panel with the settings you want to use for it.