배치작업관리 에러 확인 부탁드립니다.
- 작성자 :
- 서*교
- 작성일 :
- 2011-01-21 14:19:56
- 조회수 :
- 3,147
- 구분 :
- 실행환경
- 진행상태 :
- 완료
Q
배치작업관리 기능 사용할려고 제우스에 올려서 테스트 해볼려고 하는데
첨부된 파일과 같은 에러가 발생하였습니다.
아래와 같은 class가 존재하지 않아서 에러가 발생한것 같은데요
egovBatchOpertIdGnrService
egovBatchSchdulIdGnrService
egovBatchResultIdGnrService
에러 확인 부탁드립니다.
EgovBatchOpertController.java ==>
/** ID Generation */
@Resource(name="egovBatchOpertIdGnrService")
private EgovIdGnrService idgenService;]
eGovBatchSchdulColtroller.java ==>
/** ID Generation */
@Resource(name="egovBatchSchdulIdGnrService")
private EgovIdGnrService idgenService;
context-schedul.xml ==>
<!-- 배치관리 스케줄러 -->
<bean id="batchScheduler" class="egovframework.com.sym.bat.service.BatchScheduler"
init-method="init" destroy-method="destroy">
<property name="egovBatchSchdulService" ref="egovBatchSchdulService"/>
<property name="idgenService" ref="egovBatchResultIdGnrService"/>
</bean>
첨부된 파일과 같은 에러가 발생하였습니다.
아래와 같은 class가 존재하지 않아서 에러가 발생한것 같은데요
egovBatchOpertIdGnrService
egovBatchSchdulIdGnrService
egovBatchResultIdGnrService
에러 확인 부탁드립니다.
EgovBatchOpertController.java ==>
/** ID Generation */
@Resource(name="egovBatchOpertIdGnrService")
private EgovIdGnrService idgenService;]
eGovBatchSchdulColtroller.java ==>
/** ID Generation */
@Resource(name="egovBatchSchdulIdGnrService")
private EgovIdGnrService idgenService;
context-schedul.xml ==>
<!-- 배치관리 스케줄러 -->
<bean id="batchScheduler" class="egovframework.com.sym.bat.service.BatchScheduler"
init-method="init" destroy-method="destroy">
<property name="egovBatchSchdulService" ref="egovBatchSchdulService"/>
<property name="idgenService" ref="egovBatchResultIdGnrService"/>
</bean>
A
안녕하세요.. 서현교님..
해당 서비스들은 배치 작업 중 ID를 생성하기 위한 ID Generation 서비스입니다.
context-schedul.xml과 같은 위치에 "context-idgen.xml"이 있는지 확인해 보시고..
해당 파일에 다음가 같은 정의가 포함되어 있는지 확인해 보시면 될 것 같습니다.
<!-- 배치작업 ID -->
<bean name="egovBatchOpertIdGnrService"
class="egovframework.rte.fdl.idgnr.impl.EgovTableIdGnrService"
destroy-method="destroy">
<property name="dataSource" ref="dataSource" />
<property name="strategy" ref="batchOpertIdStrategy" />
<property name="blockSize" value="1"/>
<property name="table" value="COMTECOPSEQ"/>
<property name="tableName" value="BATCH_OPERT_ID"/>
</bean>
<bean name="batchOpertIdStrategy"
class="egovframework.rte.fdl.idgnr.impl.strategy.EgovIdGnrStrategyImpl">
<property name="prefix" value="BAT" />
<property name="cipers" value="17" />
<property name="fillChar" value="0" />
</bean>
<!-- 배치작업 ID -->
<!-- 배치스케줄 ID -->
<bean name="egovBatchSchdulIdGnrService"
class="egovframework.rte.fdl.idgnr.impl.EgovTableIdGnrService"
destroy-method="destroy">
<property name="dataSource" ref="dataSource" />
<property name="strategy" ref="batchSchdulIdStrategy" />
<property name="blockSize" value="1"/>
<property name="table" value="COMTECOPSEQ"/>
<property name="tableName" value="BATCH_SCHDUL_ID"/>
</bean>
<bean name="batchSchdulIdStrategy"
class="egovframework.rte.fdl.idgnr.impl.strategy.EgovIdGnrStrategyImpl">
<property name="prefix" value="BSC" />
<property name="cipers" value="17" />
<property name="fillChar" value="0" />
</bean>
<!-- 배치스케줄 ID -->
<!-- 배치결과 ID -->
<bean name="egovBatchResultIdGnrService"
class="egovframework.rte.fdl.idgnr.impl.EgovTableIdGnrService"
destroy-method="destroy">
<property name="dataSource" ref="dataSource" />
<property name="strategy" ref="batchResultIdStrategy" />
<property name="blockSize" value="1"/>
<property name="table" value="COMTECOPSEQ"/>
<property name="tableName" value="BATCH_RESULT_ID"/>
</bean>
<bean name="batchResultIdStrategy"
class="egovframework.rte.fdl.idgnr.impl.strategy.EgovIdGnrStrategyImpl">
<property name="prefix" value="BRT" />
<property name="cipers" value="17" />
<property name="fillChar" value="0" />
</bean>
<!-- 배치결과 ID -->
그럼.. 즐거운 하루되십시오.
감사합니다.
해당 서비스들은 배치 작업 중 ID를 생성하기 위한 ID Generation 서비스입니다.
context-schedul.xml과 같은 위치에 "context-idgen.xml"이 있는지 확인해 보시고..
해당 파일에 다음가 같은 정의가 포함되어 있는지 확인해 보시면 될 것 같습니다.
<!-- 배치작업 ID -->
<bean name="egovBatchOpertIdGnrService"
class="egovframework.rte.fdl.idgnr.impl.EgovTableIdGnrService"
destroy-method="destroy">
<property name="dataSource" ref="dataSource" />
<property name="strategy" ref="batchOpertIdStrategy" />
<property name="blockSize" value="1"/>
<property name="table" value="COMTECOPSEQ"/>
<property name="tableName" value="BATCH_OPERT_ID"/>
</bean>
<bean name="batchOpertIdStrategy"
class="egovframework.rte.fdl.idgnr.impl.strategy.EgovIdGnrStrategyImpl">
<property name="prefix" value="BAT" />
<property name="cipers" value="17" />
<property name="fillChar" value="0" />
</bean>
<!-- 배치작업 ID -->
<!-- 배치스케줄 ID -->
<bean name="egovBatchSchdulIdGnrService"
class="egovframework.rte.fdl.idgnr.impl.EgovTableIdGnrService"
destroy-method="destroy">
<property name="dataSource" ref="dataSource" />
<property name="strategy" ref="batchSchdulIdStrategy" />
<property name="blockSize" value="1"/>
<property name="table" value="COMTECOPSEQ"/>
<property name="tableName" value="BATCH_SCHDUL_ID"/>
</bean>
<bean name="batchSchdulIdStrategy"
class="egovframework.rte.fdl.idgnr.impl.strategy.EgovIdGnrStrategyImpl">
<property name="prefix" value="BSC" />
<property name="cipers" value="17" />
<property name="fillChar" value="0" />
</bean>
<!-- 배치스케줄 ID -->
<!-- 배치결과 ID -->
<bean name="egovBatchResultIdGnrService"
class="egovframework.rte.fdl.idgnr.impl.EgovTableIdGnrService"
destroy-method="destroy">
<property name="dataSource" ref="dataSource" />
<property name="strategy" ref="batchResultIdStrategy" />
<property name="blockSize" value="1"/>
<property name="table" value="COMTECOPSEQ"/>
<property name="tableName" value="BATCH_RESULT_ID"/>
</bean>
<bean name="batchResultIdStrategy"
class="egovframework.rte.fdl.idgnr.impl.strategy.EgovIdGnrStrategyImpl">
<property name="prefix" value="BRT" />
<property name="cipers" value="17" />
<property name="fillChar" value="0" />
</bean>
<!-- 배치결과 ID -->
그럼.. 즐거운 하루되십시오.
감사합니다.