Hi,
Our team is facing issues while submitting the batch job through jmc console.
The Application Server we are using is 8.5.5.3.
We have xJCL file provided by developers using which the job is submitted through jmc the console. The same job works in liberty profile but when its submitted in the base profile we below exceptions.
I am wondering why were are getting error : java.lang.NoClassDefFoundError: com/ibm/ws/batch/BatchJobControllerBean.
The required com.ibm.ws.batch.runtime.jar is present WAS_root/plugins folder.
Any inputs would be helpful.
[8/26/14 8:27:40:053 CEST] 0000464d RemoteExcepti E CNTR0020E: EJB threw an unexpected (non-declared) exception during invocation of method "submitJob" on bean "BeanId(GOPEAR#com-daimler-v1e-GOPBatchEJB-0.0.1-SNAPSHOT.jar#LoadRealOrdersBatchController, null)". Exception data: java.lang.NoClassDefFoundError: com/ibm/ws/batch/BatchJobControllerBean
at com.ibm.ws.batch.EJSRemoteStatelessLoadRealOrdersBatchController_1ef51032.submitJob(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:611)
at com.ibm.CORBA.iiop.ClientDelegate$1.run(ClientDelegate.java:1091)
at java.security.AccessController.doPrivileged(AccessController.java:327)
at com.ibm.CORBA.iiop.ClientDelegate.invoke0(ClientDelegate.java:1086)
at com.ibm.CORBA.iiop.ClientDelegate$ClientDelegate0.invoke(ClientDelegate.java:1399)
at com.sun.proxy.$Proxy96.submitJob(Unknown Source)
at com.ibm.ws.gridcontainer.impl.GenericDispatcher.submitJobWithBackwardsCompatiblity(GenericDispatcher.java:544)
at com.ibm.ws.gridcontainer.impl.GenericDispatcher.dispatch(GenericDispatcher.java:195)
at com.ibm.ws.gridcontainer.impl.PortableGridKernelImpl._dispatchGenericWork(PortableGridKernelImpl.java:348)
at com.ibm.ws.gridcontainer.impl.PortableGridKernelImpl._dispatchWork(PortableGridKernelImpl.java:312)
at com.ibm.ws.gridcontainer.impl.PortableGridKernelImpl.scheduleJob(PortableGridKernelImpl.java:83)
at com.ibm.ws.gridcontainer.services.impl.GridWork.run(PGCControllerImpl.java:657)
at com.ibm.ws.asynchbeans.J2EEContext$RunProxy.run(J2EEContext.java:270)
at java.security.AccessController.doPrivileged(AccessController.java:298)
at javax.security.auth.Subject.doAs(Subject.java:495)
at com.ibm.websphere.security.auth.WSSubject.doAs(WSSubject.java:132)
at com.ibm.websphere.security.auth.WSSubject.doAs(WSSubject.java:90)
at com.ibm.ws.asynchbeans.J2EEContext$DoAsProxy.run(J2EEContext.java:337)
at java.security.AccessController.doPrivileged(AccessController.java:327)
at com.ibm.ws.asynchbeans.J2EEContext.run(J2EEContext.java:805)
at com.ibm.ws.asynchbeans.WorkWithExecutionContextImpl.go(WorkWithExecutionContextImpl.java:222)
at com.ibm.ws.asynchbeans.ABWorkItemImpl.run(ABWorkItemImpl.java:206)
at java.lang.Thread.run(Thread.java:784)
[8/26/14 8:27:40:056 CEST] 0000464d impl E Could not update jobstatus to restartable for Job:LoadRealOrders:000016
[8/26/14 8:27:40:056 CEST] 0000464d impl E com.ibm.ws.gridcontainer.services.impl.GridWork run CWLRB1620E: [Long Running Job Container job setup failed] [jobid LoadRealOrders:000016]: java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
java.rmi.RemoteException: ; nested exception is:
java.lang.NoClassDefFoundError: com/ibm/ws/batch/BatchJobControllerBean
com.ibm.ws.gridcontainer.exceptions.GridContainerServiceException: CWLRB1620E: [Long Running Job Container job setup failed] [jobid LoadRealOrders:000016]: java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
java.rmi.RemoteException: ; nested exception is:
java.lang.NoClassDefFoundError: com/ibm/ws/batch/BatchJobControllerBean
at com.ibm.ws.gridcontainer.impl.GenericDispatcher._issueRuntimeException(GenericDispatcher.java:438)
at com.ibm.ws.gridcontainer.impl.GenericDispatcher.dispatch(GenericDispatcher.java:209)
at com.ibm.ws.gridcontainer.impl.PortableGridKernelImpl._dispatchGenericWork(PortableGridKernelImpl.java:348)
at com.ibm.ws.gridcontainer.impl.PortableGridKernelImpl._dispatchWork(PortableGridKernelImpl.java:312)
at com.ibm.ws.gridcontainer.impl.PortableGridKernelImpl.scheduleJob(PortableGridKernelImpl.java:83)
at com.ibm.ws.gridcontainer.services.impl.GridWork.run(PGCControllerImpl.java:657)
at com.ibm.ws.asynchbeans.J2EEContext$RunProxy.run(J2EEContext.java:270)
at java.security.AccessController.doPrivileged(AccessController.java:298)
at javax.security.auth.Subject.doAs(Subject.java:495)
at com.ibm.websphere.security.auth.WSSubject.doAs(WSSubject.java:132)
at com.ibm.websphere.security.auth.WSSubject.doAs(WSSubject.java:90)
at com.ibm.ws.asynchbeans.J2EEContext$DoAsProxy.run(J2EEContext.java:337)
at java.security.AccessController.doPrivileged(AccessController.java:327)
at com.ibm.ws.asynchbeans.J2EEContext.run(J2EEContext.java:805)
at com.ibm.ws.asynchbeans.WorkWithExecutionContextImpl.go(WorkWithExecutionContextImpl.java:222)
at com.ibm.ws.asynchbeans.ABWorkItemImpl.run(ABWorkItemImpl.java:206)
at java.lang.Thread.run(Thread.java:784)
Caused by: java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
java.rmi.RemoteException: ; nested exception is:
java.lang.NoClassDefFoundError: com/ibm/ws/batch/BatchJobControllerBean
at com.ibm.CORBA.iiop.UtilDelegateImpl.mapSystemException(UtilDelegateImpl.java:238)
at com.ibm.CORBA.iiop.UtilDelegateImpl.wrapException(UtilDelegateImpl.java:762)
at javax.rmi.CORBA.Util.wrapException(Util.java:290)
at com.ibm.ws.gridcontainer.impl.GenericDispatcher.submitJobWithBackwardsCompatiblity(GenericDispatcher.java:560)
at com.ibm.ws.gridcontainer.impl.GenericDispatcher.dispatch(GenericDispatcher.java:195)