• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Ron McLeod
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

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

 
Ranch Hand
Posts: 392
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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....
 
Ranch Hand
Posts: 3389
Mac MySQL Database Tomcat Server
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 225
Eclipse IDE Debian Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
Greenhorn
Posts: 12
Spring Tomcat Server Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
[email protected]
 
reply
    Bookmark Topic Watch Topic
  • New Topic