Jahia in English > Executed rules at...

0 (0 Good)
0 (0 Bad)

Executed rules at start up time

by  dott_matte »  2013/03/26 15:07

 

Hi all,
 
I have a jahia instance with multiple site.
Sometimes (we have not indentified yet when this happens), during the start up phase, Jahia starts a check and execute some rules.
 
Here some information about installation:
 
The jahia version is 6.6.1.0 CE
Advanced installation with jahia's tomcat + mysql
An example is following:

 

2013-03-26 15:15:33,836: INFO  [RulesListener] - Rules executed for default [deleted /sites/siteA/components/jmix:structuredContent/jnt:myComponent1/j:translation_es, deleted /sites/siteA/components/jmix:structuredContent/jnt:myComponent2/j:translation_de, deleted /sites/siteA/components/jmix:structuredContent/jnt:myComponent3/j:translation_es] ... and 257 other nodes in 21ms
2013-03-26 15:15:34,225: INFO  [DocNumberCache] - size=1024/1024, #accesses=46612, #hits=46580, #misses=32, cacheRatio=100%
2013-03-26 15:16:04,711: INFO  [RulesListener] - Rules executed for default [deleted /sites/siteB/components/jmix:structuredContent/jnt:myComponent2/j:translation_fr, deleted /sites/siteB/components/jmix:structuredContent/jnt:myComponent4/j:translation_es, deleted /sites/siteB/components/jmix:structuredContent/jnt:myComponent5/j:translation_es] ... and 257 other nodes in 22ms
...
 
And so on for each site.
Jahia performs all this rule more times (at least 3 times) before to start.
 
Do you know why jahia does this check?
Is it possible to disable it?

Thank you,

 

--

Matteo

  • Executed rules at start up time
    2013/03/26 15:08

    dott_matte <p> &nbsp;</p> <div> Hi all,</div> <div> &nbsp;</div> <div> I have a jahia instance with multiple site.</div> <div> Sometimes (we have not indentified yet when this happens), during the start up phase, Jahia starts a check and execute some rules.</div> <div> &nbsp;</div> <div> Here some information about installation:</div> <div> &nbsp;</div> <div> The jahia version is 6.6.1.0 CE</div> <div> Advanced installation with jahia&#39;s tomcat + mysql</div> <div> An example is following:</div> <p> &nbsp;</p> <div> 2013-03-26 15:15:33,836: INFO &nbsp;[RulesListener] - Rules executed for default [deleted /sites/siteA/components/jmix:structuredContent/jnt:myComponent1/j:translation_es, deleted /sites/siteA/components/jmix:structuredContent/jnt:myComponent2/j:translation_de, deleted /sites/siteA/components/jmix:structuredContent/jnt:myComponent3/j:translation_es] ... and 257 other nodes in 21ms</div> <div> 2013-03-26 15:15:34,225: INFO &nbsp;[DocNumberCache] - size=1024/1024, #accesses=46612, #hits=46580, #misses=32, cacheRatio=100%</div> <div> 2013-03-26 15:16:04,711: INFO &nbsp;[RulesListener] - Rules executed for default [deleted /sites/siteB/components/jmix:structuredContent/jnt:myComponent2/j:translation_fr, deleted /sites/siteB/components/jmix:structuredContent/jnt:myComponent4/j:translation_es, deleted /sites/siteB/components/jmix:structuredContent/jnt:myComponent5/j:translation_es] ... and 257 other nodes in 22ms</div> <div> ...</div> <div> <div> &nbsp;</div> <div> And so on for each site.</div> <div> Jahia performs all this rule more times (at least 3 times) before to start.</div> <div> &nbsp;</div> <div> Do you know why jahia does this check?</div> <div> Is it possible to disable it?</div> </div> <p> Thank you,</p> <p> &nbsp;</p> <p> --</p> <p> Matteo</p>

  • Number of messages  12
    Registration date Mar 26, 2013
    0 (0 Good)
    0 (0 Bad)

    Re: Executed rules at start up time

    by  shuber »  2013/03/28 07:34

    It seems like you have modules that are being redeployed, maybe you are developing modules and their redeployment is triggering these component updates ?

    Regards,

      Serge Huber.

    Serge Huber (shuber)

    Number of messages  271
    Registration date
    0 (0 Good)
    0 (0 Bad)

    Re: Executed rules at start up time

    by  dott_matte »  2013/03/28 07:56

    Yes, usually we restart jahia to redeploy some modules but:

     

    • we don't define any rules/trigger
    • it doesn't happen every time
    Further, information:
    • The number of sites is hight
    • Each site has a different language
    • Initially we created one site and then we copy it to create the others (obviously we added the content translation)
    • The languages which the rules removed are different from the language of the site (in the example, siteA doesn't have spanish and german)
    • The rules are applied to all site, also when we didn't perform any copy

    This check, IMHO, is correct and necessary, but I don't understand why Jahia is doing it one time yes and one time no (this seems the frequency). Also for the sites that it has already done the previous time.

    Regards,

     

    --
    Matteo

  • Re: Executed rules at start up time
    2013/03/28 07:56

    dott_matte <p> <span style="font-size: 12px;">Yes, usually we restart jahia to redeploy some modules but:</span></p> <p> &nbsp;</p> <ul> <li> we don&#39;t define any rules/trigger</li> <li> it doesn&#39;t happen every time</li> </ul> <div> Further, information:</div> <ul> <li> The number of sites is hight</li> <li> Each site has a different language</li> <li> Initially we created one site and then we copy it to create the others (obviously we added the content translation)</li> <li> The languages which the rules removed are different from the language of the site (in the example, siteA doesn&#39;t have spanish and german)</li> <li> The rules are applied to all site, also when we didn&#39;t perform any copy</li> </ul> <p> This check, IMHO, is correct and necessary, but I don&#39;t understand why Jahia is doing it one time yes and one time no (this seems the frequency). Also for the sites that it has already done the previous time.</p> <p> <span style="font-size: 12px;">Regards,</span></p> <p> &nbsp;</p> <p> --<br /> <span style="font-size: 12px;">Matteo</span></p>

  • Number of messages  12
    Registration date Mar 28, 2013
    Contact
    Share
    Feedback

    Get in touch

    Whether you are a current user or if you are just evaluating Jahia, we are here to help.

    Contact us

    Share this page