• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Archive is not a valid WAR File because the deployment descriptor not found

 
Sandeep Vaid
Ranch Hand
Posts: 392
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using RAD 7 and WPS 6.0.
When i publish my application, it's giving me the error :

com.ibm.etools.j2ee.commonarchivecore.exception.OpenFailureException: IWAE0006E Archive is not a valid WAR File because the deployment descriptor can not be found (case sensitive): WEB-INF/web.xml

The entire stack trace is as follows :


Also @ location
C:\Sandeep Vaid\Workspaces\Amita_WAR_Problem\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\JVMKS5EAR.ear\WAB2.5Engine.war

There is no WEB-INF directory....
 
Raghavan Muthu
Ranch Hand
Posts: 3381
Mac MySQL Database Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Sandeep,

The error itself is pretty describing in nature. com.ibm.etools.j2ee.commonarchivecore.exception.DeploymentDescriptorLoadException: -> it is getting failed in loading the DD.

You forget about the temp folder where it gives since it is the lcoation WAS uses when it deploys the application. It must be like the web.xml file is absent in the WEB-INF folder of the war file.

Can you just check that?
 
Nilabhra Banerjee
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am facing the same problem. I have the WAR inside EAR and the Web xml is pretty much htere where it is supposed to be.
 
Carey Evans
Ranch Hand
Posts: 225
Debian Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Also check whether the XMI files in WEB-INF are correct, especially the references, since WAS uses them to augment the information in the web.xml file.

What�s the fixpack level of your WebSphere server?
 
Darshan Shroff
Greenhorn
Posts: 12
Java Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

Please have a look at the below link :-
http://www-01.ibm.com/support/docview.wss?uid=swg21255956

The suggested solution works like a charm.
One needs to just delete the unwanted entry from file org.eclipse.wst.common.component present at MyProject/.settings/

Regards,
Darshan Shroff
shroffdarshan@gmail.com
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic