My Oracle Support Banner

Unable To Deploy WebCenter Framework Applications with Customizations after patchset has Been Applied (Doc ID 1904391.1)

Last updated on FEBRUARY 04, 2019

Applies to:

Oracle WebCenter Portal - Version and later
Information in this document applies to any platform.


Oracle WebCenter Framework application uses Customization layers.

Using WebCenter Portal the customization classes (UserCC, SiteCC, ...) were included in the war file.
After patching the WebCenter to version, this configuration is not possible anymore.

This is explained in the following documentation:

Oracle® Fusion Middleware Fusion Developer's Guide for Oracle Application Development Framework
11g Release 1 (11.1.1)

Part Number B31974-03
35.3 Creating a Deployment Profile

The section 35.3.2 states:

If you have customization classes in your application, they need to be configured to be loaded from the EAR-level application classloader and not from the WAR. You will later add these customization classes to the EAR. To make sure the customization classes are not duplicated in the WAR, be sure to select File Groups > WEB-INF/classes > Filters and deselect any customization classes for the WAR. If you are using a file, it should also be deselected.


If your application has customization classes, these classes need to be configured so they load from the EAR-level application classloader. In Application Assembly, select the JAR that contains the customization classes and set Path in EAR to lib. You should have created this JAR as described in Section 35.3.1, "How to Add Customization Classes into a JAR." The JAR files containing the customization classes is added to the EAR file's lib directory.

The customization classes have been packaged to a JAR file and this JAR has been added to the EAR deployment profile in the lib directory.

The EAR has the following structure:

- adf
  |_ ...
- lib
  |__ CustomizationClassArchive,jar - JAR with Customization layers
  |__ ...
  |_ ...
- AutoGeneratedMar.mar
- portal.war

The following problem appears now: from classes inside jar we can't use classes from EAR's classpath (we have NoClassDefFoundException error for class
From classes inside "portal.war" we can use classes from EAR's classpath.

How do we fix this problem?


The WebCenter Portal Environment has been upgraded to and JDeveloper to with the WebCenter Portal Extensions.


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
 Solution 1
 Solution 2

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