Tuesday, November 26, 2013

Testing AM Activation and Passivation

The Application Module activation and passivation phenomenon can't be practically tested with default AM parameters as shown below. This is because the passivation happen only when a fresh AM instance can't be acquired from the pool. The max pool size is 4096 by default.

We can set the parameters to certain values which will enforce the passivation to happen every time a fresh instance of AM is required. The activation will happen when the client which was using the AM instance that got passivated comes back with a request to access AM. 



  Alternatively we can disable application module pooling in which case, regardless of the pool sizes passivation and activation happens everytime an AM instance is requested.


If a user wants passivation to happen everytime an AM instance state is changed, so that in case we have our Application Server in failover mode, we can achieve that by setting jbo.dofailover = true.


1 comment:

  1. Did you know there is a 12 word sentence you can say to your man... that will trigger deep feelings of love and impulsive appeal to you buried within his chest?

    That's because hidden in these 12 words is a "secret signal" that triggers a man's instinct to love, worship and guard you with his entire heart...

    =====> 12 Words Who Trigger A Man's Desire Impulse

    This instinct is so hardwired into a man's genetics that it will make him try harder than before to love and admire you.

    Matter-of-fact, triggering this dominant instinct is so essential to achieving the best possible relationship with your man that the moment you send your man one of the "Secret Signals"...

    ...You'll instantly notice him expose his soul and mind for you in such a way he haven't experienced before and he will recognize you as the only woman in the universe who has ever truly fascinated him.

    ReplyDelete