spring batch 报错,求大神赐教,急急急急。。。。。。

问题描述

spring batch 报错,求大神赐教,急急急急。。。。。。

2014-2-22 13:13:42 org.springframework.context.support.AbstractApplicationContext prepareRefresh
信息: Refreshing org.springframework.context.support.ClassPathXmlApplicationContext@13d93f4: display name [org.springframework.context.support.ClassPathXmlApplicationContext@13d93f4]; startup date [Sat Feb 22 13:13:42 CST 2014]; root of context hierarchy
2014-2-22 13:13:42 org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
信息: Loading XML bean definitions from class path resource [billing_job.xml]
2014-2-22 13:13:43 org.springframework.beans.factory.support.DefaultListableBeanFactory registerBeanDefinition
信息: Overriding bean definition for bean 'billingJob': replacing [Generic bean: class [org.springframework.batch.core.configuration.xml.SimpleFlowFactoryBean]; scope=singleton; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null] with [Generic bean: class [org.springframework.batch.core.configuration.xml.JobParserJobFactoryBean]; scope=singleton; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null]
2014-2-22 13:13:43 org.springframework.context.support.AbstractApplicationContext obtainFreshBeanFactory
信息: Bean factory for application context [org.springframework.context.support.ClassPathXmlApplicationContext@13d93f4]: org.springframework.beans.factory.support.DefaultListableBeanFactory@e70e30
2014-2-22 13:13:43 org.springframework.beans.factory.support.DefaultListableBeanFactory preInstantiateSingletons
信息: Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@e70e30: defining beans [org.springframework.batch.core.scope.internalStepScope,org.springframework.beans.factory.config.CustomEditorConfigurer,org.springframework.batch.core.configuration.xml.CoreNamespacePostProcessor,billingStep,payStep,messageStep,billingJob,payStepCheckingListener,dataSource,transactionManager,jobRepository,billingProcessor,payProcessor,messageProcessor,userDbReader,userDbMapper,userQueryProvider,billDbReader,billDbMapper,billQueryProvider,billArrearsDbReader,billArrearsQueryProvider,messageDbWriter,billDbWriter,payDbWriter,payBillsDbUpdateWriter,payUsersDbUpdateWriter,payRecordDbWriter,itemSqlParameterSourceProvider]; root of factory hierarchy
2014-2-22 13:13:43 org.springframework.jdbc.datasource.DriverManagerDataSource setDriverClassName
信息: Loaded JDBC driver: oracle.jdbc.driver.OracleDriver
2014-2-22 13:13:43 org.springframework.batch.core.repository.support.JobRepositoryFactoryBean afterPropertiesSet
信息: No database type set, using meta data indicating: ORACLE
org.springframework.batch.core.repository.JobExecutionAlreadyRunningException: A job execution for this job is already running: JobInstance: id=24, version=0, JobParameters=[{run.month=2011-2}], Job=[billingJob]
at org.springframework.batch.core.repository.support.SimpleJobRepository.createJobExecution(SimpleJobRepository.java:116)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at org.springframework.batch.core.repository.support.AbstractJobRepositoryFactoryBean$1.invoke(AbstractJobRepositoryFactoryBean.java:168)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at $Proxy0.createJobExecution(Unknown Source)
at org.springframework.batch.core.launch.support.SimpleJobLauncher.run(SimpleJobLauncher.java:111)
at org.springframework.batch.sample.Main2.main(Main2.java:37)

解决方案

已经解决。。。。。。。

时间: 2024-10-31 05:43:14

spring batch 报错,求大神赐教,急急急急。。。。。。的相关文章

apache+tomcat 启动tomcat 报错 求大神赐教

问题描述 apache+tomcat 启动tomcat 报错 求大神赐教 解决方案 看看org.apache.catalina.filters.CsrfPreventionFilter.jar有没有正确部署. 解决方案二: CsrfPreventionFilter.jar 这个包没有安装吧

用的spring mvc 添加了分页 功能后一直报错 求大神解决

问题描述 用的spring mvc 添加了分页 功能后一直报错 求大神解决 org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerExceptionResolver]Resolving exception from handler [com.app.controller.ManageController@185c0de]: java.lang.NumberFormatException: For input s

myeclipse-新建maven项目报错,求大神帮帮我

问题描述 新建maven项目报错,求大神帮帮我 我用的是myeclipse2015 ,apache-maven-3.3.9,每当新建maven项目时报 错, An internal error occurred during: "Retrieving archetypes:". GC overhead limit exceeded, 一直报这个错误,无法创建,怎么才能解决,百度上的试了都不行,来个大神帮帮我 解决方案 把Eclipse的堆内存调大一点:http://jingyan.ba

Genymoation安装之后打开虚拟机报错求大神指点

问题描述 Genymoation安装之后打开虚拟机报错求大神指点 错误是这样的 求大神指点,谢谢 解决方案 多启动几次,如果还不行,就启动virtualbox,在里面看看对应的虚拟机是否正常可以启动,或者先关掉它

大数据-orcale大量数据分组查询报错求大神指点

问题描述 orcale大量数据分组查询报错求大神指点 对一个表数据进行分组查询,但是数据量太大了,当时是3000w条,跑着就报错了,数据库内部错误,也不是很懂.想请教下group by的时候是否数据量太多会报错,如果是它可以承受多大的数据量分组查询. 解决方案 肯定会报错,数据量大就会请求超时 解决方案二: 建议使用索引,给需要分组的字段加索引 解决方案三: 你可以试试根据你当前数据库的配置情况,进行分组查询的时候,使用多线程的方式进行查询 例如: select /*+ parallel(t,1

树形 递归-java 递归报错 求大神帮忙

问题描述 java 递归报错 求大神帮忙 private List<Post> getPostLower(List<Post> PostTops){ List<Post> postAll=new ArrayList<Post>(); // 上级 for(Post post:PostTops){ //查询到下级 List<Post> posts=basService.queryPostByParentId(post.getPostId()); //

mac 下编译 ffmpeg的 libaacplus-2.0.2 总是报错求大神解决办法,谁能教我再mac下编译ffmpeg也行

问题描述 mac 下编译 ffmpeg的 libaacplus-2.0.2 总是报错求大神解决办法,谁能教我再mac下编译ffmpeg也行 make[2]: Nothing to be done for `all'. Making all in frontend gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../src -g -O2 -c -o main.o main.c main.c:89:46: warning: data argument not

cocos2d x-在Xcode中安装cocos2d-x老报错求大神指教

问题描述 在Xcode中安装cocos2d-x老报错求大神指教 taorenwangtekiMacBook-Pro:~ taorenwang$ cd /Users/taorenwang/Desktop taorenwangtekiMacBook-Pro:Desktop taorenwang$ cd cocos2d-2.1rc0-x-2.1.3/ taorenwangtekiMacBook-Pro:cocos2d-2.1rc0-x-2.1.3 taorenwang$ ./install-templ

虚拟机下构架hadoop测试跑wordcount报错,求大神帮帮忙.

问题描述 虚拟机下构架hadoop测试跑wordcount报错,求大神帮帮忙. 用虚拟机虚拟一台namenode,三台datanode,配置完成可以运行起来,也可以在网页中查看状态,但是跑wordcount时出现了task id:attempt_1441184180788_0001 status:failed的错误,也没有抛出,实在没有办法,具体问题截屏如下,望大神们给予帮助 解决方案 http://www.cnblogs.com/madyina/p/3708153.html 解决方案二: 几台