Topic
  • No replies
Shailesh Malkar
Shailesh Malkar
58 Posts

Pinned topic All activities are failing with ClassCastException

‏2014-06-04T12:10:08Z |

Hi All,

We are facing some very strange problem. Whenever we are trying to run any activity like Request Account, Run LCR etc., they are getting terminated with ClassCastException. Because of this we are not able to do anything on our system. Please find the complete stack trace given below.

[6/4/14 11:29:43:140 IST] 0000003a LocalExceptio E   CNTR0020E: EJB threw an unexpected (non-declared) exception during invocation of method "handleNextPartition" on bean "BeanId(ITIM#wf_ejb.jar#wf_ejb.enroleejb.PartitionManagerHome, null)". Exception data: java.lang.ClassCastException: com.ibm.itim.dataservices.model.CompoundDN incompatible with com.ibm.itim.script.ScriptExtension
    at com.ibm.itim.script.bsf.ITIMBSFScriptEvaluator.createExtensionInstance(ITIMBSFScriptEvaluator.java:602)
        at com.ibm.itim.script.bsf.ITIMBSFScriptEvaluator.getExtensions(ITIMBSFScriptEvaluator.java:584)
        at com.ibm.itim.script.bsf.ITIMBSFScriptEvaluator.initialize(ITIMBSFScriptEvaluator.java:176)
        at com.ibm.itim.workflow.engine.ExecutionContext.evaluateScript(ExecutionContext.java:857)
        at com.ibm.itim.workflow.engine.ExecutionContext.evaluateScript(ExecutionContext.java:841)
        at com.ibm.itim.workflow.engine.WorkflowEngine.completeActivity(WorkflowEngine.java:1732)
        at com.ibm.itim.workflow.engine.WorkflowEngine.returnFromActivity(WorkflowEngine.java:1621)
        at com.ibm.itim.workflow.engine.WorkflowEngine.completePendingActivity(WorkflowEngine.java:358)
        at com.ibm.itim.workflow.engine.ExecutionContext.completePendingActivity(ExecutionContext.java:572)
        at com.ibm.itim.workflow.partition.WorkflowPartitionWrapper.partitioningCompleted(WorkflowPartitionWrapper.java:157)
        at com.ibm.itim.partition.PartitionManagerBean.sendEventNotification(PartitionManagerBean.java:542)
        at com.ibm.itim.partition.PartitionManagerBean.handleNextPartition(PartitionManagerBean.java:351)
        at com.ibm.itim.partition.EJSLocalStatelesswf_ejb_enroleejb_PartitionManage_f62a11cf.handleNextPartition(Unknown Source)
        at com.ibm.itim.partition.PartitionMessageReceiver.onMessage(PartitionMessageReceiver.java:62)
        at com.ibm.itim.messaging.mdb.MessageHandlerBean.handleMessage(MessageHandlerBean.java:134)
        at com.ibm.itim.messaging.mdb.EJSLocalStatelessenroleejb_ContainerManagedMessag_ae956b4e.handleMessage(Unknown Source)
        at com.ibm.itim.messaging.mdb.TransactedMessageListenerBean.handleMessage(TransactedMessageListenerBean.java:240)
        at com.ibm.itim.messaging.mdb.TransactedMessageListenerBean.onMessage(TransactedMessageListenerBean.java:165)
        at com.ibm.ejs.container.MessageEndpointHandler.invokeMdbMethod(MessageEndpointHandler.java:1093)
        at com.ibm.ejs.container.MessageEndpointHandler.invoke(MessageEndpointHandler.java:778)
        at com.sun.proxy.$Proxy34.onMessage(Unknown Source)
        at com.ibm.ws.sib.api.jmsra.impl.JmsJcaEndpointInvokerImpl.invokeEndpoint(JmsJcaEndpointInvokerImpl.java:233)
        at com.ibm.ws.sib.ra.inbound.impl.SibRaDispatcher.dispatch(SibRaDispatcher.java:900)
        at com.ibm.ws.sib.ra.inbound.impl.SibRaSingleProcessListener$SibRaWork.run(SibRaSingleProcessListener.java:552)
        at com.ibm.ejs.j2c.work.WorkProxy.run(WorkProxy.java:399)
        at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1656)

