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 NOVEMBER 07, 2023

Applies to:

Oracle WebLogic Portal - Version 10.3.5 to 10.3.7 [Release AS10gR3]
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 (<DIR>\workspace\.metadata\.plugins\org.eclipse.core.resources\.projects\testApp\test\<domain_name>\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 (<DIR>\workspace\.metadata\.plugins\org.eclipse.core.resources\.projects\testApp\test\<domain_name>\AppNameApp\AppName) does not exist.
at weblogic.servlet.internal.WebAppConfigManager.getDocrootFile(WebAppConfigManager.java:666)


Changes

 

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
Changes
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.