배치 프로그램 실행 장애
- 작성자 :
- 채*용
- 작성일 :
- 2013-01-23 11:32:45
- 조회수 :
- 2,258
- 구분 :
- 개발환경
- 진행상태 :
- 완료
Q
아래와 같이 DBtoDb 프로젝트를 생성후 실행시장애가 발생 합니다
실행시 arg는 /egovframework/batch/context-commandline.xml jdbcToJdbcJob
----------------------------
11:19:23,971 INFO main SimpleJobLauncher:179 - No TaskExecutor has been set, defaulting to synchronous executor.
11:19:24,330 ERROR main CommandLineJobRunner:355 - Job Terminated in error: No job configuration with the name [jdbcToJdbcJob] was registered
org.springframework.batch.core.launch.NoSuchJobException: No job configuration with the name [jdbcToJdbcJob] was registered
at org.springframework.batch.core.configuration.support.MapJobRegistry.getJob(MapJobRegistry.java:78)
at org.springframework.batch.core.launch.support.CommandLineJobRunner.start(CommandLineJobRunner.java:336)
at org.springframework.batch.core.launch.support.CommandLineJobRunner.main(CommandLineJobRunner.java:574)
실행시 arg는 /egovframework/batch/context-commandline.xml jdbcToJdbcJob
----------------------------
11:19:23,971 INFO main SimpleJobLauncher:179 - No TaskExecutor has been set, defaulting to synchronous executor.
11:19:24,330 ERROR main CommandLineJobRunner:355 - Job Terminated in error: No job configuration with the name [jdbcToJdbcJob] was registered
org.springframework.batch.core.launch.NoSuchJobException: No job configuration with the name [jdbcToJdbcJob] was registered
at org.springframework.batch.core.configuration.support.MapJobRegistry.getJob(MapJobRegistry.java:78)
at org.springframework.batch.core.launch.support.CommandLineJobRunner.start(CommandLineJobRunner.java:336)
at org.springframework.batch.core.launch.support.CommandLineJobRunner.main(CommandLineJobRunner.java:574)
A
안녕하세요 프레임워크 센터입니다.
configuration with the name [jdbcToJdbcJob] was registered
해당 오류는 Job 설정 파일에 해당 이름이로 잡이 설정되지 않아서 입니다.
Job파일이름이 라니라
Job 설정파일에 등록된 Job ID를 확인하여 실행하시면 됩니다.
수고하세요
configuration with the name [jdbcToJdbcJob] was registered
해당 오류는 Job 설정 파일에 해당 이름이로 잡이 설정되지 않아서 입니다.
Job파일이름이 라니라
Job 설정파일에 등록된 Job ID를 확인하여 실행하시면 됩니다.
수고하세요