WebCenter Portal Application Deployment Fails With Errors Related to "class oracle.webcenter.framework.internal.service.DefaultServiceContext" (Doc ID 1554757.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle WebCenter Portal - Version 11.1.1.6.0 to 11.1.1.6.5 [Release 11g]
Information in this document applies to any platform.

Goal

A WebCenter Portal application was re-deployed.
The re-deployment failed with these errors:
[May 20, 2013 4:08:38 PM AST] java.lang.InstantiationError: ServiceContext resource configuration file "META-INF/context.provider" found, but the class defined "class oracle.webcenter.framework.internal.service.DefaultServiceContext" is not an instance of oracle.webcenter.framework.service.ServiceContext.
[May 20, 2013 4:08:38 PM AST] ServiceContext resource configuration file "META-INF/context.provider" found, but the class defined "class oracle.webcenter.framework.internal.service.DefaultServiceContext" is not an instance of oracle.webcenter.framework.service.ServiceContext.
[May 20, 2013 4:08:38 PM AST] Redeploy operation failed.

The managed server was restarted and the application now runs fine.

What is the cause of this error?
 

Solution

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