java.lang.ClassCastException in Glassfish ESB Cluster (Doc ID 1277110.1)

Last updated on OCTOBER 02, 2014

Applies to:

Oracle GlassFish Enterprise Service Bus - Version 2.2 and later
Information in this document applies to any platform.
***Checked for relevance on 12-Feb-2013***
***Checked for relevance on 02-October-2014***

Symptoms

The BP is deployed to a cluster with "persistenceOptOut" set to "Yes" in the BP. The BP is not invoking a sub BP.

When the BP invokes an external process via the HTTPBC, the following error is logged to the server.log:

[#|2010-11-05T08:42:07.046-0400|WARNING|sun-appserver2.1|com.sun.jbi.engine.bpel.BPELSEInOutThread|_ThreadID=81;_ThreadName=sun-bpel-engine-thread-1;_RequestID=efe23fc6-9045-4bfc-919a-5e14df861dc0;|BPJBI-6004: caught exception while processing message
java.lang.ClassCastException: com.sun.jbi.engine.bpel.core.bpel.engine.BusinessProcessInstanceThread cannot be cast to com.sun.jbi.engine.bpel.core.bpel.engine.impl.BPITForClusteredInvoke
at com.sun.jbi.engine.bpel.core.bpel.engine.impl.BPELProcessManagerImpl.getResponsesForClusteredSubBPInvokes(BPELProcessManagerImpl.java:1423)

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms