Failed to load webapp: '/wcsdocs' When Extending WebCenter Portal Libraries (Doc ID 1677801.1)

Last updated on DECEMBER 23, 2016

Applies to:

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

Symptoms

When extending the WebCenter Portal application (DesignWebCenterSpaces.jws) application in JDeveloper, following the note:

<Note 1557319.1> How To Change WebCenter Spaces (webcenter.ear) Application Configuration Files (connections.xml, adf-config.xml, web.xml, etc.)?
                                      3.3. Build and Deploy the Extended WebCenter Portal/Spaces Library on the WebCenter Portal/Spaces server(s)

Fails with this error:

for task '10'. Error is: 'weblogic.application.ModuleException: Failed to load webapp: '/wcsdocs''
weblogic.application.ModuleException: Failed to load webapp: '/wcsdocs'
at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:395)
at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:180)
at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:518)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
Truncated. see log file for complete stacktrace
Caused By: java.lang.ClassNotFoundException: oracle.webcenter.content.integration.spi.ucm.ContentTypeFetchAndCacheListener
at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:297)
at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:270)
at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:64)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
Truncated. see log file for complete stacktrace

Steps to Reproduce:

  1. Open the "Run Ant" menu.
  2. Select "clean-stage".
  3. Open "Run Ant" again.
  4. Select "deploy-shared-lib".
    Fails with this error above mentioned.

Also, having run these steps, accessing the WebCenter Portal URL in the browser fails with a HTTP-404 error.

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