[Batchserver-cvs] batchserver/conf batch-config.xml, 1.2, 1.3 framework-config.xml, 1.2, 1.3
Brought to you by:
suresh_pragada
From: Suresh <sur...@us...> - 2006-09-15 19:54:26
|
Update of /cvsroot/batchserver/batchserver/conf In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv14632 Modified Files: batch-config.xml framework-config.xml Log Message: no message Index: framework-config.xml =================================================================== RCS file: /cvsroot/batchserver/batchserver/conf/framework-config.xml,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** framework-config.xml 15 Sep 2006 06:22:16 -0000 1.2 --- framework-config.xml 15 Sep 2006 19:54:24 -0000 1.3 *************** *** 1,5 **** <?xml version="1.0" encoding="UTF-8"?> <framework-config> ! <job-config-factory-config job-config-factory-class-name="org.jmonks.batchserver.framework.config.xml.XMLJobConfigFactory"> <property key="job-config-file-classpath-location">batch-config.xml</property> </job-config-factory-config> --- 1,5 ---- <?xml version="1.0" encoding="UTF-8"?> <framework-config> ! <job-config-factory-config job-config-factory-class-name="org.jmonks.batch.framework.config.xml.XMLJobConfigFactory"> <property key="job-config-file-classpath-location">batch-config.xml</property> </job-config-factory-config> *************** *** 7,11 **** Following is the sample configuration to read the job configuration from the database. ! <job-config-factory-config job-config-factory-class-name="org.jmonks.batchserver.framework.config.db.DBJobConfigFactory"> <property key="jdbc-driver-class-name">oracle.jdbc.driver.OracleDriver</property> <property key="jdbc-url">jdbc:oracle:thin:@hostname:1521:instancename</property> --- 7,11 ---- Following is the sample configuration to read the job configuration from the database. ! <job-config-factory-config job-config-factory-class-name="org.jmonks.batch.framework.config.db.DBJobConfigFactory"> <property key="jdbc-driver-class-name">oracle.jdbc.driver.OracleDriver</property> <property key="jdbc-url">jdbc:oracle:thin:@hostname:1521:instancename</property> *************** *** 14,31 **** </job-config-factory-config> --> ! <repository-config repository-class-name="org.jmonks.batchserver.framework.repository.db4o.Db4oRepository"> <property key="db4o-filename">/batchserver/repository/batchserver_repository.db</property> </repository-config> <framework-logging-config framework-logging-level="DEBUG" job-logging-directory="/batchserver/logs" job-base-package-name="com.mycompany.batch" job-logging-level="INFO"/> ! <job-connector-config job-connector-helper-class-name="org.jmonks.batchserver.framework.management.jmxmp.RepositoryJMXMPConnectorHelper"> </job-connector-config> <job-controller-config> ! <job-controller controller-class-name="org.jmonks.batchserver.framework.controller.pool.PoolJobController" ! xml-factory-config-class-name="org.jmonks.batchserver.framework.config.xml.XMLPoolJobControllerConfig" ! db-factory-config-class-name="org.jmonks.batchserver.framework.config.db.DBPoolJobControllerConfig"/> ! <job-controller controller-class-name="org.jmonks.batchserver.framework.controller.basic.BasicJobController" ! xml-factory-config-class-name="org.jmonks.batchserver.framework.config.xml.XMLBasicJobControllerConfig" ! db-factory-config-class-name="org.jmonks.batchserver.framework.config.db.DBBasicJobControllerConfig"/> </job-controller-config> </framework-config> \ No newline at end of file --- 14,31 ---- </job-config-factory-config> --> ! <repository-config repository-class-name="org.jmonks.batch.framework.repository.db4o.Db4oRepository"> <property key="db4o-filename">/batchserver/repository/batchserver_repository.db</property> </repository-config> <framework-logging-config framework-logging-level="DEBUG" job-logging-directory="/batchserver/logs" job-base-package-name="com.mycompany.batch" job-logging-level="INFO"/> ! <job-connector-config job-connector-helper-class-name="org.jmonks.batch.framework.management.jmxmp.RepositoryJMXMPConnectorHelper"> </job-connector-config> <job-controller-config> ! <job-controller controller-class-name="org.jmonks.batch.framework.controller.pool.PoolJobController" ! xml-factory-config-class-name="org.jmonks.batch.framework.config.xml.XMLPoolJobControllerConfig" ! db-factory-config-class-name="org.jmonks.batch.framework.config.db.DBPoolJobControllerConfig"/> ! <job-controller controller-class-name="org.jmonks.batch.framework.controller.basic.BasicJobController" ! xml-factory-config-class-name="org.jmonks.batch.framework.config.xml.XMLBasicJobControllerConfig" ! db-factory-config-class-name="org.jmonks.batch.framework.config.db.DBBasicJobControllerConfig"/> </job-controller-config> </framework-config> \ No newline at end of file Index: batch-config.xml =================================================================== RCS file: /cvsroot/batchserver/batchserver/conf/batch-config.xml,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** batch-config.xml 15 Sep 2006 06:22:16 -0000 1.2 --- batch-config.xml 15 Sep 2006 19:54:23 -0000 1.3 *************** *** 2,6 **** <batch-config> <job-config job-name="process_file_abc" job-status="active"> ! <job-controller job-controller-class-name="org.jmonks.batchserver.framework.controller.pool.PoolJobController"> <pool-job-loader pool-job-loader-class-name="com.mycompany.batch.processfileabc.AbcJobLoader"> <property key="pool-job-loader-key1">loader-value1</property> --- 2,6 ---- <batch-config> <job-config job-name="process_file_abc" job-status="active"> ! <job-controller job-controller-class-name="org.jmonks.batch.framework.controller.pool.PoolJobController"> <pool-job-loader pool-job-loader-class-name="com.mycompany.batch.processfileabc.AbcJobLoader"> <property key="pool-job-loader-key1">loader-value1</property> *************** *** 9,13 **** <property key="pool-job-processor-key1">processor-value1</property> </pool-job-processor> ! <job-pool job-pool-class-name="org.jmonks.batchserver.framework.controller.pool.DefaultJobPool"> <property key="job-pool-size">50000</property> </job-pool> --- 9,13 ---- <property key="pool-job-processor-key1">processor-value1</property> </pool-job-processor> ! <job-pool job-pool-class-name="org.jmonks.batch.framework.controller.pool.DefaultJobPool"> <property key="job-pool-size">50000</property> </job-pool> *************** *** 19,24 **** </job-config> <job-config job-name="process_file_xyz" job-status="active"> ! <job-controller job-controller-class-name="org.jmonks.batchserver.framework.controller.basic.BasicJobController"> ! <basic-job-processor basic-job-processor-class-name="org.jmonks.batchserver.framework.controller.basic.TestBasicJobProcessor" thread-count="5"> <property key="processor-config-key1">processor-config-value1</property> </basic-job-processor> --- 19,24 ---- </job-config> <job-config job-name="process_file_xyz" job-status="active"> ! <job-controller job-controller-class-name="org.jmonks.batch.framework.controller.basic.BasicJobController"> ! <basic-job-processor basic-job-processor-class-name="org.jmonks.batch.framework.controller.basic.TestBasicJobProcessor" thread-count="5"> <property key="processor-config-key1">processor-config-value1</property> </basic-job-processor> *************** *** 26,31 **** </job-controller> <job-logging-config> ! <job-logger-config logger-name="org.jmonks.batchserver.framework.controller.basic" logger-level="TRACE"/> ! <job-logger-config logger-name="org.jmonks.batchserver.framework" logger-level="ERROR"/> </job-logging-config> </job-config> --- 26,31 ---- </job-controller> <job-logging-config> ! <job-logger-config logger-name="org.jmonks.batch.framework.controller.basic" logger-level="TRACE"/> ! <job-logger-config logger-name="org.jmonks.batch.framework" logger-level="ERROR"/> </job-logging-config> </job-config> |