[6/4/14 11:29:44:294 IST] 0000003a LocalExceptio E   CNTR0020E: EJB threw an unexpected (non-declared) exception during invocation of method "handleMessage" on bean "BeanId(ITIM#mdb_ejb.jar#enroleejb.ContainerManagedMessageHandlerHome, null)". Exception data: javax.ejb.TransactionRolledbackLocalException:  ; nested exception is: java.lang.ClassCastException: com.ibm.itim.dataservices.model.CompoundDN incompatible with com.ibm.itim.script.ScriptExtension
java.lang.ClassCastException: com.ibm.itim.dataservices.model.CompoundDN incompatible with com.ibm.itim.script.ScriptExtension
        at com.ibm.itim.script.bsf.ITIMBSFScriptEvaluator.createExtensionInstance(ITIMBSFScriptEvaluator.java:602)
        at com.ibm.itim.script.bsf.ITIMBSFScriptEvaluator.getExtensions(ITIMBSFScriptEvaluator.java:584)
        at com.ibm.itim.script.bsf.ITIMBSFScriptEvaluator.initialize(ITIMBSFScriptEvaluator.java:176)
        at com.ibm.itim.workflow.engine.ExecutionContext.evaluateScript(ExecutionContext.java:857)
        at com.ibm.itim.workflow.engine.ExecutionContext.evaluateScript(ExecutionContext.java:841)
        at com.ibm.itim.workflow.engine.WorkflowEngine.completeActivity(WorkflowEngine.java:1732)
        at com.ibm.itim.workflow.engine.WorkflowEngine.returnFromActivity(WorkflowEngine.java:1621)
        at com.ibm.itim.workflow.engine.WorkflowEngine.completePendingActivity(WorkflowEngine.java:358)
        at com.ibm.itim.workflow.engine.ExecutionContext.completePendingActivity(ExecutionContext.java:572)
        at com.ibm.itim.workflow.partition.WorkflowPartitionWrapper.partitioningCompleted(WorkflowPartitionWrapper.java:157)
        at com.ibm.itim.partition.PartitionManagerBean.sendEventNotification(PartitionManagerBean.java:542)
        at com.ibm.itim.partition.PartitionManagerBean.handleNextPartition(PartitionManagerBean.java:351)
        at com.ibm.itim.partition.EJSLocalStatelesswf_ejb_enroleejb_PartitionManage_f62a11cf.handleNextPartition(Unknown Source)
        at com.ibm.itim.partition.PartitionMessageReceiver.onMessage(PartitionMessageReceiver.java:62)
        at com.ibm.itim.messaging.mdb.MessageHandlerBean.handleMessage(MessageHandlerBean.java:134)
        at com.ibm.itim.messaging.mdb.EJSLocalStatelessenroleejb_ContainerManagedMessag_ae956b4e.handleMessage(Unknown Source)
        at com.ibm.itim.messaging.mdb.TransactedMessageListenerBean.handleMessage(TransactedMessageListenerBean.java:240)
        at com.ibm.itim.messaging.mdb.TransactedMessageListenerBean.onMessage(TransactedMessageListenerBean.java:165)
        at com.ibm.ejs.container.MessageEndpointHandler.invokeMdbMethod(MessageEndpointHandler.java:1093)
        at com.ibm.ejs.container.MessageEndpointHandler.invoke(MessageEndpointHandler.java:778)
        at com.sun.proxy.$Proxy34.onMessage(Unknown Source)
        at com.ibm.ws.sib.api.jmsra.impl.JmsJcaEndpointInvokerImpl.invokeEndpoint(JmsJcaEndpointInvokerImpl.java:233)
        at com.ibm.ws.sib.ra.inbound.impl.SibRaDispatcher.dispatch(SibRaDispatcher.java:900)
        at com.ibm.ws.sib.ra.inbound.impl.SibRaSingleProcessListener$SibRaWork.run(SibRaSingleProcessListener.java:552)
        at com.ibm.ejs.j2c.work.WorkProxy.run(WorkProxy.java:399)
        at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1656)
