'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 MARCH 08, 2017

Applies to:

Oracle Containers for J2EE - Version: 10.1.2.0.2 and later   [Release: AS10gR2 and later ]
Information in this document applies to any platform.
***Checked for relevance on 21-Oct-2011***

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 /home/oracle/port_09_021909.war -a myoc4japp -co myoc4j -rc /myoc4j


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: /home/oracle/port_09_021909.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)



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