Weblogic work manager - Control min./max. threads & fair share

I have an application which is running on Weblogic 10.3.2. I need to be able to control the number of threads the server assigns to this application. The application has 3 MDBs and for each of these MDBs, we need to assign a weight so that that the available threads are distributed among the 3 MDBs according to the weight.
After going through the Weblogic documentation, it looks like I could create 3 work managers with the min. threads, max. threads and fair share. These work managers could be assigned to each of the MDBs. But, this does not control the total number of threads the server assigns to the application.
Question:
Is there a way we can create a work manager with the min. threads and max. threads and assign it to the whole application? This could be used to control the min./max. threads assigned to the application. Then we could define 3 work managers with the fair share and assign them to the individual MDBs.

Hi ,
You can create a work manager with min. threads and max. threads constraints defined. Check this:
http://www.oracle.com/technetwork/articles/entarch/workload-management3-087769.html
Thanks,
Sharmela

Similar Messages

  • Can't Find Custom Work Manager For Resource Adapter

    I'm creating an inbound resource adapter and wish to throttle the number of connections via a custom work manager.
    If I understand the BEA docs, I can declare and define a resource adapter's work manager inside of its entry in weblogic-ra.xml .
    For example:
    <?xml version = "1.0"?>
    <weblogic-connector xmlns="http://www.bea.com/ns/weblogic/90">
    <jndi-name>InboundRA</jndi-name>
    <!-- WM declared below -->
    <work-manager>
         <name>CustomWM</name>
         <max-threads-constraint>
    <name>maxthreads</name>
         <count>3</count>
         </max-threads-constraint>
    </work-manager>
    However, upon startup I see :
    <BEA-002919> <Unable to find a WorkManager with name CustomWM . Dispatch policy CustomWM will map to the default WorkManager for the application appsdirCustom_ear> .
    So it uses the default work manager.

    Well, I did it again. Solved my own problem two hours after I posted it. Which, I guess, is better than not solving it.
    I mistakenly thought that the <work-manager> entry in weblogic-ra.xml is a declaration. It is apparently a reference.
    I declared a WorkManager of the same name in the WLS 9 console, restarted the server, and it appears that I am now using the custom work manager.
    The max-threads constraint also works.

  • Why no min/max height?

    Since I've started creating responsive content with Edge, once thing has really bugged me - and that's the omission of a Min H and Max H alongside Min W and Max W. I've been told it's not necessary as height can be constrained to width, but I still find myself needing it.
    Two scenarios I've frequently come across:
    • An object is set to 100% width. When a window is resized to a landscape orientation, I want an object's maximum width dictated by it's height to prevent it taking up too much space in the layout. For example, in portrait layout it may be W100%, H10% - turn that to landscape and it might become W100%, H60% if I've constrained the proportions. I want to be able to cap it at say H30%, so after a certain point it's just the width that changes and not the height.
    • I have a series of square images nested within a horizontal scrollable div. I want these images to stay in proportion but always fill to H100% of the container div, regardless of its shape (portrait, landscape). It seems to simple but I just can't make it work without a min/max H functionality.
    Can anyone explain why this feature is missing?
    Thanks

    As you know, IE doesn't support min/max-height/width.
    With regard to HEIGHT, you can work around IE's lack of support for min-height since the way that IE deals with an explicit height is as if it were min-height.  For example, if you have this CSS:
    #foo { min-height:250px; }
    you can *hack* a fix for IE like this -
    #foo {
         min-height:250px;
         _height:250px;
    The "_height" style is ignored by all browsers except IE<8.  For those versions of IE that 'read' that style, they interpret it as 'height' and since IE treats an explicit height value as if it were 'min-height' you are set.  Another way (and a cleaner way in my opinion) would be to add an IE conditional comment to the page, e.g.,
    <!--[if lte IE 7]>
    <style>
    #foo {
         height:250px;
    </style>
    <![endif]-->
    That takes care of min-height.
    The solutions for max-height or min/max-width are not so simple.  Google for IE CSS calculations to see how you might approach them.

  • Fair share request class usage

    Hi,
    Here are my doubts regarding the fair share request class usage
    1->I have only one custom work manager with fair share value configured as 100 (value between 1 to 1000 as per oracle docs), will the remaining request share goes to default work manager ? or the fair share request class should be configured only with multiple custom work manager as to be shared between them ?
    2->If i have 2 custom work manager with fare share value 100, 50. whats the meaning with respect to sharing the request ? again will default work manager comes into picture for remaining share ?
    Please help
    Thanks,
    Sandeep

    Maybe this is of some help: Re: SelfTuningWorkManager

  • How to find out Max threads count for Custom Work Manager??

    Hi All,
    How to find out Max threads count for Custom Work Manager??
    I have created 1 WM & targeted it to a cluster of 2 MS. Later I created Max thread Constraint = 300 & assigned that to my WM.
    I need to check how many threads maximum were created by my WM after lets say 1 completed day.
    The idea behind that is to understand if .. 300 is enough or need to increase the same way as we do it for JDBC datasource like.. Active connections Max count.. etc.
    Any Idea?
    regards,
    Tanmay

    Hi Ashish,
    Thanks for your response.
    The monitoring page that you are suggesting does not indicate the max thread count reached for a particular WM.
    For example, If I have Sample WM with 300 Max Thread Constraint, is there a way for me to check how many threads have been used out of 300??
    Any pointers in this regard are appreciated.
    Thanks,
    Tanmay

  • Setting Webserver max-threads in Weblogic

    Hi all!
    I'm porting an application from Tomcat which uses max-threads to set up the number of maximum concurrent connections to the web server.
    I see Oracle Weblogic uses Workmanager instead, but what is the correct way to assign a WorkManager with a MaxThreadsConstraint to the Web server ? (or if it's not possible to the Web server to a Web application)
    Thanks
    Frank

    Assuming that you are porting the application to Weblogic server,if you want to set maximum concurrent connections on the weblogic server,you could configure a workmanager with MaxThreadConstraints.You can either create a Global Workmanager or a scoped work manager on the basis of your requirement.
    Please refer to the below link to understand the difference between both and how to go about configuring them:-
    http://docs.oracle.com/cd/E11035_01/wls100/config_wls/self_tuned.html
    http://docs.oracle.com/cd/E11035_01/wls100/config_wls/self_tuned.html#wp1064810
    Now,if you want say for example only 10 concurrent requests on any managed server instance at any point of time,you could configure a Global manager with "Max Threads Constraint" of 10 and target it to the specific instance.
    Hope this helps!
    -Sandeep

  • Tuning the good number of thread with Work Manager?

    Hi,
    I search some best practice or experience return on the max thread number on a weblogic managed server
    I try to explain: with WLS 8.1 and execute queue it was hard to tune the good number of thread but possible (with some processor and for an application we find that after 30 concurrent thread, there's lower performance because of switch on processeur, for others it was 45 for example)
    Now i can see sometimes more than 500 thread on one JVM and it seem to be very much for me!!
    we face some problem of response time in PRODUCTION, i can see sometimes more than 100 Stuck thread on a resource, so i think it's the reason of bad response time. But with Work Manager, it increase the number of thread to accept others request and the CPU stay at acceptable level (less than 50%) because the stuckthread are do nothing (waiting for resource)
    So i don't understand the good tuning to apply since WorkManager...ok it isn't normal to have a lot of stuck thread but if there's no matter about the max number of thread, is it useful to stop and restart managed server?
    do you think we can have have bad performance if there's a lot of thread?
    thank you for your experience return. If you have no idea just tell me how much thread you can see on your managed server in Production.

    up, up...
    we have always the same probleme in production: 50 stuck thread on each JVM since 15 days....
    the manages serveurs are in warning but don't seem to be disturb cause the work manager add more threads dynamicaly.
    Anyone have idea if this situation is a probleme for response time on other request ?
    reboot managed solve this situation but i would like to understand the consequence of this situation.
    thanks a lot for your experience.

  • FF9 - can i hide window control buttons in titlebar (min, max, close) with userchrome.css?

    I use FF9. In userscript.css i hide titlebar and orange app button, but window control buttons still visible! I just can`t find working script.
    I dont need min-max-close button and wont to hide it without extension if possible.
    Here is screenshort:
    http://s018.radikal.ru/i522/1201/50/f6a6ea445507.jpg

    Try this code in userChrome.css below the default @namespace line.
    *http://kb.mozillazine.org/userChrome.css
    The customization files userChrome.css (interface) and userContent.css (websites) are located in the chrome folder in the user profile folder.
    *http://kb.mozillazine.org/Editing_configuration
    <pre><nowiki>*http://www.mozilla.org/en-US/firefox/channel/
    #titlebar-buttonbox { display:none!important; }
    </nowiki></pre>

  • Min / Max / Exit   controls on the top-right not showing up

    I just noticed this ... I have two installs of LRv1 ... and what is strange is on one copy the Min / Max / Exit controls on the top-right is not showing up. On the other it is.
    The one that the Min / Max / Exit is "there" is a clean install in WinXP ... but is a older computer.
    The one that does not have it ... is the one I ran the beta on. But, I did uninstall the beta4 "first" before I installed v1.
    * I don't use those controls on the top-right ... so it does not bother me ... but, it would be nice to know the fix.
    HG

    Sean,
    YOU are the MAN!
    It worked like a charm ... made me feel dumb.
    * It does seem so easy ... when someone tells you "exactly' what to do ... LOL
    I am going to be soo glad when my LR book arrives :)
    It kinda fooled me because ... normally I don't have the menu bar up.
    Thank you,
    HG

  • WebLogic Max Threads

    Hello!
    In Tomcat we can specify the attributes of Connector in conf/server.xml like maxThreads, minSpareThreads,maxSpareThreads to control the Thread Pool.
    How we can do this in Weblogic? Which is the default value of max threads?
    thanks a lot
    A.

    Hi,
    Which Version of WLS are u using? Because till WLS 8.1 We can use Execute Queue Concept to adjust that. We can use " -Dweblogic.ThreadPoolSize=100" JAVA_OPTIONS to do this in WLS8.
    But from WLS 9.x onwards we have a new concept called as WorkManager (Which is even recommended). Using this u can assign the MaxThread Constraint not only to the Server ...even u can do it at Application level now.
    Please refer to: http://jaysensharma.wordpress.com/workmanagers/ to know how to do it.
    <font color=red>NOTE: </font> for any reason if you dont want to use WorkManager thing in your Domain then Please apply the Following JAVA_OPTIONS to use the Old (WLS8.1) Style of Thread Pooling Mechanism:
    -Dweblogic.Use81StyleExecuteQueues=true
    and
    -Dweblogic.ThreadPoolSize=100
    Thanks
    Jay SenSharma

  • Weblogic 10.3 : Work manager is not getting assigned to a application

    Hi,
    i have assigned a work manager to an application in weblogic-application.xml and able to see that under Deployments
    -> Application name -> Configuration -> Workload tab of weblogic console.
    But while starting server get a warning as
    <Dec 17, 2008 9:45:16 AM IST> <Warning> <WorkManager> <BEA-002919> <Unable to find a WorkManager with name RealWorkManager. Dispatch policy RealWorkManager will map to the default WorkManager for the application SmpMain>
    Can some one help me out how to assign a work manager to a application.
    Thanks,
    Smita

    Thanks for your help.
    When i created a work manager from Deployments -> Configuration -> Workload -> New and the new Work Manager appears in the Application-Scoped Work Managers table. But was not able to see that in Monitering -> Workload Work managers table. Why is that so?
    Regards,
    Smita

  • How to  declare worker manager when using ejb-gen (weblogic 9.x)

    I want to declare a local worker manager for one of my application.
    My ejb-jar.xml file is generated with ejbgen, and I can't find anything related to worker manager declaration in ejbgen documentation
    Is it possible to achieve this configuration requirement ?
    Thanks.

    Hi,
    Create a WorkManager from AdminConsole with name *"MyWorkManager"*. then add the following Annotation in your EJBGen Ejb.
    Try the Annotation Like this:
    import weblogic.ejbgen.Session;
    @Session( <font color=red><b>dispatchPolicy = "MyWorkManager"</b></font>, ejbName = "TestSB")
    Thanks
    Jay SenSharma
    http://jaysensharma.wordpress.com (WebLogic Wonders Are Here)

  • Ring Control/Indicator Min/Max Values

    Is there a simple way to retrieve the minimum and maximum values of a Ring control or indicator?
    I'm not looking for "Data Entry Limits", so that hasn't been useful.  The only thing I've been able to do is use the "Strings And Values []" array, however even THAT is problematic, as it returns an array of clusters.  To use "Array Max & Min", I have to use a for loop to index the array, and create a new array of just the Values.
    Is there either a way to just get the Min & Max, or an easier way to get an array of the values?  Ring controls have both a "Strings []" and  "Strings and Values []" property, why don't they have just a "Values []" property?  Perhaps there's a way to UN-Index and UN-Bundle a Cluster Array?
    I'm using LabVIEW 8.5.
    Attachments:
    RangeTest.vi ‏15 KB

    I agree with you that a reverse of "index and bundle cluster array" could come in handy.  I am pretty sure that the way you are solving this problem is the best.  The only other way to solve it I can think of is to convert the array of clusters to a variant data type and then flatten this to a string and parse the string for the data.  This way is a  lot more cumbersome and does not get around having to use a loop.  Maybe someone else can think of a better way, I am interested to hear if there is.
    CLA, CLED, CTD,CPI, LabVIEW Champion
    Platinum Alliance Partner
    Senior Engineer
    Using LV 2013, 2012
    Don't forget Kudos for Good Answers, and Mark a solution if your problem is solved.

  • Defining application-scoped work manager in Plan.xml

    I am having trouble getting my MDBs to recognize work managers that I have defined in my deployment plan using the admin console.
    The work managers show up properly when I click the deployed application and go to the Deployments->myapp.ear->Configuration->Workload tab. They do not show up, however on the Deployments->myapp.ear->Monitoring->Workload tab.
    Also, when the server boots, I get a log message like this:
    <BEA-002919> <Unable to find a WorkManager with name FaxErrorQueue. Dispatch policy FaxErrorQueue will map to the default WorkManager for the application care360-backend-app-2008>even though FaxErrorQueue shows up under Configuration->Workload.
    BACKGROUND
    I am upgrading an 8.1 wls to 10MP1. Our MDBs are deployed as a single jar, included in 2 separate ears, which are deployed to 2 separate clusters. So, if we have 2 clusters with 2 managed servers in each cluster, we deploy each MDB to all 4 servers. We control the Execute Queues for each server in 8.1 with different values so that MDB#1 might have a single thread in one managed server and zero execute threads on another. Using the deployment plan is the only way I can think of to implement this. We would prefer not to use the 8.1 emulation, as the deprecated execution queues will have to be dealt with eventually. I am open to any other approaches to accomplish this as well.
    Thanks,
    Joe

    Hello Fred,
    Thank you very much for reply.
    I totally agree with you but in my scenario, I have multiple domains on a single box.
    and I am afraid that there could be a situation where one bad application of a particular domain may take most of the CPU usages.
    What I can do is: I can define max thread constrain to all the applications of all the domains but it is not acceptable bcz we have hundreds of applications per domain.
    So what I want is: to define some kind of thread constrain at the domain level [so that I can have CPU usages allocated to every domain] as well as some kind of thread constrain to few applications [non prioritize].
    I tried this by defining Global Work Managers & Application-scoped Work Managers but I found that applications only respect to Application-scoped Work Managers.
    or if I have some kind of way that make sure certain percentage of CPU usages is allocated to a particular domain?
    hope I have made my self clear.
    Thanks,
    Qumar

  • Java heap size error Work manager

    Hi,
      We are working with Work Manager 6.0 running on SMP 2.3 SP03.
    The application was working fine, but after the data load that has happened in the UAT
    System, we are getting the below error:
    2014/08/08 00:48:56.142:
    setImportParameters::STORAGE_REF_KEY=ET_COMPLEX_TABLE
    2014/08/08 00:48:56.143:               + User=TS_MAINTMGR
    2014/08/08 00:48:56.143:                 execute::::TS_MAINTMGR::before
    BAPI execute: /SMERP/MM_CTMATPLANT_GET
    2014/08/08 00:55:20.905:             + BackEnd=Java-1
    2014/08/08 00:55:20.905:               Exception while updating complex
    table 'ctpart': JavaBackEndError: JAVA EXCEPTION CAUGHT:
    java.lang.OutOfMemoryError: Java heap space in
    AgentryJavaComplexTableIterator::hasNext at
    AgentryJavaComplexTableIterator.cpp:52
    2014/08/08 00:55:21.099: + Thread=6588
    2014/08/08 00:55:21.099:   + Thread Pool=Server
    2014/08/08 00:55:21.099:     + WorkFunction=00000000020DEF90
    2014/08/08 00:55:21.099:       + User=TS_MAINTMGR
    2014/08/08 00:55:21.099:         + User=TS_MAINTMGR
    2014/08/08 00:55:21.099:           Received Logout Request message 18
    status changed to 'In Progress'
    2014/08/08 00:55:21.105:         Logged out (but not yet cleaned up)
    We tried to increase the min and max heap size from 256 / 512 to 512 /
    2048 respectively in Agentry.ini, but are still getting the same error.
    Please let us know if there is any other parameter which can be used to
    fine tune this and get this up and running,
    Thanks for the help.

    Raviraj,
    Are you working with Boopaln?  The reason why I as He posted the same error (in the same complex table) With the same changes but just a different user shown.
    If yes. please see that thread at:  JAVA Heap Size Error in SAP Work Manager

Maybe you are looking for

  • Tiling Marks in Illustrator- PLEASE HELP

    Hi, I'm trying to tile a large graphic in Illustrator CS4. Printing it is fine. It tiles fine. The problem is getting marks on each page so I can put the thing together properly. I'm working with many sheets so I need some sort of reference for the t

  • Problem with Intrastat handling (MEIS)

    Dear SCN Members, we have a problem with Intrastat handling: Our company is in Great Britain (example VAT-No. GB123456789) We have a vendor in Switzerland (no EU VAT-No.), who has a fiscal representative in Belgium (example VAT-No. BE1234567890). Bot

  • Sign-In msg:  iTunes is temporarily not available. Please try again later.

    I cannot sign into iTunes with my PC since downloading update.  The store loads, but I cannot sign in.  The message says: Itunes is temporarily not available.  Please try again later.   I have windows 7 pro, 64 bit, an authorized computer, and downlo

  • Messages "Operation timed out" when connecting to gchat

    anyone else having this problem?  Is it a bug? All my other chat accounts are connecting, but for some reason I can't get my google buddies!

  • Limit number of characters in a textbox

    I'm trying to limit the number of characters a user can enter into the text box on a form.   Any help is appreciated.