javax.ejb.TransactionRolledbackLocalException:  ; nested exception is: java.lang.ClassCastException: com.ibm.itim.dataservices.model.CompoundDN incompatible with com.ibm.itim.script.ScriptExtension
        at com.ibm.itim.script.bsf.ITIMBSFScriptEvaluator.createExtensionInstance(ITIMBSFScriptEvaluator.java:602)
        at com.ibm.itim.script.bsf.ITIMBSFScriptEvaluator.getExtensions(ITIMBSFScriptEvaluator.java:584)
        at com.ibm.itim.script.bsf.ITIMBSFScriptEvaluator.initialize(ITIMBSFScriptEvaluator.java:176)
        at com.ibm.itim.workflow.engine.ExecutionContext.evaluateScript(ExecutionContext.java:857)
        at com.ibm.itim.workflow.engine.ExecutionContext.evaluateScript(ExecutionContext.java:841)
        at com.ibm.itim.workflow.engine.WorkflowEngine.completeActivity(WorkflowEngine.java:1732)
        at com.ibm.itim.workflow.engine.WorkflowEngine.returnFromActivity(WorkflowEngine.java:1621)
        at com.ibm.itim.workflow.engine.WorkflowEngine.completePendingActivity(WorkflowEngine.java:358)
        at com.ibm.itim.workflow.engine.ExecutionContext.completePendingActivity(ExecutionContext.java:572)
        at com.ibm.itim.workflow.partition.WorkflowPartitionWrapper.partitioningCompleted(WorkflowPartitionWrapper.java:157)
        at com.ibm.itim.partition.PartitionManagerBean.sendEventNotification(PartitionManagerBean.java:542)
        at com.ibm.itim.partition.PartitionManagerBean.handleNextPartition(PartitionManagerBean.java:351)
        at com.ibm.itim.partition.EJSLocalStatelesswf_ejb_enroleejb_PartitionManage_f62a11cf.handleNextPartition(Unknown Source)
        at com.ibm.itim.partition.PartitionMessageReceiver.onMessage(PartitionMessageReceiver.java:62)
        at com.ibm.itim.messaging.mdb.MessageHandlerBean.handleMessage(MessageHandlerBean.java:134)
        at com.ibm.itim.messaging.mdb.EJSLocalStatelessenroleejb_ContainerManagedMessag_ae956b4e.handleMessage(Unknown Source)
        at com.ibm.itim.messaging.mdb.TransactedMessageListenerBean.handleMessage(TransactedMessageListenerBean.java:240)
        at com.ibm.itim.messaging.mdb.TransactedMessageListenerBean.onMessage(TransactedMessageListenerBean.java:165)
        at com.ibm.ejs.container.MessageEndpointHandler.invokeMdbMethod(MessageEndpointHandler.java:1093)
        at com.ibm.ejs.container.MessageEndpointHandler.invoke(MessageEndpointHandler.java:778)
        at com.sun.proxy.$Proxy34.onMessage(Unknown Source)
        at com.ibm.ws.sib.api.jmsra.impl.JmsJcaEndpointInvokerImpl.invokeEndpoint(JmsJcaEndpointInvokerImpl.java:233)
        at com.ibm.ws.sib.ra.inbound.impl.SibRaDispatcher.dispatch(SibRaDispatcher.java:900)
        at com.ibm.ws.sib.ra.inbound.impl.SibRaSingleProcessListener$SibRaWork.run(SibRaSingleProcessListener.java:552)
        at com.ibm.ejs.j2c.work.WorkProxy.run(WorkProxy.java:399)
        at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1656)
Caused by: java.lang.ClassCastException: com.ibm.itim.dataservices.model.CompoundDN incompatible with com.ibm.itim.script.ScriptExtension
        ... 26 more

[6/4/14 11:40:39:276 IST] 00000005 TimeoutManage I   WTRN0006W: Transaction 0000014665770C6C000000050000006C183222AA521F89300FBE92BA96B6957BA2AB5FA90000014665770C6C000000050000006C183222AA521F89300FBE92BA96B6957BA2AB5FA900000001 has timed out after 600 seconds.
[6/4/14 11:40:39:304 IST] 00000005 TimeoutManage I   WTRN0124I: When the timeout occurred the thread with which the transaction is, or was most recently, associated was Thread[Thread-56,5,main]. The stack trace of this thread when the timeout occurred was: 
        java.net.SocketInputStream.socketRead0(Native Method)
        java.net.SocketInputStream.read(SocketInputStream.java:129)
        com.ibm.db2.jcc.t4.x.b(x.java:208)
        com.ibm.db2.jcc.t4.x.c(x.java:360)
        com.ibm.db2.jcc.t4.x.c(x.java:473)
        com.ibm.db2.jcc.t4.x.v(x.java:1241)
        com.ibm.db2.jcc.t4.ab.a(ab.java:69)
        com.ibm.db2.jcc.t4.p.a(p.java:57)
        com.ibm.db2.jcc.t4.rb.a(rb.java:225)
        com.ibm.db2.jcc.am.jo.a(jo.java:3383)
        com.ibm.db2.jcc.am.jo.d(jo.java:5491)
        com.ibm.db2.jcc.am.jo.a(jo.java:4929)
        com.ibm.db2.jcc.am.jo.c(jo.java:4595)
        com.ibm.db2.jcc.am.jo.executeBatch(jo.java:2891)
        com.ibm.ws.rsadapter.jdbc.WSJdbcPreparedStatement.pmiExecuteBatch(WSJdbcPreparedStatement.java:1012)
        com.ibm.ws.rsadapter.jdbc.WSJdbcStatement.executeBatch(WSJdbcStatement.java:822)
        com.ibm.itim.scheduling.ScheduleManager$SchedulerThread.checkMessage(ScheduleManager.java:461)
        com.ibm.itim.scheduling.ScheduleManager$SchedulerThread.run(ScheduleManager.java:382)