Deployment- The module is declared either in the application.xml or in the weblogic-application.xml descriptor but cannot be found in the ear file.

(Doc ID 2280008.1)

Last updated on JUNE 29, 2017

Applies to:

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


Unable to deploy WebLogic Portal (WLP) ear file to a server and  the following error is thrown during deployment

<[ACTIVE] ExecuteThread: '15' for queue: 'weblogic.kernel.Default (self-tuning)'> <> <> <>
weblogic.application.ModuleException: Failed to load webapp: AppName because of DeploymentException: document root (C:\totalview\workspace\.metadata\.plugins\org.eclipse.core.resources\.projects\totalviewApp\beadep\base_domain\AppNameApp\AppName) does not exist.
at weblogic.servlet.internal.WebAppModule.prepare(
at weblogic.application.internal.flow.ScopedModuleDriver.prepare(
Caused By: document root (C:\totalview\workspace\.metadata\.plugins\org.eclipse.core.resources\.projects\totalviewApp\beadep\base_domain\AppNameApp\AppName) does not exist.
at weblogic.servlet.internal.WebAppConfigManager.getDocrootFile(

The issue can be reproduced at will with the following steps:
1. Build application via OEPE
2. Deploy the application via OEPE
3. Observe above error during local deploy


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