Instance Pooling

Discussions

EJB programming & troubleshooting: Instance Pooling

  1. Instance Pooling (1 messages)

    hi all,

    I am using Weblogic 8.1, where to specify the pool size in the server. I referred BEA's site, they said it has to be in the weblogic-ejb-jar.xml. Can any one give me the xml tags for specifing the pool size for stateful session beans.
    for (e.g)
    my Server pool size should be 2.

    regards
    Sundaram.

    Threaded Messages (1)

  2. Hi,
    The tags are
     <caching-descriptor>
    <max-beans-in-free-pool>10</max-beans-in-free-pool>
    <max-beans-in-cache>10</max-beans-in-cache>
    <idle-timeout-seconds>30</idle-timeout-seconds>
        </caching-descriptor>

    Thanks,
    Badrish