My Oracle Support Banner

Java Class Loading Error (Doc ID 1939855.1)

Last updated on OCTOBER 13, 2021

Applies to:

Oracle SOA Suite - Version and later
Information in this document applies to any platform.


A Java class was created for writing a string to a log file in case or error. This class is invoked by the Fault policies file from MDS in case of error.

The code works as follows

On remote fault, retry 3 times and then if still failing invoke the java class to write a string with some details of the instance failed in the log file.

The class was packaged in a Jar file and uploaded to /oracle/app/product/fmw_soa/ with an updated manifest via ant.

On executing the fault with another bpel process, the Faults and retries are correctly getting invoked but when it comes to invoking the class file the following error is encounted:

Fault Recovery] Invoke on custom java action class "xx.yy.zz.bpm.service.fault.MyErrorLogger" failed with error "ClassNotFoundException".

The log files show the following error

Partner Port type={}FaultBPELProcess


        Missing class: xx.yy.zz.bpm.service.fault.MyErrorLogger

      Dependent class: com.collaxa.cube.engine.fp.RecoveryActionJava
               Loader: weblogic.utils.classloaders.GenericClassLoader@12345678
          Code-Source: /oracle/app/product/fmw_soa/
        Configuration: /oracle/app/product/fmw_soa/

This load was initiated at my.composite.Project1.soa_.......:1.0 using the Class.forName() method.



Added "-verbose:class" to JAVA_OPTIONS in <mydomain>/bin/ See WebLogic Server (WLS) Support Pattern: Investigating Different Classloading Issues (Doc ID 1572862.1).


To view full details, sign in with your My Oracle Support account.

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

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.