Yossi Shmulevitch created TOMEE-2016:
----------------------------------------
Summary: 7.0.2 (plus) Batch cannot run
Key: TOMEE-2016
URL: https://issues.apache.org/jira/browse/TOMEE-2016
Project: TomEE
Issue Type: Bug
Components: TomEE Core Server
Affects Versions: 7.0.2
Environment: All environments
Reporter: Yossi Shmulevitch
When running a batch process using batchee-jbatch-0.4-incubating.jar
(integrated in 7.0.2 plus):
I get this persistent exception:
____ _ _ ______ ______
| _ \ | | | | | ____| ____|
| |_) | __ _| |_ ___| |__ | |__ | |__
| _ < / _` | __/ __| '_ \| __| | __|
| |_) | (_| | || (__| | | | |____| |____
|____/ \__,_|\__\___|_| |_|______|______|0.4-incubating
12-Feb-2017 21:38:16.245 SEVERE [batchee-thread-1]
org.apache.batchee.container.impl.controller.JobThreadRootController.originateExecutionOnThread
Service class org.apache.batchee
.container.services.transaction.DefaultBatchTransactionService cannnot be loaded
org.apache.batchee.container.exception.BatchContainerRuntimeException: Service
class
org.apache.batchee.container.services.transaction.DefaultBatchTransactionService
cannnot be l
oaded
at
org.apache.batchee.container.services.ServicesManager.load(ServicesManager.java:231)
at
org.apache.batchee.container.services.ServicesManager.loadService(ServicesManager.java:186)
at
org.apache.batchee.container.services.ServicesManager.service(ServicesManager.java:163)
at
org.apache.batchee.container.impl.controller.BaseStepController.<init>(BaseStepController.java:99)
at
org.apache.batchee.container.impl.controller.BaseStepController.<init>(BaseStepController.java:110)
at
org.apache.batchee.container.impl.controller.SingleThreadedStepController.<init>(SingleThreadedStepController.java:57)
at
org.apache.batchee.container.impl.controller.batchlet.BatchletStepController.<init>(BatchletStepController.java:45)
at
org.apache.batchee.container.impl.controller.ExecutionElementControllerFactory.getStepController(ExecutionElementControllerFactory.java:60)
at
org.apache.batchee.container.impl.controller.ExecutionTransitioner.getNextElementController(ExecutionTransitioner.java:190)
at
org.apache.batchee.container.impl.controller.ExecutionTransitioner.doExecutionLoop(ExecutionTransitioner.java:100)
at
org.apache.batchee.container.impl.controller.JobThreadRootController.originateExecutionOnThread(JobThreadRootController.java:110)
at
org.apache.batchee.container.util.BatchWorkUnit.run(BatchWorkUnit.java:62)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at
org.apache.batchee.container.util.ClassLoaderAwareHandler.invoke(ClassLoaderAwareHandler.java:39)
at com.sun.proxy.$Proxy131.run(Unknown Source)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.NoSuchMethodException:
org.apache.batchee.container.services.transaction.DefaultBatchTransactionService.<init>(org.apache.batchee.container.services.ServicesM
anager)
at java.lang.Class.getConstructor0(Class.java:3074)
at java.lang.Class.getConstructor(Class.java:1817)
at
org.apache.batchee.container.services.ServicesManager.load(ServicesManager.java:216)
... 20 more
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)