My Oracle Support Banner

'WAR is missing its standard xml descriptor located at WEB-INF/web.xml' When Deploying Application in Oracle Application Server 10.1.2.0.2 (Doc ID 786140.1)

Last updated on FEBRUARY 13, 2024

Applies to:

Oracle Containers for J2EE - Version 10.1.2.0.2 and later
Information in this document applies to any platform.

Symptoms


Trying to deploy a WAR file into Oracle Containers for J2ee 10.1.2.0.2 fails with the following exception:

$ ./dcmctl deployApplication -v -d -f SampleApp.war -a SampleApp -co <OC4JINSTANCE> -rc /sampleApp


ADMN-300158
Base Exception:
Jar file: /home/oracle/port_09_021909.war is missing its standard xml
descriptor located at WEB-INF/web.xml
Resolution:

oracle.ias.sysmgmt.deployment.j2ee.exception.J2eeDeploymentException: Base Exception:
Jar file: SampleApp.war is missing its standard xml descriptor located at WEB-INF/web.xml
Resolution:

at oracle.ias.sysmgmt.deployment.j2ee.file.WarFile.<init>(Unknown Source)
at oracle.ias.sysmgmt.deployment.j2ee.file.WarFile.<init>(Unknown Source)
at oracle.ias.sysmgmt.deployment.j2ee.util.WarToEar.<init>(Unknown Source)
at oracle.ias.sysmgmt.deployment.j2ee.console.WarDeployerImpl.<init> (Unknown Source)
at oracle.ias.sysmgmt.deployment.j2ee.console.J2eeDeploymentImpl.getWarDeployer(Unknown Source)
at oracle.ias.sysmgmt.deployment.j2ee.console.J2eeDeploymentImpl.getWarDeployer(Unknown Source)
at oracle.ias.sysmgmt.cmdline.DcmCmdLine.deployApp(Unknown Source)
at oracle.ias.sysmgmt.cmdline.DcmCmdLine.execute(Unknown Source)
at oracle.ias.sysmgmt.cmdline.DcmCmdLine.main(Unknown Source)

 

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

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