My Oracle Support Banner

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 JULY 23, 2018

Applies to:

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

Symptoms

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: java.io.IOException: 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(WebAppModule.java:397)
at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
Caused By: java.io.IOException: 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(WebAppConfigManager.java:666)


STEPS
--------
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


Cause

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
Symptoms
Cause
Solution
References


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