Getting "java.security.PrivilegedActionException on JaxRpc" Within a Compensation Activity Handler (Doc ID 550669.1)

Last updated on OCTOBER 18, 2016

Applies to:

Oracle(R) BPEL Process Manager - Version 10.1.3.3 and later
Information in this document applies to any platform.
***Checked for relevance on 03-Mar-2010***
***Checked for relevance on 17-Aug-2011***


Symptoms

You deploy and invoke a bpel process via the BPEL Console . It errors out in the compensation activity with a message :

</remoteFault>
</fault>
</messages>
[2008/01/08 11:33:20] "{http://schemas.oracle.com/bpel/extension}remoteFault"
has been thrown.less
-&lt;remoteFault xmlns="http://schemas.oracle.com/bpel/extension">
-<part name="summary">
<summary>
exception on JaxRpc invoke: HTTP transport error:
javax.xml.soap.SOAPException: java.security.PrivilegedActionException:
oracle.j2ee.ws.saaj.ContentTypeException: Not a valid SOAP Content-Type:
text/html; charset=iso-8859-1
</summary>
</part>
</remoteFault>

You can also see a message that " BPEL compensate activity is executed " - but, actually no activity inside compensation handler gets executed . So you will not be able to undo the effect caused by that particular scope on which compensate activity was called. 

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