IBM BPM, V8.0.1, All platforms > Troubleshooting and support > Troubleshooting administration tasks and tools > Troubleshooting BPEL processes and human tasks > Troubleshooting the execution of BPEL processes
ClassCastException when stopping an application containing a microflow
The SystemOut.log file contains ClassCastException exceptions around the time when an application containing a microflow had been stopped.
Reason
When an application is stopped, the classes contained in the EAR file are removed from the class path. However, microflow instances that need these classes may still be executing.
Resolution
Perform the following actions:
- Stop the microflow process template first. From now on, it is not possible to start new microflow instances from that template.
- Wait for at least the maximum duration of the microflow execution so that any running instances can complete.
- Stop the application.