[英]WebSphere Liberty Profile: Batch container is not available
Trying to start a batch job from a servlet and receiving the following error: 尝试从Servlet启动批处理作业并收到以下错误:
javax.batch.operations.BatchRuntimeException: The batch container is not available. javax.batch.operations.BatchRuntimeException:批处理容器不可用。 at javax.batch.runtime.BatchRuntime.getJobOperator(BatchRuntime.java:63)
在javax.batch.runtime.BatchRuntime.getJobOperator(BatchRuntime.java:63)
Have the following features enabled: 启用以下功能:
<!-- Enable features -->
<featureManager onError="FAIL">
<feature>localConnector-1.0</feature>
<feature>managedBatch-1.0</feature>
<feature>ejbLite-3.2</feature>
<feature>collectiveController-1.0</feature>
<feature>javaBatch-1.0</feature>
<feature>jdbc-4.0</feature>
</featureManager>
Any ideas? 有任何想法吗? Thanks, Tim
谢谢,蒂姆
I was missing a properly configured batch persistence interface. 我缺少正确配置的批处理持久性接口。 Nothing in the start-up sequence complained so it was difficult to debug.
在启动过程中没有任何抱怨,因此很难调试。 The details are outlined in http://developer.ibm.com/answers/questions/29889/liberty-october-beta-batch-container-is-not-available/?community=wasdev
有关详细信息,请参见http://developer.ibm.com/answers/questions/29889/liberty-october-beta-batch-container-is-not-available/?community=wasdev
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.