Changeset 2310
- Timestamp:
- 08/05/09 15:37:14
- Files:
-
- branches/douglm/build/quickstart/build.xml (modified) (3 diffs)
- branches/douglm/build/quickstart/run-crawler.xml (added)
- branches/douglm/build/quickstart/run-inoutscheduler.xml (added)
- branches/douglm/build/quickstart/run-logger.xml (added)
- branches/douglm/config/bwbuild/default/cal.options.xml (modified) (1 diff)
- branches/douglm/config/bwbuild/default/cal.properties (modified) (2 diffs)
- branches/douglm/deployment/bwcrawler/shellscr/resources/bwrun.sh (modified) (2 diffs)
- branches/douglm/deployment/scheduler (added)
- branches/douglm/deployment/scheduler/shellscr (added)
- branches/douglm/deployment/scheduler/shellscr/appjars.xml (added)
- branches/douglm/deployment/scheduler/shellscr/build.xml (added)
- branches/douglm/deployment/scheduler/shellscr/resources (added)
- branches/douglm/deployment/scheduler/shellscr/resources/bwrun.bat (added)
- branches/douglm/deployment/scheduler/shellscr/resources/bwrun.sh (added)
- branches/douglm/deployment/scheduler/shellscr/resources/jndi.properties (added)
- branches/douglm/deployment/scheduler/shellscr/resources/log4j.xml (added)
- branches/douglm/deployment/sysevlog/shellscr/resources/bwrun.bat (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/douglm/build/quickstart/build.xml
r2298 r2310 21 21 <import file="${bedework.quickstart.basedir}/run-dir.xml" /> 22 22 <import file="${bedework.quickstart.basedir}/install.xml" /> 23 24 <!-- Bedework services --> 25 <import file="${bedework.quickstart.basedir}/run-logger.xml" /> 26 <import file="${bedework.quickstart.basedir}/run-crawler.xml" /> 27 <import file="${bedework.quickstart.basedir}/run-inoutscheduler.xml" /> 23 28 24 29 <target name="README" depends="init" … … 246 251 <antcall target="dirstart" inheritrefs="true" /> 247 252 <antcall target="hsqldb" inheritrefs="true" /> 253 248 254 <sequential> 249 255 <waitfor maxwait="3" maxwaitunit="minute" checkevery="250"> 250 256 <socket server="localhost" port="10389"/> 251 257 </waitfor> 252 <antcall target="tomcatstart" inheritrefs="true" /> 258 259 <parallel> 260 <!-- Start the bedework non-web services --> 261 <antcall target="start-logger" inheritrefs="true" /> 262 <antcall target="start-crawler" inheritrefs="true" /> 263 <antcall target="start-inoutscheduler" inheritrefs="true" /> 264 265 <antcall target="tomcatstart" inheritrefs="true" /> 266 </parallel> 253 267 </sequential> 254 268 </parallel> … … 256 270 257 271 <!-- ================================================================= 258 The "start-debug" target starts all quickstart components except tomcat272 The "start-debug" target starts the quickstart infrastructure components 259 273 ================================================================= --> 260 274 branches/douglm/config/bwbuild/default/cal.options.xml
r2305 r2310 445 445 <debugEntity>false</debugEntity> 446 446 </sysevlog> 447 448 <!-- ================================================================== 449 In/outbox scheduler program 450 ================================================================== --> 451 <iosched classname="org.bedework.calfacade.configs.BwCrawlerConfig"> 452 <debug>true</debug> 453 <appType>inoutsched</appType> 454 <guestMode>true</guestMode> 455 <debugEntity>false</debugEntity> 456 </iosched> 447 457 </app> 448 458 </bedework> branches/douglm/config/bwbuild/default/cal.properties
r2305 r2310 19 19 org.bedework.install.app.names=tzsvr,bwconfig,CalAdmin,EventSubmit,Events,\ 20 20 SoEDept,UserCal,Pubcaldav,Usercaldav,caldavTest,test,dumpres,bwcrawler,\ 21 sysevlog 21 sysevlog,iosched 22 22 23 23 # … … 412 412 org.bedework.app.sysevlog.description=Bedework system events logger application 413 413 414 # 415 # -------------------------------------------------------------------- 416 # 417 # In/outbox scheduler 418 # 419 420 org.bedework.app.iosched.project=calendarapi 421 org.bedework.app.iosched.sou.dir= 422 org.bedework.app.iosched.shellscr.name=bwrun 423 org.bedework.app.iosched.batscr.name=bwrun.bat 424 org.bedework.app.iosched.zip.name=bwiosched 425 org.bedework.app.iosched.description=Bedework In/outbox scheduler application 426 branches/douglm/deployment/bwcrawler/shellscr/resources/bwrun.sh
r2271 r2310 23 23 case "$1" in 24 24 reindex) 25 echo $RUNCMD -appname $APPNAME $2 $3 $4 $5 $6 $7 $8 $9 26 $RUNCMD -appname $APPNAME $2 $3 $4 $5 $6 $7 $8 $9 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 ;; 28 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 27 31 ;; 28 32 *) … … 30 34 echo $"Usage: " 31 35 echo $" $0 reindex [(-ndebug | -debug)] " 32 echo $" Reindex the system" 36 echo $" Reindex the system then process queue events" 37 echo $" $0 start [(-ndebug | -debug)] " 38 echo $" Process queue events" 33 39 echo $" " 34 40 esac branches/douglm/deployment/sysevlog/shellscr/resources/bwrun.bat
r2305 r2310 1 1 :: Run the bedework system event logger program 2 :: First arg defines the action, dump, restore etc3 :: Second arg should be the filename4 2 5 3 :: JAVA_HOME needs to be defined … … 26 24 ECHO. 27 25 ECHO. 28 ECHO Bedework Database Tools26 ECHO Bedework Scheduler Task 29 27 ECHO ----------------------- 30 28 ECHO. 31 29 32 30 :branch 33 if "%1" == "dump" GOTO dump 34 if "%1" == "restore" GOTO restore 35 if "%1" == "restore-for-quickstart" GOTO restore-for-quickstart 36 if "%1" == "backup" GOTO backup 37 if "%1" == "initdb" GOTO initdb 38 if "%1" == "newsys" GOTO newsys 39 if "%1" == "drop" GOTO drop 40 if "%1" == "drop-export" GOTO drop-export 41 if "%1" == "schema" GOTO schema 42 if "%1" == "schema-export" GOTO schema-export 31 if "%1" == "start" GOTO start 43 32 44 33 :usage
