Changeset 2420

Show
Ignore:
Timestamp:
12/02/09 11:50:54
Author:
douglm
Message:

Many updates to indexer crawler code to keep track of threads

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/deployment/indexer/shellscr/resources/bwrun.sh

    r2342 r2420  
    1616mkdir $TEMPDIR 
    1717 
     18mkdir logs 
     19 
    1820RUNCMD="$JAVA_HOME/bin/java -Djava.io.tmpdir="$TEMPDIR" -cp $cp org.bedework.indexer.BwIndexApp" 
    1921 
     
    2325case "$1" in 
    2426  reindex) 
    25     echo $RUNCMD -appname $APPNAME reindex $2 $3 $4 $5 $6 $7 $8 $9 
    26     $RUNCMD -appname $APPNAME reindex $2 $3 $4 $5 $6 $7 $8 $9 
     27    echo $RUNCMD -appname $APPNAME -crawl -listen $2 $3 $4 $5 $6 $7 $8 $9 
     28    $RUNCMD -appname $APPNAME -crawl -listen $2 $3 $4 $5 $6 $7 $8 $9 
     29    ;; 
     30  reindex-nostart) 
     31    echo $RUNCMD -appname $APPNAME -crawl $2 $3 $4 $5 $6 $7 $8 $9 
     32    $RUNCMD -appname $APPNAME -crawl $2 $3 $4 $5 $6 $7 $8 $9 
    2733    ;; 
    2834  start) 
    29     echo $RUNCMD -appname $APPNAME start $2 $3 $4 $5 $6 $7 $8 $9 
    30     $RUNCMD -appname $APPNAME start $2 $3 $4 $5 $6 $7 $8 $9 
     35    echo $RUNCMD -appname $APPNAME -listen $2 $3 $4 $5 $6 $7 $8 $9 
     36    $RUNCMD -appname $APPNAME -listen $2 $3 $4 $5 $6 $7 $8 $9 
    3137    ;; 
    3238  *) 
    3339    echo $" " 
    3440    echo $"Usage: " 
    35     echo $"  $0 reindex [(-ndebug | -debug)]
     41    echo $"  $0 reindex
    3642    echo $"     Reindex the system then process queue events" 
    37     echo $"  $0 start [(-ndebug | -debug)] " 
     43    echo $"  $0 reindex-nostart " 
     44    echo $"     Reindex the system. Do not process queue events" 
     45    echo $"  $0 start" 
    3846    echo $"     Process queue events" 
    3947    echo $" " 
  • trunk/deployment/indexer/shellscr/resources/log4j.xml

    r2342 r2420  
    120120   </category> 
    121121 
     122   <category name="org.bedework.calcore.AccessUtil"> 
     123     <priority value="INFO"/> 
     124   </category> 
     125 
     126   <category name="org.bedework.calcore.hibernate.CalintfImpl"> 
     127     <priority value="INFO"/> 
     128   </category> 
     129 
    122130   <!-- Set rpi categories --> 
    123131   <category name="edu.rpi">