Setting ServletReloadCheckSecs programatically - Weblogic

This is a discussion on Setting ServletReloadCheckSecs programatically - Weblogic ; Hello, In config.xml, under Domain->Application->WebAppComponent, there is an attribute called ServletReloadCheckSecs that is used by weblogic to decide whether to check a war file for update and how frequent should the check be. The default is 1 sec. The only ...

+ Reply to Thread
Results 1 to 2 of 2

Thread: Setting ServletReloadCheckSecs programatically

  1. Setting ServletReloadCheckSecs programatically

    Hello,

    In config.xml, under Domain->Application->WebAppComponent, there is an
    attribute called ServletReloadCheckSecs that is used by weblogic to
    decide whether to check a war file for update and how frequent should
    the check be. The default is 1 sec.

    The only way to change this number, short of editing config.xml after
    deployment, is to use the console. Does anyone know how to set this
    programatically? Like as an argument to weblogic.Deployer or as an
    attribute in web.xml?

    Thanks,
    Chishun Kwong

  2. Re: Setting ServletReloadCheckSecs programatically


    "Chishun Kwong" wrote in message
    news:207bb07d.0307170950.49bdc5bb@posting.google.c om...
    > Hello,
    >
    > In config.xml, under Domain->Application->WebAppComponent, there is an
    > attribute called ServletReloadCheckSecs that is used by weblogic to
    > decide whether to check a war file for update and how frequent should
    > the check be. The default is 1 sec.
    >
    > The only way to change this number, short of editing config.xml after
    > deployment, is to use the console. Does anyone know how to set this
    > programatically? Like as an argument to weblogic.Deployer or as an
    > attribute in web.xml?
    >
    > Thanks,
    > Chishun Kwong


    In web.xml adding the following should work for you


    weblogic.servlet.reloadCheckSecs
    -1


    If you are using weblogic 7.x or 8.1 you can alternatively set this
    parameter in weblogic.xml
    http://e-docs.bea.com/wls/docs81/web...l.html#1038823


    -1


    hope that helps
    --
    Nagesh




+ Reply to Thread